@web3-onboard/enkrypt
Version:
Enkrypt SDK wallet module for connecting to Web3-Onboard. 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
32 lines (22 loc) • 579 B
Markdown
**NPM**
`npm i @web3-onboard/core @web3-onboard/enkrypt`
**Yarn**
`yarn add @web3-onboard/core @web3-onboard/enkrypt`
```typescript
import Onboard from '@web3-onboard/core'
import enrkypt from '@web3-onboard/enkrypt'
const enrkyptModule = enrkypt()
const onboard = Onboard({
// ... other Onboard options
wallets: [
enrkyptModule
//... other wallets
]
})
const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)
```