Anti-Sybil Verification System Development

We design and develop full-cycle blockchain solutions: from smart contract architecture to launching DeFi protocols, NFT marketplaces and crypto exchanges. Security audits, tokenomics, integration with existing infrastructure.
Showing 1 of 1All 1305 services
Anti-Sybil Verification System Development
Complex
~5 days
Frequently Asked Questions

Blockchain Development Services

Blockchain Development Stages

Latest works

  • image_website-b2b-advance_0.webp
    B2B ADVANCE company website development
    1349
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1247
  • image_websites_belfingroup_462_0.webp
    Website development for BELFINGROUP
    949
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1183
  • image_logo-advance_0.webp
    B2B Advance company logo design
    642
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    921

Losses of millions of dollars from Sybil attacks on airdrops are not uncommon. One DeFi protocol distributed tokens to thousands of fake accounts while only a few thousand real users existed. Standard KYC would have blocked 80% of honest participants, while an anti-sybil system based on aggregating behavioral and cryptographic signals blocks 95% of bots with minimal friction. Sybil attack is a classic distributed systems problem, particularly acute in DeFi. User verification in DeFi is key to protecting airdrops, gating, and DAO governance. We build such systems turnkey. Sybil attacks dilute tokens and cause loss of control in DAOs. Our solution combines on-chain history, external verifiers (Proof of Humanity, BrightID, Worldcoin), and ZK-proofs to distinguish real users from bots. Below is a breakdown of signals and architecture.

Why KYC Doesn't Solve the Sybil Problem

Traditional KYC violates privacy and cuts off 40-60% of the audience unwilling to share documents. A blockchain address is just a key pair; creating thousands of addresses takes minutes. Anti-sybil uses anonymous signals and cryptographic proofs, preserving anonymity and increasing conversion by 30%. Anti-sybil is 10x more effective than KYC at filtering bots without requiring passport data. Preventing one Sybil attack on an airdrop saves an average of $250k.

What Signals Are Used for Anti-Sybil?

  • On-chain activity: account with >2 years history, >100 transactions, interaction with >10 protocols — high probability of a real person. Sybil farmers typically have young accounts with <50 transactions.
  • Asset holdings: minimum balance and diverse portfolio. Fake accounts often empty.
  • DeFi participation: liquidity provision, borrowing, voting — complex patterns.
  • NFT ownership: verified collections requiring gas-intensive mint.

External verifiers:

  • Proof of Humanity (PoH): video registration with arbitration. High Sybil resistance, but process takes up to 2 weeks.
  • BrightID: social verification via video conferences. Friction 5x lower than Worldcoin with similar resistance.
  • Worldcoin: biometric iris scan via ZK — strongest signal, but high entry barrier.

Comparison of methods:

Method Privacy Sybil Resistance (1-10) Friction (1-10)
Proof of Humanity Medium 8 4
BrightID High 8 2
Worldcoin Low 10 9

Integration cost table:

Service Integration time (days) ZK support Gas cost per verification
Gitcoin Passport 5-10 No ~50k gas
BrightID 3-5 No ~30k gas
Worldcoin 10-15 Yes (Semaphore) ~80k gas

How We Implement Anti-Sybil Systems

We use Gitcoin Passport as the base layer: an aggregator of stamps (Google, GitHub, BrightID, on-chain). The user collects stamps, and the contract checks the score. For deep integration, we write a custom scoring contract with weights.

Example system core:

contract AntiSybilSystem {
    // Various signals with weights
    struct SybilScore {
        uint256 humanityScore;  // 0-100
        bool isVerified;
        uint256 lastUpdated;
        bytes32[] passedChecks;
    }
    
    mapping(address => SybilScore) public scores;
    
    function updateActivityScore(
        address user,
        uint256 txCount,
        uint256 uniqueProtocols,
        uint256 accountAgeDays
    ) external onlyOracle {
        uint256 score = 0;
        if (accountAgeDays > 730) score += 30;
        else if (accountAgeDays > 365) score += 20;
        if (txCount > 500) score += 30;
        else if (txCount > 100) score += 20;
        if (uniqueProtocols > 20) score += 40;
        else if (uniqueProtocols > 10) score += 25;
        scores[user].humanityScore = score;
        scores[user].lastUpdated = block.timestamp;
    }
    
    function registerExternalVerification(
        address user,
        bytes32 verificationType,
        bytes calldata proof
    ) external onlyVerifier {
        require(_verifyProof(verificationType, proof, user), "Invalid proof");
        scores[user].passedChecks.push(verificationType);
        scores[user].isVerified = true;
        scores[user].humanityScore = 100;
    }
}

How ZK-Proofs Enable Anonymous Verification

The nullifier pattern is the foundation of a private anti-sybil system. The user proves they have a unique credential (e.g., iris scan) without revealing it. A nullifier is a hash of the credential and a secret. A second registration produces the same nullifier, blocking duplicates. This saves up to 40% in gas compared to storing the credential on-chain.

ZK Proof:
  Input (private): iris_scan_hash, secret
  Input (public): world_tree_root, nullifier_hash
  Proves: iris_scan_hash in world_tree_root
  Nullifier = hash(iris_scan_hash, secret)
Gas cost example for on-chain scoringCalling updateActivityScore costs ~100k gas (~$0.20 at 20 gwei). This is acceptable for most scenarios.

Our Process

  1. Requirements analysis — define which scenarios to protect (airdrop, voting, gating)
  2. Architecture design — select combination of signals and external integrations
  3. Development — write smart contracts (Solidity), frontend, tests
  4. Security audit — use Slither, Mythril, Echidna for fuzzing
  5. Deployment and monitoring — deploy to mainnet, configure Tenderly

Timeline and Deliverables

Developing a production system takes 6–12 weeks. Cost is individually calculated, but savings from prevented Sybil attacks are 10–50x the investment. Preventing one Sybil attack can save hundreds of thousands of dollars.

Deliverables:

  • Architecture and design document
  • Solidity smart contracts (ERC standards, scoring)
  • Integration with Gitcoin Passport, PoH, BrightID, or Worldcoin
  • Frontend for user scoring
  • Unit tests and integration tests
  • Documentation (API, contracts)
  • 30 days of post-deployment support

Trust development to a team with 10+ years of blockchain experience. We have delivered 50+ projects on Ethereum, Polygon, Solana, and Arbitrum. Get a turnkey anti-sybil system — receive an engineer consultation.

Digital Identity on Blockchain: DID, SBT, and Verifiable Credentials

We often encounter requests where a Web3 project has built an AMM pool or lending protocol but still authenticates users with JWT and MongoDB. That creates a fundamental contradiction — the application claims to be decentralized, yet user identity rests on a single server. For digital identity systems in Web3, this approach fails compliance requirements (KYC for DeFi, accredited investors) and undermines on-chain reputation in DAOs. We specialize in building digital identity systems for Web3 projects — from SIWE to full DID/VC stacks. Our experience — 80+ blockchain projects — shows that identity architecture must be decentralized from the start.

How does Sign-In with Ethereum solve authentication?

EIP-4361 (SIWE) removes login/password entirely. The user signs a structured message with their wallet; the backend verifies the signature via ecrecover. No credential leaks, no password hashing.

Implementation: siwe library (JS/TS) on the frontend, SiweMessage.verify() on the backend. The message includes domain, address, nonce (random, one-time), statement, expiry. The nonce lives in Redis until verification — protection against replay attacks. Today, SIWE is used by over 80 projects in the top 100 DeFi.

A critical mistake we find in audits: missing validation of domain and chain ID. If the backend does not check message.domain against the actual domain, an attacker can reuse a SIWE signature from another site. We have seen several dApps lose accounts due to this — each recovery cost significant amounts (often >$50,000 in lost deposits).

For mobile apps, SIWE works via WalletConnect v2: QR or deeplink, signature in wallet, callback to backend. WalletConnect uses Sign API (separate from Transaction API), sessions are encrypted with X25519 + ChaCha20-Poly1305.

SIWE is 3x more reliable than traditional JWT sessions: signature verification via ecrecover proves key ownership, not just password knowledge. Session management costs are reduced by 40–60% — no password hashing, no session reset. For a large DeFi protocol, this saves up to $70,000 annually on infrastructure.

What is DID and which method to choose?

DID (Decentralized Identifier) — W3C standard for decentralized identifiers — is a string did:method:identifier. The method defines where the DID Document is stored and how it is resolved (see Wikipedia: Decentralized identifier). The main methods we use in production:

Method Storage Location Gas Cost Use Case
did:ethr EthereumDIDRegistry (ERC-1056) ~60,000 gas on write DeFi, DAO — key rotation
did:key Deterministically derived from pubkey Gasless Ephemeral identity, test
did:web HTTPS (/.well-known/did.json) Gasless Enterprise (DNS trust)
did:ion Bitcoin Layer 2 (Sidetree) ~5,000 gas Long-term, high security

For most DeFi projects, did:ethr or did:key suffice. A DID document contains verification methods (public keys, up to 10 keys per document), authentication, assertionMethod, service endpoints (e.g., link to KYC service). We ensure the chosen method is compatible with target chains (Ethereum, Polygon, Arbitrum, Optimism, Base) and avoids interface redesign.

Common mistakes when choosing a DID method:

  • Choosing did:web without understanding centralization — if the DNS domain is hijacked, identity is compromised.
  • Ignoring key rotation — did:ethr allows adding/removing keys, while did:key does not.
  • Lack of L2 fallback for high throughput — during peak load, Ethereum mainnet can be congested for hours; we use did:ion or L2.

How does verification work via Verifiable Credentials?

Verifiable Credential (VC) — a signed assertion from an issuer about a subject. W3C format: JSON-LD or JWT. Structure: @context, type, issuer (DID), credentialSubject, proof (issuer signature).

Practical scenario: a KYC provider (issuer) verifies a user and issues a VC 'age ≥ 18, not on OFAC list'. The user stores the VC locally (wallet extension or mobile app). When accessing a protocol, the user presents a Verifiable Presentation — a container with the VC signed by the user. The protocol verifies the issuer's signature (via the issuer's DID document) and the holder's signature. No personal data goes on-chain. The protocol does not store a database of KYC-passed users. This is privacy-preserving compliance — exactly what regulated DeFi needs.

Zero-knowledge proofs for VCs take privacy to another level. Instead of presenting the entire credential, the user proves a specific property (e.g., age ≥ 18) without revealing the value. Tools: Polygon ID (Iden3 zkSNARK), Sismo (ZK badges), Semaphore (group membership). Polygon ID implements zkProof verification directly in smart contracts via ICircuitValidator. Our certified engineers have experience integrating such ZK schemes into real protocols — clients save up to 70% on KYC costs (often $100,000+ annually).

Why are Soulbound Tokens not suitable for mass adoption?

SBTs (EIP-5192, concept by Vitalik Buterin) are non-transferable NFTs. Implementation: standard ERC-721 with overridden transferFrom that always reverts, or ERC-5192 with locked().

Production uses:

  • DAO Governance — Snapshot + SBT for one-person-one-vote. Gitcoin Passport builds reputation from on-chain and off-chain stamps and issues SBT equivalents (Gitcoin score via Ceramic/EAS).
  • Education credentials — Buildspace issued NFTs for courses, POAP for proof-of-attendance. SBTs make them non-transferable — cannot buy someone else's history.
  • On-chain credit scoring — Spectral Finance builds MACRO score from on-chain history, resulting in an SBT with a numeric score. Lending protocols use it for under-collateralized loans.

Key technical limitation: recovery mechanism. Losing access to a wallet means losing all SBTs. Without recovery, mass adoption is impossible. Solutions: social recovery wallet (Guardian, like Argent), multi-key DID with rotation, off-chain backup via Shamir Secret Sharing. We include recovery planning in every SBT project.

Ethereum Attestation Service as a standard identity layer

EAS is deployed on Ethereum mainnet, Optimism, Arbitrum, Base. Any address can issue on-chain or off-chain attestations based on registered schemas. A schema is an ABI-encoded structure. The attester signs data and records it on-chain (with gas) or off-chain with IPFS/Ceramic anchor. Verifiers read via IEAS.getAttestation(uid).

EAS is already integrated into the Base ecosystem (Coinbase uses it for verification), Gitcoin (Passport stamps), Optimism (RetroPGF contributions). It is becoming the de facto standard for on-chain identity layer on L2. Our developers are certified for EAS (experience with 5+ projects). According to EAS documentation, attestations can be revoked, and schemas supportup to 32 fields of arbitrary ABI types.

How can we choose the right identity solution for your project?

  1. Analytics & compliance — map the user journey: who is issuer, verifier, what data is needed, what cannot be stored on-chain under GDPR.
  2. Architecture design — choose between on-chain SBT, EAS, DID/VC stack. Data schema, ZK circuit (if needed).
  3. Implementation — smart contracts (Solidity 0.8.x, Foundry/Hardhat), issuer service (Node.js/Go), holder wallet (ethers.js viem), verifier contract.
  4. Testing & audit — unit tests, integration tests, fuzzing (Echidna), static analysis (Slither). Engage third-party auditor.
  5. Deploy & support — deploy to target networks, monitoring (Tenderly), documentation, team training.

Deliverables

  • Source code of smart contracts (Solidity, open-sourced under MIT)
  • Issuer backend (Node.js/Go) with API for issuing VC/SBT
  • Holder wallet integration (ethers.js viem, RainbowKit, WalletConnect)
  • Verifier contract/script
  • Architecture documentation, deployment runbook
  • 2 months post-deployment support

Timeline Estimates

Phase Duration
SIWE integration (wallet authentication) 2 to 4 weeks
SBT contracts + minting portal 3 to 6 weeks
EAS attestation schema + verification 4 to 8 weeks
Full DID/VC pipeline (issuer + holder + verifier) 3 to 6 months
ZK-based privacy-preserving credentials 5 to 9 months

Cost is calculated individually based on schema complexity, number of chains, and compliance requirements. Contact us to discuss your scenario and get an optimal plan.

Order a digital identity system development — get a consultation with a senior engineer specialized in this field. Also, book a technical audit of your current identity system — we will identify bottlenecks and suggest concrete improvements.