Package Exports
- @web3modal/ethereum
- @web3modal/ethereum/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@web3modal/ethereum) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@web3modal/ethereum
Getting Started
If you have ever used or read documentation of @wagmi/core, you should feel very comfortable with @web3modal/ethereum
package.
This package should be used in tandem with @web3modal/react
, other framework packages or in vanilla js projects.
Configuration
Option | Description | Required | Default |
---|---|---|---|
appName | String containing your app name | YES | |
autoConnect | Boolean indicating whether user should be re-connected when they re-visit your app | NO | true |
chains | Array of chains supported from your app | NO | mainnet |
providers | Array of providers supported from your app | NO | publicProvider |
Imports
import { chains, providers } from '@web3modal/ethereum'