0.0.6 • Published 2 years ago

@uni-sign/cosmos-msgs v0.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Cosmos Messages

Cosmos message codecs (including Stargate and CosmWasm messages)

Usage

npm install @uni-sign/cosmos-msgs

Make Encoder and Converter used by Cosmos signers (taking MsgSend as example)

import { MsgSend } from "@uni-sign/cosmos-msgs/cosmos/bank/v1beta1/tx";
import { toConverter, toEncoder } from "@uni-sign/cosmos/utils";
import { AminoSigner } from "@uni-sign/cosmos/amino";

const encoder = toEncoder(MsgSend);
const converter = toConverter(MsgSend);

const signer = new AminoSigner(<AUTH>, [encoder], [converter], <rpc-endpoint>);

License

MIT License (MIT) & Apache License

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

0.0.5

2 years ago

0.0.4

2 years ago

0.0.6

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

1.0.2

2 years ago