SDKs
SDK to deploy and manage your contracts through the FlexSmart platform.
npm install @flexsmart/flexsmart-sdkGenerate Contracts
npx flexsmart generatenpx flexsmart generate /path/to/the/contractABI.jsonDeploy Contracts
import { FlexsmartSDK } from '@flexsmart/flexsmart-sdk';
...
const sdk = new FlexsmartSDK(web3Signer);
sdk.setAPIKey('YOUR-API-KEY');
const result = await sdk.deployERC20({
name: 'SDK Coin',
symbol: 'SDKCOIN',
initialSupply: 10000,
isFullFeature: true,
decimals: 18,
});
...Manage Contracts
Last updated
Was this helpful?