Skip to content

thanhbinhpc2007/autonity-cax-tool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Centralized Auton Exchange (CAX) Tools

This script provide to interact with the Centralized Auton Exchange (CAX) .

Exchange Resources

Prerequisites

Ensure the following dependencies are installed:

  1. jq: JSON processor for bash

    apt install jq
  2. httpie: Modern command-line HTTP client

    curl -SsL https://packages.httpie.io/deb/KEY.gpg | sudo gpg --dearmor -o /usr/share/keyrings/httpie.gpg
    sudo echo "deb [arch=amd64 signed-by=/usr/share/keyrings/httpie.gpg] https://packages.httpie.io/deb ./" > /etc/apt/sources.list.d/httpie.list
    sudo apt update
    sudo apt install httpie

Quick Setup

  1. Clone the CAX tool repository:

    git clone https://github.com/Dedenwrg/autonity-cax-tool.git
    cd autonity-cax-tool
  2. Copy the default environment file:

    cp .env.default .env
  3. Make the CAX script executable:

    chmod +x cax.sh

Usage

Run the script using the following command:

./cax.sh

The script provides the following options:

  1. Generate API Key
  2. View Balance
  3. View Order Books
  4. Orderbook Information
  5. Place Order
  6. Check Open Order
  7. Cancel Order
  8. Withdraw
  9. Check Deposits & Withdraw History
  10. Exit

Follow the prompts and input the required information for each action.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%