Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add verifiable staking build script #427

Merged
merged 4 commits into from
Apr 3, 2024

Conversation

keyvankhademi
Copy link
Contributor

This change adds a Dockerfile based on Anchor's default verifiable build dockerfile and a script to build the program using that Dockerfile. The script also prints the sha256sum of the program which can be used to verify on-chain deployments.

A new script called build_verifiable_staking_program.sh has been added, along with a Dockerfile to build an image for the staking program. The script builds the image and the staking program using this image, placing the artifacts at a specified location and printing the sha256sum of the staking program.
The /artifacts line has been added to the .gitignore file within the staking directory. This change ensures that generated artifacts from the newly added build script and Dockerfile are not tracked by git.
@keyvankhademi keyvankhademi self-assigned this Mar 29, 2024
Copy link

vercel bot commented Mar 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 3, 2024 6:25pm
staking-devnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 3, 2024 6:25pm

staking/Dockerfile Outdated Show resolved Hide resolved
staking/Dockerfile Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants