Go to file
Armani Ferrante a18a5fffbe
Add reward amount guards (#14)
2021-07-08 13:30:52 -07:00
docs Init repo 2021-03-13 10:42:02 -08:00
migrations Init repo 2021-03-13 10:42:02 -08:00
programs Add reward amount guards (#14) 2021-07-08 13:30:52 -07:00
tests Add reward amount guards (#14) 2021-07-08 13:30:52 -07:00
.gitignore Init repo 2021-03-13 10:42:02 -08:00
.travis.yml Add reward amount guards (#14) 2021-07-08 13:30:52 -07:00
Anchor.toml Init repo 2021-03-13 10:42:02 -08:00
Cargo.lock Add reward amount guards (#14) 2021-07-08 13:30:52 -07:00
Cargo.toml Init repo 2021-03-13 10:42:02 -08:00
LICENSE Add LICENSE 2021-03-18 16:50:53 -07: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.