@beincom/aa-sdk
v0.0.22-dev
Published
<p align="center"> <br /> <a href="https://beincom.org/"> <img src="../../docs/assets/logo.webp" width="100" alt=""/></a> <br /> </p>
Downloads
1,189
Maintainers
Keywords
Readme
Installation
Install the latest version of the SDK with npm
:
npm install @beincom/wallet-sdk
or with yarn
:
yarn add @beincom/wallet-sdk
Quick start
1. Create wallet instance.
import axios from "axios";
import { BICWallet, ThirdwebProvider, WalletAPI, ArbitrumSepolia } from "@beincom/wallet-sdk";
// create wallet backend api client.
const api = new WalletAPI({
endpoint: "",// endpoint wallet backend
httpClient: axios //axios instance
});
// create wallet provider client.
const provider = new ThirdwebProvider(
"", // provider key
ArbitrumSepolia // network
);
// create BIC wallet instance.
const bicWallet = new BICWallet({
api: api,
provider: provider
})
Documentation
Visit docs to view the full documentation.