@ikalasdev/fund-receiver
v1.0.2
Published
1. This is a [Node.js](https://nodejs.org/en/) module available through the [npm registry](https://www.npmjs.com/). Before installing, [download and install Node.js](https://nodejs.org/en/download/). If this is a brand new project, make sure to create
Downloads
2
Readme
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