1.0.21 • Published 2 years ago
@a-dex/a-dex-sdk v1.0.21
a-dex-sdk
Usage
This is a Node.js module available through the
npm registry. Installation is done using the
npm install command:
npm install @a-dex/a-dex-sdkInitialize
Web library can be found in the dist folder
// standard import
const {
SwapActionGenerator,
SwapTransactionGenerator,
ChainApi,
RpcApi,
} = require("@a-dex/a-dex-sdk");
// ES6 import
import {
SwapActionGenerator,
SwapTransactionGenerator,
ChainApi,
RpcApi,
} from "@a-dex/a-dex-sdk";Documentation
ChainApi
Chain API client.
RpcApi
A-DEX RPC API client.
SwapActionGenerator
Helper class to construct swap contract actions which can be signed and pushed on chain.
SwapTransactionGenerator
Helper class to construct swap contract transactions which can be signed and pushed on chain.
Utils
Helper functions for math calculations and data formating.
1.0.21
2 years ago
1.0.20
2 years ago
1.0.19
2 years ago
1.0.18
2 years ago
1.0.17
2 years ago
1.0.16
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago