https://github.com/planetarium/staking_contract_wncg_eth
Staking Contract - WNCG on ETH
https://github.com/planetarium/staking_contract_wncg_eth
Last synced: about 2 months ago
JSON representation
Staking Contract - WNCG on ETH
- Host: GitHub
- URL: https://github.com/planetarium/staking_contract_wncg_eth
- Owner: planetarium
- Created: 2023-06-07T06:37:49.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-01T06:53:22.000Z (over 1 year ago)
- Last Synced: 2025-01-21T03:11:18.481Z (3 months ago)
- Language: HTML
- Size: 401 KB
- Stars: 1
- Watchers: 10
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Audit: audit/[Theori] Planetarium WNCG Staking Protocol Security Audit Final Report.pdf
Awesome Lists containing this project
README
[](https://codecov.io/gh/planetarium/staking_contract_wncg_eth)
# WNCG Staking Rewards
How to setup dev environment
```
$ node --version
v16.15.0
```1. Create `.env` file with these keys
```shell
INFURA_API_KEY= # infura api key
ETHERSCAN_API_KEY= # ether scan api key
PRI_KEY= # private key of your metamask
```2. Install npm packages
```shell
# Install npm packages
npm i
```3. Compile contracts
```shell
# Compile
npx hardhat compile
```4. run unit test and coverage report
```shell
npx hardhat test
npx hardhat coverage
```