1.0.2 • Published 2 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.json
first with thenpm init
command.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-receiver
Usage
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