An open API service indexing awesome lists of open source software.

https://github.com/vectorized/nftstaker


https://github.com/vectorized/nftstaker

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

Gas optimized NFT staker
========================

**Install:**

cd into the directory and run

```
npm install
```

**Test:**

```
npx hardhat test
```

**To generate packed rates:**
1. cd into `rates_packer` directory.
2. Edit the `rarities.json`.
3. Run `node pack.js`
4. Examine the generated `rates.json` and copy the values to (Remix, Etherscan, etc) to write to the contract.