Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/knarz/keep-setup
small collection of scripts to automate setting up the on-chain parts of a keep-client
https://github.com/knarz/keep-setup
Last synced: 18 days ago
JSON representation
small collection of scripts to automate setting up the on-chain parts of a keep-client
- Host: GitHub
- URL: https://github.com/knarz/keep-setup
- Owner: knarz
- Created: 2020-06-07T19:34:36.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T22:59:26.000Z (almost 2 years ago)
- Last Synced: 2023-03-27T13:52:00.056Z (almost 2 years ago)
- Language: JavaScript
- Size: 560 KB
- Stars: 7
- Watchers: 6
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Keep setup
This is a collection of scripts to:
1. Create a fresh wallet: `$ node keystore.js PASSWORDGOESHERE`
2. Request testnet Ether: `$ INFURA_API=APIKEYGOESHERE node faucet.js`
3. Request a keep grant: `$ node keep_grant.js`
4. Delegate stake to the fresh wallet and authorize the operator and sortition pools: `$ INFURA_API=APIKEYGOESHERE node access.js PASSWORDGOESHERE`
5. Authorize the random beacon operator for slashing: `$ INFURA_API=APIKEYGOESHERE node beacon_auth.js PASSWORDGOESHERE`
6. Send some (hardcoded right now) eth for bonding: `$ INFURA_API=APIKEYGOESHERE node deposit_eth.js PASSWORDGOESHERE`
7. Check if a given address has the necessary authorizations: `$ INFURA_API=APIKEYGOESHERE node auths.js ADDRESSGOESHERE`These scripts are still somewhat brittle and require an API key for infura.io.
The scripts have the contract addresses hardcoded and are only meant to be used
with the Ropsten testnet.Depedencies are installed via `npm install`.