MADANG
Turn upcoming cash into money you can use today.
Earn points, unlock advances, and automate payments — beyond a simple balance.
Three Cashflow Powers
Not a funnel — choose one axis or combine them.
Earn it now
Secure economic value in the present.
GIWA rewards · Point Packs · merchant credit · reserve proofboard
Use it now
Turn upcoming cash into liquidity today.
Advances · Cashflow Credentials · partner quotes · scheduled invest
Automate it with AI
Mandates and agents operate the money flow.
Autopay · Agent Budgets · x402 agentic commerce
Where the business runs
MADANG is the first SoftFlow reference app. Consumers, merchants, finance partners, and agents share one cashflow layer.
Consumers & creators
Stack points and perks, use upcoming settlements early, and hand off recurring pay.
Merchants
Sell Point Packs with a reserve proofboard — liability never exceeds reserve.
Finance partners
Quote and fund advances on Cashflow Credentials with waterfall settlement.
AI agents & APIs
Buy APIs and tasks via x402 under policy-governed Agent Budgets.
Your balance is only part of your money
Traditional finance apps center on the balance you already hold. MADANG also includes points, upcoming settlements, recurring revenue and agent budgets as programmable cashflow.
Legacy finance
- Current balance
- Pay
- Send
- Invest
MADANG
- Balance + points & credits
- Upcoming settlements · recurring revenue
- Verify → Mandate → Program
- Advance · pay · AI automation
From spending only after money arrives — to using the flow of money in advance.
Product family
Start with Earn + Advance for acquisition and cashflow data, then expand Pay · Market · Auto.
MADANG Earn
Point Packs · GIWA rewards · merchant credit · reserve proofboard
MADANG Advance
Advances · cashflow scoring · partner quotes · settlement waterfall
MADANG Pay
Checkout · up.id send · recurring · split · gas sponsorship
MADANG Market
Discover points, advances, investments, FX, agents and APIs
MADANG Auto
Mandates · AI CFO · agent budgets · x402 commerce
MADANG Proof
Dojang · Cashflow Credentials · receipts · reconciliation
Three-layer platform
MADANG is not a single monolith — it is the first SoftFlow reference application.
- App
MADANG
Consumer · merchant · partner · messenger · agent surfaces
- Extension
GIWA Experience Kit
Dojang · up.id · Flashblocks · AA · Paymaster · x402 · Proof
- Framework
SoftFlow (BWL)
Cashflow · Mandate · Point · Advance · Market · Agent Commerce · Ledger
- Rails
Execution Rails
GIWA · bank · card · PG · points · VASP · securities partners
GIWA-native trust & execution
Dojang is GIWA’s trust infrastructure — not MADANG IP. MADANG’s edge is Trust Composition: combining Dojang, up.id, Flashblocks and AA with cashflow, mandates and settlement.
- DojangScroll — isVerified(address, attesterId) · Verified Balance · Verified Code (official @giwa-io/dojang)
- up.id — non-transferable username.up.id for send, pay and merchant display
- Flashblocks — Preconfirmed → Included → Safe → Finalized (preconfirm ≠ final settlement)
- Rundler AA — UserOperation lifecycle · Paymaster sponsorship · ERC-4337 v0.6/v0.7
- x402 Facilitator — machine payment engine for SoftFlow PaymentIntents
Official Dojang schemas are Address, Balance Root, Verified Balance and Verified Code. Merchant / Cashflow / Reserve live in the BWL Credential Layer. Never trust the Indexer alone — re-verify on EAS at use time.
Live on GIWA Sepolia
Verify it today
Earn Proofboard and x402 agent commerce are live. SoftFlow modules sit under MADANG; the SoftFlow product site ships separately.
- Earn · liability ≤ reserve proofboard
- HTTP 402 research API · Agent /pay
- DojangScroll · EAS re-verify client
- Bilingual · light/dark · mobile-ready
Execution architecture
apps/webMADANG brand landing + Earn / Agent dAppapps/apiEarn · Agent · SoftFlow runtime adaptersservices/facilitatorx402 verify / settle@softflow/*Kernel · Manifest · Mandate · Points · Runtime@madang/giwaDojang · EAS · Flashblocks · capabilitiescontracts/MockUSDC · CommerceReceipt · Registry
Smart contract deploymentDeploy MockUSDC + core contracts to GIWA Sepolia with Foundry
- Foundry installed (forge, cast)
- GIWA Sepolia testnet ETH for gas
- PRIVATE_KEY — deployer wallet (never commit)
- GIWA_RPC_URL=https://sepolia-rpc.giwa.io
GIWA Sepolia has no documented official USDC — DeployDemo ships MockUSDC. Confirm settlement:onchain via /status. See docs/E2E.md and docs/PLATFORM.md.
1. Install deps & build
cd contracts
forge install
forge build
forge test2. Deploy demo stack (MockUSDC + core)
export GIWA_RPC_URL=https://sepolia-rpc.giwa.io
export PRIVATE_KEY=0x...
export MADANG_TREASURY=0x...
forge script script/DeployDemo.s.sol \
--rpc-url $GIWA_RPC_URL \
--broadcast \
--chain-id 913423. Set addresses on API/Facilitator env
USDC_ADDRESS=0x...
MADANG_TREASURY=0x...
COMMERCE_RECEIPT_ADDRESS=0x...
ALLOW_MOCK_SETTLE=false