Decentralized label database for Web3. Open to anyone, powered by everyone.
TrustTag is a decentralized protocol for labeling blockchain addresses (e.g., scams, exchanges, DeFi) to improve trust and transparency in Web3. Centralized labeling suffers from censorship, single points of failure, and weak incentives. TrustTag solves this with on-chain storage, staking, and a truth-enforcing voting mechanism.
It uses Bayesian Truth Serum (BTS) to reward not just majority-aligned votes, but accurate predictions of others—promoting honesty over conformity. BTS scores are securely computed in a Trusted Execution Environment (TEE) to ensure tamper-proof logic.
Proposals include proof, guiding voters to make informed decisions. A commit-reveal scheme hides votes until revealed, preventing collusion. Staked tokens are unlocked or slashed based on the proposal result, and only correct voters receive rewards—proportional to their BTS score.
All labels are stored on-chain, allowing users, wallets, and DeFi protocols to verify malicious addresses directly, without relying on centralized services.
To prevent Sybil attacks, TrustTag supports identity verification through both MiniApp and Self Protocol, ensuring one-person-one-vote while preserving privacy.
TrustTag is composed of three core smart contracts written in Solidity and deployed on World Chain (Sepolia testnet):
-Token Contract for staking and rewards -Voting Contract implementing commit-reveal logic and recording votes -Label Storage Contract for verified, on-chain label records
Voting uses a commit-reveal schema to prevent collusion. Voters submit a hash of their vote and prediction during the commit phase, then reveal them later for verification. Addresses are stored as hashes to obscure the keyspace and prevent bulk scraping.
We use a Trusted Execution Environment (TEE) built with OP-TEE in C to compute Bayesian Truth Serum (BTS) scores off-chain. The TEE takes in all revealed votes and predictions, computes scores securely, and signs the results. The signature is then submitted on-chain to trigger reward distribution. BTS scores are not calculated or verified on-chain, minimizing gas usage while preserving integrity. OP-TEE is hosted on a remote VM running QEMU.