2.12.0 • Published 10 months ago

@provenanceio/wallet-utils v2.12.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
10 months ago

Provenance Blockchain Foundation - Wallet Utils

Typescript Utilities for Provenance Blockchain Wallet

Status

Latest Release Apache 2.0 License LOC Commitizen friendly

Use

Import the dependency

npm install @provenanceio/wallet-utils --save

The package json import will look like this: "@provenanceio/wallet-utils": "^0.2.0"

Below is a quick example of how to use the utils to prepare a message:

import { buildMessage, createAnyMessageBase64 } from "@provenanceio/wallet-utils";

const type = 'MsgDelegate';
const sendMessage = {
    delegatorAddress,
    validatorAddress,
    amount: { denom: 'nhash', amount: sendAmountNHash },
  };
  const messageMsgSend = buildMessage(type, sendMessage);
  const message = createAnyMessageBase64(type, messageMsgSend as Message);

System Requirements

  • node >= 16.14 (LTS)
  • npm >= 8.0 (included with node 16)

    It's recommended to use n (GitHub) or nvm (GitHub) to manage your local node/npm versions

Contributing

Read the contributing guide to learn about our development process, how to submit bugfixes and improvements, and how to build and test your changes.

2.13.0

10 months ago

2.13.1-alpha.3

10 months ago

2.13.1-alpha.2

10 months ago

2.13.1-alpha.1

10 months ago

2.12.0

2 years ago

2.11.0

2 years ago

2.10.0

2 years ago

2.9.0

3 years ago

2.8.0

3 years ago

2.7.0

3 years ago

2.6.0

3 years ago

2.3.0

3 years ago

2.1.2

3 years ago

2.2.0

3 years ago

2.1.1

3 years ago

2.5.0

3 years ago

2.4.1

3 years ago

2.1.4

3 years ago

2.4.0

3 years ago

2.1.3

3 years ago

2.5.1

3 years ago

2.1.5

3 years ago

2.1.0

3 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

2.0.0

4 years ago

1.3.0

4 years ago

1.0.1

4 years ago