@credenza3/web-sdk-ext-metamask
v0.0.9
Published
## Installation
Downloads
26
Readme
CREDENZA WEB SDK MetamaskExtension
Installation
npm i @credenza3/web-sdk-ext-metamask
import { MetamaskExtension } from '@credenza3/web-sdk-ext-metamask'
Usage
Create the SDK instance
const sdk = new CredenzaSDK({
extensions: [
new EvmExtension({
chainConfig,
extensions: [new MetamaskExtension()],
})
],
})
Login with metamask
await sdk.evm.metamask.login()