The smart contracts are located in the apps/contracts
directory. They are written in Solidity and compiled using Hardhat.
Arbitrum contract address - 0x419cFe85e77a0A26B9989059057318F59764F7C5
Sepolia contract address - 0x419cFe85e77a0A26B9989059057318F59764F7C5
- Clone this repo, install rust, npm, yarn and foundry
- Run the offchain TLSN verifier:
cd tlsn-verifier; cargo r -r
- In another terminal, install yarn dependencies:
cd semaphore; yarn
- Compile the Semaphore smart contracts:
cd apps/contracts; yarn compile
- Run the webapp and the Semaphore smart contracts:
cd ../..; yarn dev
- Browse http://localhost:3000 and have fun!