An agent that receives USD₸, converts it to IDRX (Indonesian rupiah stablecoin) on Textile FX, and pays the IDRX out to a named recipient - all on Celo mainnet (chain 42220), with an ERC-8021 attribution tag on every transaction and an ERC-8004 on-chain identity.
Built for the Celo “Agents Open for Business” hackathon (Loops House), track Stablecoin Corridors. Submission deadline: 7 Dec 2026, 09:00 GMT (16:00 WIB).
GitHub repo · ERC-8004 registration.json · Work wallet on CeloScan
Read live from Celo mainnet via public RPC. No wallet connection, no signature, nothing is sent.
| Item | Live value |
|---|---|
| Latest block | Loading… |
| ERC-8004 agent ID | 10131 - owner: Loading… Registry 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432 · token 10131 on CeloScan |
| Work wallet CELO | Loading… |
| Work wallet USD₸ | Loading… |
| Work wallet IDRX | Loading… |
| Recipient IDRX 0xAC9B…1aF8 (outside the team) | Loading… |
The full $1.00 payout run is done: on 27 Nov 2026 at 21:37 WIB the agent
paid 1.00 USD₸ on Textile FX and delivered 18,439.70 IDRX to the
named recipient (0xAC9B…1aF8, outside the team). Firm quote
rfq_8MOq_ogcAwK_gQMy: pay 1.00 USD₸, buy 1,843,970 atomic IDRX.
The recipient balance in the live table above reads 18,439.70 IDRX. Everything below
is already proven live on mainnet:
| What | Live proof |
|---|---|
| Funding swap: 14 CELO → 0.711710 USD₸ (Ubeswap V2) | Tx 0xa3f7fcb6… (block 83889289), 27 Nov 2026, after a user top-up of 13 + 3 CELO |
| Approve USD₸ to Textile reactor | tx 0xdc628523…, block 83889424, success, gas 53,953 |
| Textile swap: 1.00 USD₸ → 18,439.70 IDRX | tx 0x6413cd83…, block 83889434, success, gas 196,493 |
| Transfer 18,439.70 IDRX to recipient | tx 0xf9f01ba3…, block 83889462, success |
| ERC-8004 registration (agent ID 10131) | tx 0x4fc5e5e4…, block 83720943, 25 Nov 2026 |
| CELO → USD₸ swap #1: 2 CELO → 0.103105 USD₸ | tx 0x5e298f01… (Ubeswap V2), 25 Nov 2026 |
| CELO → USD₸ swap #2: 4.25 CELO → 0.213413 USD₸ | tx 0xb75ff647… (Ubeswap V2), block 83721910, 25 Nov 2026 |
| Textile RFQ floor $1.00 proven live | Firm request for 0.10 USD₸ rejected HTTP 400: “sellAmount is below the RFQ minimum (1000000 atomic units)”. Preview of the same size passes (preview does not enforce the floor). |
| Unit tests | npm test - 23 passed / 0 failed (offline, no key) |
transactions.swap exactly as returned.Every transaction carries the ERC-8021 attribution suffix for code
celo_41b8d909dcde (plus the Loops House code celo_e94fe5d67772 when set).
git clone https://github.com/belski21-growl/idrx-payout-agent.git
cd idrx-payout-agent
npm install
npm test # unit tests (offline, no key)
node agent/idrx-payout-agent.mjs --dry-run # preview quote + plan, sends nothing
A live payout run needs a funded work wallet (≥ $1.00 USD₸, the Textile floor) and the key via env var only - see the README. No live run is triggered from this page.
Contracts: USD₸ 0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e · IDRX 0x18Bc5bcC660cf2B9cE3cd51a404aFe1a0cBD3C22 · Textile LimitOrderReactor 0xa9AA0a64769cBed4d3B1Ceb4Df01CdE915C235b3