Install:
cd into the directory and run
npm install
Test:
npx hardhat test
To generate packed rates:
- cd into
rates_packerdirectory. - Edit the
rarities.json. - Run
node pack.js - Examine the generated
rates.jsonand copy the values to (Remix, Etherscan, etc) to write to the contract.