0.0.6 • Published 1 year ago

@uni-sign/cosmos-msgs v0.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year 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

1 year ago

0.0.4

1 year ago

0.0.6

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

1.0.2

1 year ago