@ikalasdev/contractmanager
v1.0.12
Published
A library for managing contracts
Downloads
2
Readme
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.json
first with thenpm init
command.install the module using
npm install @ikalasdev/contractmanager
Usage
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