@andromedaprotocol/andromeda.js
v1.0.0
Published
<p> </p> <p align="center"> <img src="https://github.com/andromedaprotocol/andromeda.js/blob/development/image/andromeda-js-logo.png" width=800> </p>
Downloads
485
Keywords
Readme
About
Andr.js is a JavaScript SDK for writing applications that interact with the Andromeda ecosystem.
Features
- 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
Installation
Grab the latest version off NPM:
sudo npm i -g @andromedaprotocol/andromeda.js
Usage
Please check the docs for notes on how to get set up and running.
Classes
|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|
GraphQL Queries
Queries that can be performed on Andromeda ADOs using GraphQL. Documentation on the different queries can be found here.