Skip to main content

@desmoslabs/desmjs

npm version

This package contains the core of DesmJS.

DesmosClient

Allows to easily create, sign and broadcast a transaction containing any kind of supported message. It extends @cosmjs/cosmjs SigningStargateClient and supports both SIGN_DIRECT and SIGN_AMINO_JSON signature methods.

In order to work sign transactions, it relies on a Signer.

Signer

Represents an abstract signer able to sign a transaction either using SIGN_MODE_DIRECT or SIGN_MODE_AMINO_JSON.

Compatibility table

Package versionDesmos version
2.0.xv2.3.x
3.0.xv3.0.x , v3.1.x, v3.2.x
4.0.xv4.0.x
4.1.xv4.1.x
4.2.xv4.2.x
4.3.xv4.3.x
4.4.xv4.4.x
4.5.xv4.5.x
4.6.xv4.6.x
4.7.xv4.7.x, v4.8.1
5.0.xv5.0.x
5.1.xv5.1.x, v5.2.x
6.0.xv6.0.x