Open knowledge graph of crypto-asset regulation across jurisdictions. Classifications, obligations, citations, case law, and enforcement actions, sourced exclusively from public regulators and courts.
Disclaimer. lexcodex is a research dataset. It is not legal advice. Every claim links to a primary source so you can verify it yourself. Always consult a qualified attorney before relying on a classification for any commercial, regulatory, or compliance decision.
| Jurisdiction | Phase | Coverage |
|---|---|---|
| Switzerland (CH) | in progress | seed |
| European Union (EU) | planned | — |
| United States (US) | planned | — |
| Singapore (SG) | planned | — |
| Hong Kong (HK) | planned | — |
- Token taxonomy — payment, utility, security/asset, stablecoin (fiat-backed, asset-backed, algorithmic), NFT, governance, wrapped, LST/LRT, CBDC.
- Jurisdiction-specific classifications with
valid_from/valid_totime windows. - Obligations triggered by each classification — licensing, prospectus/whitepaper, AML/KYC, reserve, custody, audit, capital, marketing.
- Legal instruments — statutes, regulations, circulars, guidance, court rulings — with pinpoint citations.
- Enforcement actions — administrative orders, settlements, court judgments — with parties, penalties, and findings.
- Provenance on every claim — source URL, retrieval timestamp, snapshot hash, reviewer.
ontology/ RDF/OWL ontology + SHACL shapes
jurisdictions/ Per-jurisdiction TTL files (instruments, classifications, enforcement, sources)
tokens/ Jurisdiction-neutral token registry
snapshots/ Hashes + manifests for source documents (raw blobs in Cloudflare R2)
ingest/ Python crawl + extract + load pipeline
site/ SvelteKit static site (GitHub Pages)
api/ Cloudflare Worker exposing SQLite-backed query API
build/ Generated artifacts (SQLite, merged TTL, JSON-LD)
Three formats are published as GitHub Releases:
lexcodex.db— SQLite with FTS5 + sqlite-vec, queryable in browser, CLI, or any SQLite client.lexcodex.ttl— full RDF dump for SPARQL endpoints (Oxigraph, Apache Jena, GraphDB).lexcodex.jsonld— flat JSON-LD per token, optimized for LLM tool use and RAG.
Browse the graph at https://lexcodex.github.io (TBD).
See CONTRIBUTING.md. Every PR adds, updates, or supersedes a claim; every claim must cite a public primary source. Snapshot the source, hash it, and reference it in the PR.
MIT. See LICENSE.