Socket
Socket
Sign inDemoInstall

@provenanceio/wallet-utils

Package Overview
Dependencies
57
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @provenanceio/wallet-utils

Typescript Utilities for Provenance Blockchain Wallet


Version published
Weekly downloads
22
increased by15.79%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 22 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc