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

Add ability to do contract verification #19

Open
krebernisak opened this issue Dec 10, 2021 · 1 comment
Open

Add ability to do contract verification #19

krebernisak opened this issue Dec 10, 2021 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@krebernisak
Copy link
Collaborator

There is no Etherscan on Solana that we could use to publicly verify deployed contracts, but maybe we could add a public helper script using Anchor Verifiable Builds so users could verify themselves, or CI could do it for them and report it.

Resources:

@krebernisak krebernisak added documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Dec 10, 2021
@krebernisak krebernisak changed the title Add contract verification tool Add ability to do contract verification Dec 10, 2021
@archseer
Copy link
Collaborator

We weren't able to use anchor build --verify on the CI because it expects to spawn it's own Docker container, but it's already running in a container. It ends up building nothing and just failing. I think the environment is deterministic enough though (since we're building inside projectserum/build, which is what --verifiable does), we just need to validate if the sha256 matches a local anchor build --verifiable output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants