1.0.12 • Published 3 years ago
@ikalasdev/contractmanager v1.0.12
Contract Manager
Installation
This is a Node.js module available through the npm registry. Before installing, download and install Node.js. If this is a brand new project, make sure to create a
package.jsonfirst with thenpm initcommand.install the module using
npm install @ikalasdev/contractmanagerUsage
const manager = require("@ikalasdev/contractmanager");
const abi = manager.getAbi(erc20SourceCode);
const transaction = await manager.deploy(erc20SourceCode);
const {address, networkName, explorer} = await manager.deploy(erc20SourceCode, chainId, process.env.PRIVATE_KEY);Want to see more ? Check the test code in the repository