Skip to content

cthr/cheap-chi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
}

Releases

No releases published

Packages

No packages published