NEAR Intents
  • Overview
  • Integration
    • Distribution Channels
      • 1Click API
  • Market Makers
    • Message Bus
      • API
      • Usage
    • PoA bridge API
    • Verifier
      • Introduction
      • Deposits and withdrawals
        • NEAR Token treatment
        • Deposits
        • Balances, and identifying your token
        • Withdrawals
      • Account Abstraction
      • Intent types and execution
      • Signing Intents
      • Events
      • Example Transactions
      • Simulating intents
    • Examples
  • FAQs
  • Security
  • Chain and Address Type Support
Powered by GitBook
On this page

Architecture

Spot trading architecture

This document explains the architecture of NEAR Intents smart contracts that is used for spot trading of fungible tokens on multiple chains.

Design choices

  1. Speed. The solution prioritises speed.

  2. Security & Decentralisation. The solution is as decentralised and secure as possible. Speed matters more.

  3. Permissionless. The solution is permissionless (anyone can list any network or token and create a liquid market for it on their own).

Scalability. All the systems should be scalable, including on-chain contracts. NEAR architecture dictates that there should be a multitude of contracts that perform the same operation. From here we would call these contracts shards and the whole approach – sharded contracts.

Last updated 3 months ago