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
33 lines (22 loc) • 627 B
Markdown
from '@web3-onboard/core'
import mewModule from '@web3-onboard/mew'
const mew = mewModule()
const onboard = Onboard({
// ... other Onboard options
wallets: [
mew
//... other wallets
]
})
const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)
```
_NOTE: Currently not building on M1 Macs_
_Use [@web3-onboard/mew-wallet](../mew-wallet/README.md)_
`npm i @web3-onboard/mew`
```typescript
import Onboard