πInitializing SDK
After installing the package and getting API key its time to initialize the SDK
Setting Up the SDK
const apiKey = process.env.API_API; //if stored in env variables
const chainEx = new ChainEx(apiKey);
//returns smart contract wallet address and initializes the SDK
const smartAccount = await chainEx.initialize(provider, configParams);configParams
Last updated