JSPM

binance-utils

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q33302F
  • License ISC

Provide binance chain transaction build and signature

Package Exports

  • binance-utils

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (binance-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

binance-utils

Binance Chain JavaScript SDK allows browsers and node.js clients to interact with Binance Chain. Rewrite signatures and build transactions according to @binance-chain/javascript-sdk to make them build, sign, and separate broadcast transactions

Install and import

>$ npm i binance-utils --save
const Binance = require('binance-utils');
or
import Binance from 'binance-utils';

Modules

  • Transaction - Build an unsigned transaction object.
  • RawTransaction - Build an unsigned rawTransaction hex string.
  • BnbApi - Create binance API server.
  • BnbRpc - Node RPC client.
  • Wallet - Create or import BNB wallet, generate mnemonic, keystore.
  • utils - Utils
  • encoder - amino.encode
  • decoder - amino.decode
  • crypto - Core cryptographic functions.

API

API documentation