Skip to content

Developer Overview

This section covers the technical architecture, smart contract specifications, integration guides, and deployment instructions for the AsiliChain Protocol.

SectionContents
ArchitectureSingle-chain Mantle design, Ethereum relationship, Hedera HCS
Smart ContractsAll 7 contracts — specifications, interfaces, deployment order
RWA ArchitectureBatchToken as RWA, UWRSA legal anchor, Mantle TaaS
Payment IntegrationKotani Pay + TransFi integration guides
SecurityAccess control, audit requirements, upgrade safety
Failure ModesHow the protocol behaves under adverse conditions
Smart contracts: Solidity 0.8.20 · OpenZeppelin Upgradeable
Chain: Mantle Network (chainId 5000) — ZK Rollup via OP Succinct/SP1
Audit log: Hedera HCS
Farmer payouts: Kotani Pay API (USDC → MTN MoMo)
MFI deposits: TransFi (bank wire → USDC → LendingVault)
Price feeds: Chainlink AggregatorV3Interface
RPC + webhooks: Alchemy
Off-chain storage: Pinata (IPFS) · Supabase
USSD gateway: Africa's Talking (*384#)
Government data: MAAIF NTS API (primary) · direct agent (fallback)
Legal anchor: Uganda Warehouse Receipt System Act (2006)

These three items are blocking — do not deploy to mainnet without them:

VerificationTestBlocking?
Kotani Pay USDC on Mantle → Uganda MTN MoMoSend $1 test payout from Mantle Sepolia to Uganda MTN test numberYES
TransFi Uganda bank wire → USDC → MantleSandbox deposit simulationYES (Phase 2)
Alchemy Mantle webhook fires for EXPORTED eventEmit test event, confirm webhook in < 30sYES