Go to file
armaniferrante 3032a09886
Init repo
2021-03-13 10:42:02 -08:00
docs Init repo 2021-03-13 10:42:02 -08:00
migrations Init repo 2021-03-13 10:42:02 -08:00
programs Init repo 2021-03-13 10:42:02 -08:00
tests Init repo 2021-03-13 10:42:02 -08:00
.gitignore Init repo 2021-03-13 10:42:02 -08:00
.travis.yml Init repo 2021-03-13 10:42:02 -08:00
Anchor.toml Init repo 2021-03-13 10:42:02 -08:00
Cargo.lock Init repo 2021-03-13 10:42:02 -08:00
Cargo.toml Init repo 2021-03-13 10:42:02 -08:00
README.md Init repo 2021-03-13 10:42:02 -08:00

README.md

Stake

Programs for staking and lockups. For a technical introduction, see the docs.

Note

  • This code is unaudited. Use at your own risk.

Developing

Anchor is used for developoment, and it's recommended workflow is used here. To get started, see the guide.

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

anchor verify <program-id | write-buffer>

A list of build artifacts can be found under releases.