createAppKit
function:
@reown/appkit/networks
library. This library retrieves the list of EVM networks from Viem and also includes the Solana networks.
name
, description
, icons
, and url
are used at certain places like the wallet connection, sign message, etc screens. If not provided, they will be fetched from the metadata of your website’s document object.
The icon can be an encoded image
eip155
for EVM chains, solana
for Solana, bip122
for Bitcoin, and polkadot
for Polkadot.
All Wallets
view.
You can find the wallets IDs in Wallets List or in WalletGuide
'io.metamask'
, 'io.coinbase'
, 'app.phantom'
walletConnect
, injected
, appKitAuth
true
.
true
.
true
.
true
.
false
.
Haven't got a wallet? Get started
, is useful for people that don’t have a wallet yet. Default is true
.
['wallet', 'email', 'social']
.
customWallets
is an array of objects, where each object contains specific information of a custom wallet.
allWallets
parameter allows you to add or remove the “All Wallets” button on the modal.
Value | Description |
---|---|
SHOW | Shows the “All Wallets” button on AppKit. |
HIDE | Removes the “All Wallets” button from AppKit. |
ONLY_MOBILE | Shows the “All Wallets” button on AppKit only on mobile. |
featuredWalletIds
, these wallets will be the only ones shown in All Wallets
view and as recommended wallets.
You can find the wallets IDs in our Wallets List.
preference
(or coinbasePreference
) flag accepts one of the following string values:
eoaOnly
: Uses EOA Browser Extension or Mobile Coinbase Wallet.smartWalletOnly
: Displays Smart Wallet popup.all
(default): Supports both eoaOnly
and smartWalletOnly
based on context.customRpcUrls
configuration to both the WagmiAdapter
and createAppKit
.
transports
separately. The WagmiAdapter will automatically configure them based on your customRpcUrls
.However, if you use both customRpcUrls
and Wagmi’s transports
property, be aware that transports
will take precedence and override any conflicting RPC URLs defined in customRpcUrls
.methods
: Custom RPC methods for each namespacechains
: Supported chains for each namespaceevents
: Events to subscribe to for each namespacerpcMap
: Custom RPC URLs for specific chainsdefaultChain
: The default chain to connect tonetworks
attribute.