• SDK
  • create SDK
import { Sdk, Env, EnvNames } from 'etherspot';

// change default environment
Env.defaultName = 'testnets' as EnvNames;

let sdk: Sdk

sdk = new Sdk('0x63db1dcdcae0fbe84114eebb007584dfbfb7ab7d9d8d9873690f3adf6990f72c');

// or

sdk = new Sdk({
  privateKey: '0x63db1dcdcae0fbe84114eebb007584dfbfb7ab7d9d8d9873690f3adf6990f72c',
});

console.info('SDK created');
This website uses cookies to enhance the user experience.