saepenatus
Version:
Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, mul
32 lines (22 loc) • 595 B
Markdown
add @web3-onboard/core @web3-onboard/mew-wallet`
```typescript
import Onboard from '@web3-onboard/core'
import mewWallet from '@web3-onboard/mew-wallet'
const mewWalletModule = mewWallet()
const onboard = Onboard({
// ... other Onboard options
wallets: [
mewWalletModule
//... other wallets
]
})
const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)
```
**NPM**
`npm i @web3-onboard/core @web3-onboard/mew-wallet`
**Yarn**
`yarn