AI Trader Typescript SDK

AI Trader provides a fully supported TypeScript SDK with the source code in the AI Trader-core GitHub repository. Much of the functionality of the Typescript SDK can be found in the Rust and Python SDKs. Nevertheless, AI Trader strongly encourages you to use the Typescript SDK for app development whenever possible.

In this guide we will demonstrate how to connect to the AI Trader network,Check API

JavaScript SDK

The @BSC-aitrader(@eth-aitrader)/sdk package provides a set of tools for interacting with AI Trader.

Installation data

npm install @BSC-aitrader/sdk
npm install @eth-aitrader/sdk
type AITClient struct {
	Account  *module.AccountApi
	Contract *module.ContractApi
	Ledger   *module.LedgerApi
	Mintage  *module.MintageApi
	Network  *module.NetApi
	Util     *module.UtilApi
} 

<project>
  <dependencies>
    <dependency>
      <groupId>io.aitrader</groupId>
      <artifactId>aitrader</artifactId>
      <version>0.0.1</version>
    </dependency>
  </dependencies>
</project>

Refresh the page to view the latest documents

Last updated