Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/project-serum/stake
https://github.com/project-serum/stake
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/project-serum/stake
- Owner: project-serum
- License: apache-2.0
- Created: 2021-03-11T15:29:44.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-05T17:34:45.000Z (over 2 years ago)
- Last Synced: 2024-08-02T06:14:29.192Z (4 months ago)
- Language: Rust
- Size: 88.9 KB
- Stars: 48
- Watchers: 10
- Forks: 48
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-solana-nfts-v2 - Serum's Staking Program - serum/stake.svg?style=social) (and the [UI for it](https://github.com/project-serum/stake-ui)) - Serum's staking program. Most complex out of the bunch, but most fully-featured (supports time-locked rewards, doesn't comingle users' funds). Users need to actively "claim" the stake by periodically clicking a button. (🥩 Staking)
- awesome-solana-nfts - Serum's Staking Program - serum/stake.svg?style=social) (and the [UI for it](https://github.com/project-serum/stake-ui)) - Serum's staking program. Most complex out of the bunch, but most fully-featured (supports time-locked rewards, doesn't comingle users' funds). Users need to actively "claim" the stake by periodically clicking a button. (🥩 Staking)
README
# Deprecated
This program is no longer in use or maintained.
# Stake
Programs for staking and lockups. For a technical introduction, see the [docs](./docs).
## Note
* **This code is unaudited. Use at your own risk.**
## Developing
[Anchor](https://github.com/project-serum/anchor) is used for developoment, and it's
recommended workflow is used here. To get started, see the [guide](https://project-serum.github.io/anchor/getting-started/introduction.html).### Build
```
anchor build --verifiable
```The `--verifiable` flag should be used before deploying so that your build artifacts
can be deterministically generated with docker.### Test
```
anchor test
```### Verify
To verify the program deployed on Solana matches your local source code, change directory
into the program you want to verify, e.g., `cd programs/registry`, and run```bash
anchor verify
```A list of build artifacts can be found under [releases](https://github.com/project-serum/stake/releases).