DeltaTrade
  • Introduction to DeltaTrade 🤖
    • Vision
    • Features
      • Trading Vault
        • Grid Trading
        • Swing Vault
        • DCA
        • Rebalancing Bot
      • MultiChain - Chain Abstraction(Coming Soon)
      • OrderBook(Coming Soon)
      • Full Platform Market Maker
      • AI Powered Strategy(Coming Soon)
    • Protocol fees
    • Fee referral rebate mechanism
    • Official Links
    • FAQ
  • Technical information
    • Security
      • Fund Security
      • Audit
      • Oracle
    • Implementation Concepts
    • Source of liquidity
  • Activities
    • DeltaDisk NFT
    • Testnet campaign
      • NFT Details
    • Gachapon
    • Delta Points
    • Ranking Competition
    • Burrow & Trade
    • Mining
  • User guide
    • Official DeltaBot Links
    • Introduction to Near Protocol
    • Introduction to DeltaBot Functional Modules
      • Home Page
      • Market
      • Vaults
      • DashBoard
      • LeaderBoard
    • How to Create a Trading Bot
    • Grid Trading Bot Creation Strategies
      • Wide Price Range
      • Narrow Price Range
      • Pure Buy Order Grid Strategy
      • Pure Sell Order Grid Strategy
      • Unbalanced Buy-Sell Order Grid Strategy
  • SDK
    • SmartContract
      • DCA
        • Token Storage Deposit
        • Deposit
        • Create DCA
        • Query DCA
      • Grid
      • Swing
    • JS
      • DCA
      • Grid
      • Swing
  • Business
    • Contact Us
Powered by GitBook
On this page
  1. Introduction to DeltaTrade 🤖
  2. Features

MultiChain - Chain Abstraction(Coming Soon)

PreviousRebalancing BotNextOrderBook(Coming Soon)

Last updated 1 year ago

How to support MultiChain?

DeltaTrade utilizes Near's Chain Abstraction technology to enable multi-chain support, allowing users to utilize DeltaTrade deployed on the Near blockchain without the need to hold a Near account.

Scheme

Creation Steps:

  1. Users invoke a method on a contract controlled by Chain Abstraction on ChainA, transferring assets into the contract while including the desired Trading Vault parameters and their signature.

  2. An Oracle detects the user's request on ChainA and relays it to the Near chain's contract.

  3. The DeltaTrade contract on Near creates a dedicated internal account for the ChainA user (or uses an existing one if already created), verifies the user’s signature and the provided parameters (the internal account records a nonce, which is part of the signature to prevent replay attacks). If verified, it credits the mapped assets and executes the creation of the Trading Vault according to the user's parameters.

Closing Steps:

  1. Users sign a "Close" signature and send it to DeltaTrade.

  2. DeltaTrade's Relayer role uploads the signature to the blockchain, sending it to the DeltaTrade contract.

  3. The DeltaTrade contract verifies the user’s signature and provided parameters; if they match, it executes the Close operation and signs a withdrawal transaction on ChainA using Chain Abstraction technology.

  4. DeltaTrade's Relayer obtains the Chain Abstraction signature and assists the user in executing the transaction on ChainA.

  5. The user receives their assets on ChainA.