0.0.1-beta.34 • Published 8 months ago

@interchainjs/injective v0.0.1-beta.34

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@interchainjs/injective

Transaction codec and client to communicate with any injective blockchain.

Usage

npm install @interchainjs/injective

Taking direct signing mode as example.

// import * from "@interchainjs/injective"; // Error: use sub-imports, to ensure small app size
import { DirectSigner } from "@interchainjs/injective/signers/direct";

const signer = new DirectSigner(<AUTH>, <ENCODER>[], <RPC_ENDPOINT>); // **ONLY** rpc endpoint is supported for now
const result = await signer.signAndBroadcast(<MESSAGE>[]);
console.log(result.hash); // the hash of TxRaw
  • See @interchainjs/auth to construct <AUTH>
  • See @interchainjs/injective-msgs(on progress) to construct <ENCODER>s and <CONVERTER>s, and also different message types.

Implementations

  • direct signer from @interchainjs/injective/signers/direct
  • amino signer from @interchainjs/injective/signers/amino
  • eip712 signer from @interchainjs/injective/signers/eip712

License

MIT License (MIT) & Apache License

Copyright (c) 2024 Cosmology (https://cosmology.zone/)

0.0.1-alpha.33

8 months ago

0.0.1-alpha.32

8 months ago

0.0.1-beta.34

8 months ago

0.0.1-beta.33

8 months ago

0.0.1-alpha.30

8 months ago

0.0.1-alpha.31

8 months ago

0.0.1-beta.29

8 months ago

0.0.1-beta.28

8 months ago

0.0.1-beta.27

8 months ago

0.0.1-beta.26

8 months ago

0.0.1-beta.25

8 months ago

0.0.1-beta.21

8 months ago

0.0.1-beta.20

8 months ago

0.0.1-beta.18

8 months ago

0.0.1-beta.19

8 months ago

0.0.1-beta.16

8 months ago

0.0.1-beta.14

8 months ago

0.0.1-beta.15

8 months ago

0.0.1-beta.12

9 months ago

0.0.1-beta.13

9 months ago

0.0.1-beta.2

1 year ago

0.0.1-beta.1

1 year ago

0.0.1-beta.0

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago