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 solana program verification #214

Closed
wants to merge 2 commits into from

Conversation

thrishank
Copy link
Contributor

Pull Request Description

Related Issue

Fixes #198

Changes Made

This PR adds the following changes:

  • Added a function to verify solana programs
  • Another function to check whether a solana Program is verified or not

Implementation Details

  • To verify a Program the function verifySolanaProgram sends a POST request to osec api with the github repo and program address as body
  • To check the status of program function getProgramVerificationStatus sends a GET request to osec api and returns the result

Prompt Used

Screenshot 2025-01-16 at 2 24 06 PM Screenshot 2025-01-16 at 2 37 54 PM

Checklist

  • I have tested these changes locally
  • I have updated the documentation
  • I have added a transaction link
  • I have added the prompt used to test it

@DogukanGun
Copy link

Hi, have you tested the program verification? I assume the screenshots are only for checking the status.

@thrishank
Copy link
Contributor Author

@DogukanGun I have tested the program verification for few programs.

@thrishank thrishank closed this Jan 17, 2025
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.

AI Agent Solana Program Verification Support
2 participants