A sample contract for using Tellor for verifying Snapshot vote results. This sample contract mints 1000 tokens to a target address when the off-chain proposal passes.
For more in-depth information about Tellor check out our documentation, whitepaper and website.
Clone project
git clone https://github.com/tellor-io/snapshotVoting.git
Install Dependencies
npm install
Compile Smart Contracts
npx hardhat compile
Test Locally
npx hardhat test
Deploy
npx hardhat run --network <your-network> scripts/deploy.js
This repository is maintained by the Tellor team
Check out our issues log here on Github or feel free to reach out anytime [email protected].
Tellor Inc. 2022