contract-verifier
A UI app to display verified contract proofs and to submit Ton smart contract sources for on-chain verification.
Related repositories
This repo is a part of the following:
- contract-verifier-contracts - Sources registry contracts which stores an on-chain proof per code cell hash.
- contract-verifier-backend - Backend for compiling FunC and returning a signature over a message containing the resulting code cell hash.
- contract-verifier-sdk - A UI component to fetch and display sources from Ton blockchain and IPFS, including FunC code highlighting.
- contract-verifier (this repo) - A UI app to interact with the backend, contracts and publish an on-chain proof.
Deployment
This app is deployed via github actions on github pages for this repository.
Environment variables
VITE_VERIFIER_REGISTRY
- the address of the verifier registry contract to interact with when sending the signed message received from backendVITE_VERIFIER_ID
- id of the verifier registered with the verifier registryVITE_SOURCES_REGISTRY
- sources registry to fetch data fromVITE_BACKEND_URL
- urls for backend (split by comma)
Running
npm install
npm run dev
License
MIT