@subwallet-connect/venly
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

@subwallet-connect/venly

Wallet module for connecting Venly SDK to web3-onboard

See Venly SDK Docs for complete documentation of Venly usage

Install

npm install @subwallet-connect/venly

Options

type VenlyOptions = {
  clientId: string
  environment?: string
}

clientId - The Client ID used to connect with Venly. More information can be found here. environment - The environment to which you want to connect, possible values are 'staging' and 'production'. Defaults to 'production'.

NOTE: Production environment handles main networks while Staging handles test networks. List of supported networks can be found here.

Usage

import Onboard from '@subwallet-connect/core'
import venlyModule from '@subwallet-connect/venly'

// initialize the module with options
const venly = venlyModule({
  clientId: 'YOUR_CLIENT_ID'
})

const onboard = Onboard({
  // ... other Onboard options
  wallets: [
    venly
    //... other wallets
  ]
})

const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)

Package Sidebar

Install

npm i @subwallet-connect/venly

Weekly Downloads

99

Version

1.0.6

License

MIT

Unpacked Size

7.32 kB

Total Files

6

Last publish

Collaborators

  • anhmtv