Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 915 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 915 Bytes

cheap-chi

an automated minter for the chi gas token on the cheapeth blockchain.

install

npm install

compile

npm run compile

use

first you will need to create a file named .chi in your home directory, this file should contain a private key to an account loaded with an amount of cheapeth.

npm run mint

configure

configure amount of chi minted per block inside scripts/minter.js. the maximum amount of chi that can be currently minted is 219, this takes up almost 100% of the cheapeth block gas limit.

var chiPerBlock = 219;

configure the gas price used inside hardhat.config.js, the current default is 1 gwei (1000000000 wei).

cheapeth: {
  url: "https://rpc.cheapeth.org/rpc",
  accounts: [chiKey],
  gasPrice: 1000000000
}