oasisprotocol / oasisprotocol/oasis-core
Stake service
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 369
- Forks
- 151
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 6
Description
Tracking bug for a stake token contract/service.
Goals
Build out infrastructure by which we get paid.
Details
Participants in the Oasis network need to have stake tokens for a performance bond. Even for a closed chain, we need to have a mechanism by which authorized participants can buy stake to set up their servers.
We need to be able to sell stake tokens to compute resource owners who want to participate in the Oasis network. The stake token should be relatively stable in value: the users who write contracts / propose transactions must be able to quantify the adversarial cost to attack their computations, even though stake token holders should be able to trade their tokens on exchanges/markets such as coinbase. This means that there should be a minimum price for the adversarial cost calculations, and we cannot arbitrarily sell coins and flood the market w/o affecting contract security; further, this may mean that we have to have some level of price support to dampen fluctuations, should compute resource sellers find better ROI with another network and sell our stake tokens.
Linked Issues
- Initial staking token backend design
- Stake pricing, price support (!) and/or price cap to ensure security/economic incentives/constraints are satisfied.
- Stake slashing authorization -- which nodes can slash? How? (Committee scheduler gives consensus nodes the authorization?)
- Transaction fee schedule
- Figure out stake migration
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked Initial staking token backend design in private-rfcs PR 82 and the related transaction fee schedule and stake migration issues. The remaining scope covers stake pricing, price support or caps, and slashing authorization; completion requires resolving those economic and authorization designs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- blockchain
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100