@credenza3/web-sdk-ext-walletconnect
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

CREDENZA WEB SDK WalletConnectExtension

Installation

npm i @credenza3/web-sdk-ext-walletconnect

import { WalletConnectExtension } from '@credenza3/web-sdk-ext-walletconnect'

Usage

Create the SDK instance

const sdk = new CredenzaSDK({
  extensions: [
    new EvmExtension({
      chainConfig,
      extensions: [
        new WalletConnectExtension({
          projectId: string,
          metadata: {
            name: string,
            description: string,
            url: string,
            icons: string[],
          },
        }),
      ],
    })
  ],
})

Login with WalletConnect

await sdk.evm.walletconnect.login()

/@credenza3/web-sdk-ext-walletconnect/

    Package Sidebar

    Install

    npm i @credenza3/web-sdk-ext-walletconnect

    Weekly Downloads

    1

    Version

    0.0.8

    License

    MIT

    Unpacked Size

    4.09 MB

    Total Files

    8

    Last publish

    Collaborators

    • mike.avvad
    • credenza
    • fokindmitr