hackquest logo
  • Learn
  • Explore Course
  • Build
  • Explore Hackathon
  • Project Archive
  • Community
  • Forum
  • Global Event
  • My Community
  • Co-learning
  • Organization Hub
  • More
    • Glossary
    • Blog
    • Faucet
    • Job Station
    • Press Kit
    • Founder
hackquest logo

vLEI-Gate

Verifiable institutional KYB for RWA launches on BNB Chain: GLEIF vLEI credentials gate who can launch, invest and earn yield on Flap, enforced on-chain.

Videos

Project image 1
Project image 2
Project image 3
Project image 4

Tech Stack

Foundry
Viem
KERI
FastAPI
Next
React
Solidity
Python

Description

Tokenized real-world assets need to know which legal entity is investing, and today's KYB lives in PDFs: not verifiable, not revocable, never on-chain.

vLEI-Gate brings GLEIF's verifiable LEI (vLEI, built on KERI/ACDC) on-chain to gate RWA launches on BNB Chain.

How it works

1. An authorized officer presents their vLEI chain (GLEIF root → Qualified vLEI Issuer → legal entity → official role) and signs a one-time challenge with both their vLEI key and their wallet.

2. Our verifier checks every signature, the pinned GLEIF root, revocation (TEL) and key rotation (KEL), then issues an EIP-712 attestation that is registered on BNB Chain for 24 hours, tied to the company's LEI.

3. Smart contracts enforce it: only a verified officer can create a launch through our Flap launcher factories; only verified entities can contribute, with caps per legal entity (not per wallet); 75% of the trading tax flows in USDT to a gated vault that only verified holders can earn from.

4. When a credential is revoked, one transaction cuts the wallet or the whole entity: no contribution, no claim, no yield.

Sponsor integrations

- Flap Pool Launch: three custom launcher factories, enabled on BSC Testnet, plus a gated dividend vault.

- CoinMarketCap × Atlas: USD-denominated targets and caps priced by Atlas signed Pull API reports, verified on-chain (AtlasSignedFeed), cross-checked against CoinMarketCap; contributions pause if they deviate by more than 2% or the price is stale.

- Cournot Intelligence Oracle: market-implied rate risk for a tokenized-Treasury offering (10Y yield > 4.74%, p = 0.74); above our threshold, investors must acknowledge a rate-risk notice before contributing.

Live app: https://vlei-gate-kyb.fly.dev

Code: https://github.com/KritzHeng/vLEI-Gate

Progress During Hackathon

Built from scratch during the hackathon:

- Smart contracts (Foundry, 147 tests passing): vLEI registry with EIP-712 attestations, wallet/entity revocation, v1 and v2 Flap launcher factories (USDT and BNB quote), beacon-proxy launchers with per-entity USD caps, a gated dividend vault, and AtlasSignedFeed.

- vLEI verifier (Python/FastAPI, keripy): full chain verification including root pinning, KEL key state, TEL revocation, holder and wallet challenge signatures and role policy; test credentials include rejection cases (rogue root, revoked, rotated key).

- KYB Portal (Next.js + viem): verify, offerings, portfolio and compliance flows, with a Demo mode for rejection scenarios.

- Deployed on BSC Testnet: 37-tx full journey (launch, graduation, claim, USDT vault yield, revocation); contracts verified on BscScan; Flap enabled our three launcher factories.

- Live Atlas keeper (signed reports relayed every 30 min), CoinMarketCap cross-check, logged live Cournot calls.

- Hosted on Fly.io (frontend + API).

Fundraising Status

Not fundraising. Self-funded hackathon prototype; open to pilots with RWA issuers and Qualified vLEI Issuers.

Team Leader
KKritz Heng
Project Link
Deploy Ecosystem
BNB Smart ChainBNB Smart Chain
Sector
RWADeFiOtherInfra