aToken Wallet
This release adds aToken wallet. To add it to your project add the following wallet init object for aToken to your wallets array when initializing Onboard:
{ walletName: 'atoken' }
Also in this release a new initialization parameter has been added that allows control over the block polling interval for all providers that use a passed in rpcUrl
endpoint (WalletConnect, Ledger, Trezor, imToken, Trust, Huobi, Lattice, wallet.io). The default value is 4 seconds (4000
). To modify this value pass in a blockPollingInterval
parameter to your Onboard initialization:
const onboard = Onboard({
// ... other initialization options
blockPollingInterval: 20000 // [number][optional]
})
Changelog: