CoinQuoter Docs
  • Introduction
    • What is CoinQuoter
    • Whitepaper
  • Getting Started
    • Wallet connection
    • Trading Session
  • Products
    • Taker
      • Advanced Mode
      • Transaction History
      • API Documentation
      • Websocket Documentation
    • Maker
      • Trade Requirements
      • Activity Blotter
      • Single Dealer Platform
    • Quoter
      • Stream Requests
      • Custom Pricing Source
      • System parameters
    • Fees and Referrals
    • Last Look Compensation
    • Roadmap
  • smart contracts
    • Quoter
      • Create Signature
    • Last Look Compensation
    • Audit
  • Others
    • Connect With Us
    • Terms of Service
    • Privacy Policy
Powered by GitBook
On this page
  • What is Session
  • How to create session
  • Session details
  • How to sign in to an existing session
  • Terminating session
  1. Getting Started

Trading Session

PreviousWallet connectionNextTaker

Last updated 2 years ago

What is Session

Session is a unique concept of a user session account that is saved on the blockchain on the market taker and market maker side. The session allows you to achieve low latency executions by storing a special key set (session account) in the browser or any other software that is responsible for trade execution. The session key also has a validity time.

After the user session account is assigned to the account holding transaction nominal on the blockchain, private key stored in the browser or in some other execution engine has the right to:

The session account on the market maker side is pushing trades to the blockchain for settlement, so it needs to hold enough tokens to cover gas costs.

This is an analogy to the regular centralised exchanges, banks, and Gmail accounts. In the case of these services, after login, we have access to certain functionality without the need of password re entrance (like executing trades on Binance or executing big FX trades on platforms like Bloomberg). User session account on the maker and taker side allows shortening the time between “market taker clicking the rate” to “market maker sending transaction to the blockchain for settlement” to milliseconds without a need to store private keys of the nominal holding accounts in the browser.

How to create session

To create a session, you must first wallet and then follow the steps below.

  1. Go to taker or maker website.

  2. Connect to your wallet and click "Start session"

3. Choose validity time for your session or type in a custom value, then click "Start session".

4. Once you confirm the session in your metamask wallet, the page will reload, and you will be connected to your session account.

Session details

To get the details of your session, click on the underlined remaining validity time next to a blockchain name.

We recommend copying your session account details such as public and private key, and save it somewhere safe. You will be able to sign in to your session account from other devices.

How to sign in to an existing session

When you open maker panel website and connect with your wallet on another device or browser, you will see "Session keys mismatch" alert. Your private session key is not available, so the alert appears.

To sign in to an existing session, open the session details and click "Manage session private key". Paste in your private session key, and you will be signed in to your account.

Terminating session

Open the session details and click the "Terminate session" button to end your session. The session will be terminated when you confirm the action in MetaMask wallet.

sign execution request in the name of market taker
push transaction to the blockchain in the name of market maker account.
connect to your Metamask