npm.io
1.0.0-alpha.7 • Published 7 years ago

@helixnetwork/bundle-validator

Licence
MIT
Version
1.0.0-alpha.7
Deps
5
Size
109 kB
Vulns
0
Weekly
0
Stars
5

@helixnetwork/bundle

Syntactically validates bundle structure and signatures.

Installation

Install using npm:

npm install @helixnetwork/bundle

or using yarn:

yarn add @helixnetwork/bundle

API Reference

bundle-validator~validateSignatures(bundle)
Param Type
bundle Array.<Transaction>

Validates all signatures of a bundle.

bundle-validator~isBundle(bundle)
Param Type
bundle Array.<Transaction>

Checks if a bundle is syntactically valid. Validates signatures and overall structure.

Keywords