This release includes the latest wallet support from Blocknative with @web3-onboard/magic
package!
Checkout our official documentation here: https://docs.blocknative.com/onboard/magic-wallet
Then head over to https://magic.link/ and signup to get an API key for your DApp
import Onboard from '@web3-onboard/core'
import magicModule from '@web3-onboard/magic'
const magic = magicModule({ apiKey: 'API_KEY' })
const onboard = Onboard({
// ... other Onboard options
wallets: [
magic
//... other wallets
]
})
const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)
It's that simple!
web3-onboard/magic-v2.0.0 - https://github.com/blocknative/web3-onboard/releases/tag/web3-onboard%2Fmagic-v2.0.0
web3-onboard/common-2.0.3 - https://github.com/blocknative/web3-onboard/releases/tag/web3-onboard%2Fcommon-v2.0.3
web3-onboard/core-2.0.11 - https://github.com/blocknative/web3-onboard/releases/tag/web3-onboard%2Fcore-v2.0.11
web3-onboard/react-2.0.4 - https://github.com/blocknative/web3-onboard/releases/tag/web3-onboard%2Freact-v2.0.4
web3-onboard/fortmatic-2.0.2 - https://github.com/blocknative/web3-onboard/releases/tag/web3-onboard%2Ffortmatic-v2.0.2