Four-Layer Stablecoin Infrastructure

Gasyard operates through four distinct layers that work together to enable seamless stablecoin payments across any interface. Gasyard Architecture Diagram Gasyard Architecture Diagram

Layer 1: Interface Layer (User Experience)

The top layer provides universal access through multiple interfaces, making stablecoins accessible anywhere.

Onchain Intents

Direct submission to gateway contracts on any blockchain - higher gas costs but immediate blockchain confirmation

Offchain Intents

Signed messages using resource balance for instant payments - perfect for consumer payments
Universal Distribution:
  • NFC Cards: Tap-to-pay at existing payment terminals
  • Messaging Apps: Send payments via SMS, WhatsApp, Telegram
  • QR Codes: Scan-to-pay for merchant transactions
  • Mobile Apps: Seamless in-app payment integration

Layer 2: Protocol Layer (Backend Services)

The core processing engine that coordinates all payment operations across the network.

Layer 3: Vault Layer (Base Chain Settlement)

All cross-chain operations settle on Base chain for unified balance management and instant finality.

Resource Vault Contract

Unified USD balances backed by USDC reserves - all user funds secured in audited smart contracts

Settlement Hub

Central settlement point for all cross-chain operations with 2-second block finality
Key Features:
  • 105%+ backing ratio with automated rebalancing
  • Instant finality with 2-second blocks
  • Transparent balances verifiable onchain
  • Direct USDC redemption always available

Layer 4: Liquidity Layer (Professional Solvers)

Professional liquidity providers that execute cross-chain payments instantly.

Intent Execution Flow

Step 1: Intent Creation

User creates signed intent →
Choose distribution method (NFC/messaging/app) →
Intent available for use across all interfaces

Step 2: Intent Processing

Recipient initiates payment →
Protocol validates intent & checks balance →
Solver selected for optimal execution

Step 3: Cross-Chain Execution

Solver executes on destination chain →
Settlement processed on Base →
Balances updated for all parties →
Confirmation sent to user & recipient

Step 4: Final Settlement

Resource balances resolved →
Solver reimbursed for liquidity provision →
Protocol fees collected →
Transaction recorded immutably

Two Intent Types Explained

Onchain Intents

Direct Blockchain
  • User submits intent directly to gateway contract
  • Higher gas costs but immediate blockchain confirmation
  • Best for large transactions and B2B payments
  • Full decentralization with on-chain audit trail

Offchain Intents

Resource Balance
  • User submits signed message without blockchain transaction
  • Instant creation and distribution at near-zero cost
  • Perfect for consumer payments and high-frequency use
  • Backed by resource balance system with vault settlement

Why This Architecture Wins

Universal Compatibility

Works across any blockchain, any interface, any payment amount

Instant Execution

Solver network eliminates bridging delays and complexity

Economic Efficiency

Optimal routing and competitive marketplace reduce costs

Programmable Control

Rich payment rules enable business logic and automation

User Journey Example

Sarah’s Global Coffee Purchase:
1

Unified Deposit

Deposits 1000 USDC from Ethereum → Unified vault balance on Base
2

Create Intent

Creates NFC payment intent → Programmed to physical card
3

Global Payment

Taps card at Tokyo cafe → Intent processed instantly
4

Instant Settlement

Merchant receives USDC on Base → 2-second settlement confirmation
The Magic: Sarah never deals with bridging, gas fees, or blockchain complexity. One deposit enables global payments anywhere.
Next Step: Learn about Resource Vaults - the unified treasury system that makes this possible.