Amahoro Pay - Celo Mainnet Payment SaaS Stack & SDK

Introduction & Mission

AmahoroPay is a Celo Mainnet payment SaaS stack (SDK → SaaS) built around four source-verified contracts.
Our mission is to let any vendor plug AMHR gateway features into their app so customers pay vendors directly: checkout, escrow, batch payouts, cross-chain swaps (settler-fronted settleCheckout), and gasless payments, while the relayer fronts on-chain liquidity and the SDK/SaaS handles signing, verification, limits, and webhooks.

Verified On-Chain Infrastructure (Celo Mainnet)

Anchored to verified Celo Mainnet contracts on Celoscan:

  • AMHR Token: 0x06CAe70F…B3FAa3bfa (ERC-20 with EIP-3009-style signed transfers, payMerchant, batch deposits/claims, access control).
  • AmahoroProcessorGuard: 0x031363E7…9159DAf1E (Spend limits, relayer authorization, secureBatchPayout gating, constructor bound to AMHR with initial limit 50,000).
  • AmahoroGateway Proxy: 0xD70c1f5e…D8C06135d (EIP-1967 UUPS proxy → impl 0x95548046…420E6a61a, initialized with guard/fee-recipient/treasury/owner and 100/50/50 bps).

The Problem & Our Solution

The Problem:
Merchants cannot safely accept token payments directly: raw contract calls are fragmented across AMHR + GUARD + Gateway, require private keys for server-signed relay, lack on-chain verification before crediting users (phantom-record risk), have no spend-limit/relayer gating for payouts, and expose no merchant dashboard. Customers also lack gasless paths and escrow protections.

Our Technical Solution:

  1. Server-signed EIP-155 relay: Pure-PHP Secp256k1 + RLP for gateway writes (checkout create, batch payout through GUARD’s secureBatchPayout).
  2. Public wallet-signed pages: For customer-controlled actions (payCheckout, depositEscrow, releaseEscrow, cancelCheckout, EIP-3009 transferWithAuthorization).
  3. On-chain event verification: Instant verification (CheckoutPaid, EscrowFunded, etc.) before flipping any DB row to eliminate phantom records.
  4. Security & Governance: Per-tier plan limits, SIWE-proven wallet registration (EIP-4361), CSRF protection, and webhook relay (HMAC).

Business Model & Monetization

AmahoroPay monetizes via six structured streams:

  1. Gas relay surcharge: Margin on CELO gas paid by the relayer.
  2. Merchant transaction commission: Default 1% (100 bps), locked on-chain via fees().merchantFeeBps.
  3. SaaS subscriptions: Plans payable in USDC/AMHR (Free, Pro Monthly, Pro Yearly, Enterprise).
  4. Batch / payroll fee: Degressive by recipient count managed via ProcessorGuard.
  5. Cross-chain swap spread & API overage tiers.

Target Impact Region: Global & Africa
Ecosystem Integration: Celo Mainnet & MiniPay readiness.

We welcome feedback, community questions, and discussions regarding liquidity pairing and ecosystem support!

Two things I’d tighten before more merchants switch on batch payouts. secureBatchPayout takes the funding source and recipients from the caller, so the operator and relayer keys end up deciding where a merchant’s approved balance goes. If the merchant signs each batch (EIP-712 over recipients, amounts and a nonce) and the guard checks that signature, your backend can still relay payouts without being able to change them, and a compromised server key stops being a merchant-funds problem.

On the fee: setMerchantFee waits 48 hours, but _authorizeUpgrade is onlyOwner with no delay and _setFee accepts up to 10,000 bps, so an upgrade can skip the wait. A hard cap well under 100% inside _setFee, and upgrades behind the same 48h delay (a TimelockController in front of the Safe), would make “locked on-chain” hold from a merchant’s point of view.

Hello! A huge thank you for this relevant feedback, these items have been added to our upgrade roadmap. Thanks again for this constructive contribution!