Nexus Gateway: Bridging Legal Contracts & Smart Contracts
Smart contract code and off-chain legal contracts are often disconnected. A legal document might state "only the project owner can mint tokens," but if the Solidity code misses an onlyOwner modifier, a breach occurs with zero programmatic enforcement.
Nexus Gateway solves this by using a Digital Twin v3.1 parser that maps legal clauses directly to Solidity function signatures, visibility, modifiers, and breach conditions.
Key Features
-
Free Solidity Security Checker (Dry-Run)
- Simulates 7 breach scenarios (BS-001 to BS-007) without registration or API keys.
- Evaluates deployability, risk levels (Low, Medium, Critical), and actionable recommendations.
-
Machine-to-Machine (M2M) API Billing
- Built on Polygon PoS using EIP-712 pull-payment permits.
- No manual subscription management; clients sign off-chain permits, and the gateway executes micro-transactions in USDC.
-
Legal-Code Mapping
- Generates bilingual (English/Indonesian) legal contracts side-by-side with compiled Solidity modules (ERC-20, ERC-721, Escrow).
Try the Security Checker Right Now
You can test the dry-run endpoint directly from your terminal using curl:
bash
curl -X POST [https://xibzsthfrbomefnvbicb.supabase.co/functions/v1/hello-world/gateway/dry-run](https://xibzsthfrbomefnvbicb.supabase.co/functions/v1/hello-world/gateway/dry-run) \
-H "Content-Type: application/json" \
-d '{"source_code": "pragma solidity ^0.8.20; contract Token { function mint(address to, uint256 amount) public {} }"}'
Top comments (0)