ton-blockchain / verifier

https://verifier.ton.org/
MIT License
171 stars 68 forks source link

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:

  1. contract-verifier-contracts - Sources registry contracts which stores an on-chain proof per code cell hash.
  2. contract-verifier-backend - Backend for compiling FunC and returning a signature over a message containing the resulting code cell hash.
  3. contract-verifier-sdk - A UI component to fetch and display sources from Ton blockchain and IPFS, including FunC code highlighting.
  4. 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

Running

Appendix: Adding new FunC versions

  1. Add the wasm binding in package json, as such:
"func-js-bin-0.4.3": "npm:@ton-community/func-js-bin@^0.4.3",
  1. Add the version to https://github.com/ton-community/contract-verifier-config
  2. Redeploy backend https://github.com/ton-community/contract-verifier-backend

License

MIT