https://github.com/masaun/keep-stake-pooling
Keep Stake Pooling that allow smaller Keep owners to delegate a stake lower than the current minimum Keep stake.
https://github.com/masaun/keep-stake-pooling
defi keepnetwork solidity truffle web3js yield-farms
Last synced: about 2 months ago
JSON representation
Keep Stake Pooling that allow smaller Keep owners to delegate a stake lower than the current minimum Keep stake.
- Host: GitHub
- URL: https://github.com/masaun/keep-stake-pooling
- Owner: masaun
- Created: 2020-12-16T06:43:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-18T07:35:52.000Z (over 4 years ago)
- Last Synced: 2024-10-18T20:39:18.382Z (7 months ago)
- Topics: defi, keepnetwork, solidity, truffle, web3js, yield-farms
- Language: JavaScript
- Homepage:
- Size: 279 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Keep Stake Pooling
***
## 【Introduction of Keep Stake Pooling】
- This is a smart contract for the Keep Stake Pooling.
- Keep Stake Pooling is that:
- allow smaller Keep owners to delegate a stake lower than the current minimum Keep stake.
- It can be combined with others to reach the current minimum stake and run a node.
- Contributions building on said work will also be accepted specifically reducing the min stake amount below 20k into the pool or making it non custodial.
***
## 【Remarks】
- Solidity (solc) version: v0.5.17- Solidity libraries
- "@openzeppelin/upgrades": "^2.7.2"
- "openzeppelin-solidity": "2.4.0"
***
## 【Setup】
### ① Install modules
```
$ npm install
```
### ② Compile & migrate contracts (on Ropsten testnet)
```
$ npm run migrate:ropsten
```
### ③ Execute script
```
$ npm run script:ropsten
```
### ③ Execute test
- Test on the local
```
$ npm run test:local(ganache-cli && truffle test ./test/test-local/* --network local)
```
***
## 【References】
- Keep Network (Stack and Rewards, KeepToken, etc...)
- keep-core contract: https://github.com/keep-network/keep-core/tree/master/solidity/contracts
- Keep Token dashboard (on Ropsten): https://dashboard.test.keep.network/tokens/delegate#granted
(Process Guide: https://medium.com/@ben_longstaff/a-beginners-quick-start-guide-to-staking-on-the-keep-network-testnet-using-digitalocean-5a74ca60adc3 )
- Doc for staking: https://staking.keep.network/about-staking/staking-101
- KeepToken fancet (on Ropsten): https://us-central1-keep-test-f3e0.cloudfunctions.net/keep-faucet-ropsten?account={YOUR WALLET ADDRESS}
- GR8 Prize: https://gitcoin.co/issue/keep-network/tbtc.js/115/100024326
- Keep Network (tBTC)
- Solidity API: https://docs.keep.network/tbtc/solidity/
- Ropsten testnet / internal testnet: https://github.com/keep-network/tbtc-dapp#internal-testnet