Andr.js is a JavaScript SDK for writing applications that interact with the Andromeda ecosystem.
- Written in TypeScript
- Supports multi-chain connections
- Supports offline signing
- Supports GraphQL queries
- Custom clients for each chain
- Wallet generation and management for each chain
Grab the latest version off NPM:
sudo npm i -g @andromedaprotocol/andromeda.js
Please check the docs for notes on how to get set up and running.
Class | Description | Docs |
---|---|---|
AndromedaClient | A helper class to interact with the Andromeda ecosystem | Gitbook |
TerraClient | A helper class to interact with the Terra chain | Gitbook |
InjectiveClient | A helper class to interact with the Injective chain | Gitbook |
CosmClient | A helper class to interact with the Cosmos hub chain | Gitbook |
BaseChainClient | Generate and interact wallets for the connected chain | Gitbook |
ADOAPI | API to interact with Andromeda ADOs | Gitbook |
ADODBAPI | API for ADODB specific messages | Gitbook |
RegistryAPI | API for registry specific messages | Gitbook |
Wallet | Generate a client wallet by mnemonic | Gitbook |
EtherWallet | Generate an etherium wallet to be used on the Injective chain | Gitbook |
TerraWallet | Generate a wallet to be used on the Terra chain | Gitbook |
Queries that can be performed on Andromeda ADOs using GraphQL. Documentation on the different queries can be found here.