starknet-remix-plugin
starknet-remix-plugin copied to clipboard
Verification solution for multiple files (with Scarb)
Remix plugin must be able to verify the source code of the project/workspace on Voyager/StarkScan (in parallel).
- This should be available from the Deploy section of the plugin UI (?)
- The verification should be ran against the network as selected in the "Environments".
- The contract (in Sierra form) is deployed to target network. Only the Sierra is visible on blockchain. The "verification" means using the contribution to
sncastfrom Starknet Foundry.
And a doc how to go about this, here (internal).
- [ ] Create a "solution concept" note/diagram to show all the connections, interfaces and flow of processing
- [ ] Decide if there is any DevOps requirements
- [ ] Verify the effort estimation
- [ ] Implement changes in React package/API service as designed
Proposed action plan:
- [ ] Rohit to help out in finishing the cairo verifier -> https://github.com/NethermindEth/voyager-verifier-cairo1
- [ ] Propose implementing it in Scarb - reach out to Scarb team and propose the feature to them
- [ ] Once Scarb team is happy and in agreement - proceed with extending the Scarb with verification feature with Voyager
- [ ] Needs access to specs and instances of Voyager verification API (-> Neel or Bart)
- [ ] Add verification feature to the plugin API service (via enhanced Scarb)
- [ ] Add verification feature to the plugin UI
A recommendation from Software Mansion came suggesting to use Foundry (rather than Scarb) for verification
Can you paste here the project link?
It's this: https://github.com/foundry-rs/starknet-foundry (see this also: https://foundry-rs.github.io/starknet-foundry/)
Decided to go for a new feature in sncast tool of Starknet Foundry. Design document started in Nethermind's branch of the Starknet Foundry repo: https://github.com/NethermindEth/starknet-foundry/blob/master/design_documents/contract_verification.md
The Verification API in Voyager is expected to fully support Cairo1 (2.3.x) by 20th Oct
PR with feature design raised: https://github.com/foundry-rs/starknet-foundry/pull/827
Draft changes ready: https://github.com/foundry-rs/starknet-foundry/pull/875
Waiting for Voyager Verification APIs to run integration tests.
Synced with Voyager team:
- The verification APIs are being stabilized now
- Note the verification API will support a specific set of Cairo versions
- Requested for a dedicated API method to return the list of Cairo versions supported by Voyager's verification API
- Requested for a notification when verification API is stable enough to start integrating with
sncast