@aleph-sdk/client
v1.2.4
Published
The Aleph.im TypeScript SDK provides a set of tools to interact with the Aleph.im network. This iteration of the SDK is a complete rewrite of the original [aleph-ts-sdk](https://npmjs.com/package/aleph-ts-sdk) and splits the monolithic package into smalle
Downloads
422
Readme
Aleph.im TypeScript Client
The Aleph.im TypeScript SDK provides a set of tools to interact with the Aleph.im network. This iteration of the SDK is a complete rewrite of the original aleph-ts-sdk and splits the monolithic package into smaller, more manageable packages.
Each chain has its own package:
- @aleph-sdk/avalanche
- @aleph-sdk/base
- @aleph-sdk/cosmos
- @aleph-sdk/ethereum
- @aleph-sdk/ethereum-ledger
- @aleph-sdk/nuls2
- @aleph-sdk/solana
- @aleph-sdk/substrate
- @aleph-sdk/tezos
so that you can only install the packages and dependencies you need.
This particular client package is a wrapper arount @aleph-sdk/message and delivers a similar interface to the exemplary Python SDK.
Additional domain and DNS-related functions can be found in @aleph-sdk/dns or in the official docs.
Establishing ALEPH streams to create VPS instances using Superfluid with a compatible chain can be done with @aleph-sdk/superfluid.
Installation
The Aleph.im TypeScript SDK is available on NPM, and can be installed using npm
:
npm install @aleph-sdk/client
If you want to use the AuthenticatedAlephHttpClient
to write messages, you will also need to install the package for the chain you want to use to sign your messages:
npm install @aleph-sdk/ethereum
Usage
See the official Aleph Docs for more information on how to use the SDK.