BIC Chain SDK TypeScript monorepo
Wallet SDKs for Browser and Mobile apps
Install the latest version of the SDK with npm
:
npm install @beincom/wallet-sdk
or with yarn
:
yarn add @beincom/wallet-sdk
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
})
Visit docs to view the full documentation.