βοΈConfiguration
How to set up the WalletManager: specifying wallets, network options, and Algod client configuration
WalletManager
import { NetworkId, WalletId, WalletManager } from '@txnlab/use-wallet'
const walletManager = new WalletManager({
wallets: [
WalletId.DEFLY,
WalletId.PERA,
WalletId.EXODUS,
WalletId.KIBISIS,
{
id: WalletId.WALLETCONNECT,
options: { projectId: '<YOUR_PROJECT_ID>' }
},
{
id: WalletId.MAGIC,
options: { apiKey: '<YOUR_API_KEY>' }
},
{
id: WalletId.LUTE,
options: { siteName: '<YOUR_SITE_NAME>' }
}
],
network: NetworkId.TESTNET
})wallets
network
algod
Last updated