1.0.2 • Published 4 years ago
@ikalasdev/fund-receiver v1.0.2
fund-Receiver
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.This module need to be in a hardhat project.
create hardhat project with
npm install hardhat --save-dev
npx hardhat- install the module using
npm install @ikalasdev/fund-receiverUsage
const data = await fundRecever.deploy(chainId, PRIVATE_KEY);
const balance = await fundRecever.balance(publicKey);
await fundRecever.decreaseBalance(publicKey, "0.001");Want to see more ? Check the test code in the repository