npm-upload-9781

1.0.56 • Public • Published

Install

npm i npm-upload-9781

About

This module exposes the core MDS library, plus some helper libs - events, commands and sql

Import

Import libs like
import { Decimal, commands, sql, MDS, Coin, Token, TransactionListItem } from 'npm-upload-9781'

Exposes

events - Minima Events helper lib.

commands - Minima Commands helper lib.

sql - Minima Sql helper lib.

MDS - Paddy's core MDS.js library. Don't need to use because everything is wrapped in the events, commands and sql libs. But it's here if you need an escape hatch.

Decimal - Helper libs use Decimal.js for floating point numbers. Use this import rather than import Decimal.js directly so your app code and lib code is on the same version.

Status, NetworkPeer, Token, TokenNFTDetail, NetworkStatus, Address, Coin, MMRProof, PublicKey, SignatureWitnessProof, SignatureWitness, Script, Proof, Witness, Magic, WitnessBurn, TransactionBurn, TransactionInput, TransactionOutput, Transaction, TransactionListItem, TransactionBody, SuperParents, TransactionHeader, Txpow, Value, TokenGenerator, State, MaximaMessage - Core types used in and returned by Minima.

TODO

  • Implement all methods in commands
  • Update command methods with tsdoc annotation
  • Check existing type info and add more
  • Update events with latest minima

Usage

  • call events.onInit() to initialise minima when you start your app (eg in App.jsx)

Sample App

Using this library in a react javascript app

Readme

Keywords

none

Package Sidebar

Install

npm i npm-upload-9781

Weekly Downloads

1

Version

1.0.56

License

ISC

Unpacked Size

124 kB

Total Files

19

Last publish

Collaborators

  • neilshah2930