LogoLogo
  • About
    • šŸš€Aark Digital
    • šŸ”­Our Vision
    • šŸ“–Step-By-Step Guide
      • Login (Connecting Wallet)
      • Deposit
      • Unlock Full Trading Potential
      • Receive Free fUSDC!
      • 1000x Trading
      • Perpetual Trading
    • ⚔1000x Mode
      • fUSDC (Fake USDC)
      • Fee Structure
      • 1000x Mode Policy
      • Key Structure
      • VIP System
    • šŸ“ˆPerpetual Mode
      • Orderly Network & Key Features
      • High Liquidity
      • Orderbook Trading
      • Cross-Chain Compatibility
      • Gass-Free Transaction
      • Extensive Trading Pairs
  • Architecture
    • šŸ‘Øā€šŸ’»Dev-Overview
  • 🦾Queue-Based Settlement
  • šŸ†“Gasless Transaction Framework
  • šŸ’¹Price Feed & RMM
  • šŸ‘€Advanced Volatility Monitoring System
  • Fundamentals
    • šŸ¤Tokenomics
      • Supply Allocation
      • Distribution Schedule
      • Governance
    • šŸ”Secuity
  • šŸŽØMedia Kit
Powered by GitBook
On this page
  • Introduction
  • 1. EIP-2612 Permit for Gasless Deposits
  • 2. Signature-Based Gasless Actions
  • Key Benefits

Gasless Transaction Framework

A transaction execution model that eliminates gas costs by leveraging cryptographic signatures and off-chain relayers.

Introduction

To eliminate gas-related friction, our protocol implements a gasless transaction framework, leveraging cryptographic signatures and off-chain relayers for cost-free user interactions. This framework comprises two core components:

1. EIP-2612 Permit for Gasless Deposits

  • We adopt the EIP-2612 standard, enabling users to sign an off-chain permit message using their private key. This permit, compliant with ERC-20 token standards, authorizes token transfers without requiring an on-chain approval transaction, reducing gas costs to zero for the user.

  • The signed permit is processed by off-chain relayers, which execute the deposit transaction on-chain, covering gas fees through a subsidized model. This can be expressed as:

gas(A)=0gas(A) = 0gas(A)=0

The relayer verifies ( S ) using ( A )'s public key and executes the transfer.

  • This mechanism is particularly advantageous for high-frequency traders, as it minimizes entry barriers and enhances user experience.

2. Signature-Based Gasless Actions

  • For other critical operations, such as order placement and cancellations, we employ ECDSA signature-based authentication. Users sign an off-chain message that authorizes the transaction, which is then executed on-chain by relayers or bundled with other actions.

  • The signature verification process ensures transaction integrity, using the following function:

V(S,P)→{True,False}V(S, P) \rightarrow \{True, False\}V(S,P)→{True,False}

where:

  • ( V ) is the verification function,

  • ( S ) is the signature,

  • ( P ) is the public key.

If verified, the transaction is executed, maintaining gas costs at zero for the user.

  • We use ECDSA encoding to ensure the process cannot retrieve the private key from the signed message in any way.

Key Benefits

  • Zero Gas Costs: Users can transact without spending gas fees.

  • Improved Security: Transactions are executed only with explicit user consent.

  • Enhanced User Experience: Reduces friction, especially for high-frequency traders.

  • Efficient Execution: Relayers handle transactions without compromising decentralization.

By integrating this framework, our protocol ensures seamless, gasless transactions while preserving security and decentralization.

PreviousQueue-Based SettlementNextPrice Feed & RMM

Last updated 2 months ago

šŸ†“