https://github.com/vectorized/nftstaker
https://github.com/vectorized/nftstaker
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vectorized/nftstaker
- Owner: Vectorized
- Created: 2022-01-23T18:42:02.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-23T19:48:51.000Z (about 4 years ago)
- Last Synced: 2025-03-25T20:55:14.158Z (10 months ago)
- Language: Solidity
- Size: 132 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.