Skip to content

project-serum/stake

Repository files navigation

Deprecated

This program is no longer in use or maintained.

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.