@susy-js/abi

5.1.3 • Public • Published

@susy-js/abi

A port of https://octonion.institute/susytech/sofabi to JavaScript

Build Status npm (scoped) npm dependencies Status docs

Full Documentation

Contributing

Clone the repo and install dependencies via npm install. Tests can be executed via npm run test

Installation

Install the package with npm install --save @susy-js/abi from @susy-js/abi

Implementation

Approach

  • this version tries to stay as close to the original Rust version in intent, function names & purpose
  • it is a basic port of the Rust version, relying on effectively the same test-suite (expanded where deemed appropriate)
  • it is meant as a library to be used in other projects, i.e. @susy-js/api

Differences to original Rust version

  • internally the library operates on string binary representations as opposed to Vector bytes, lengths are therefore 64 bytes as opposed to 32 bytes
  • function names are adapted from the Rust standard snake_case to the JavaScript standard camelCase
  • due to the initial library focus, the cli component (as implemented by the original) is not supported nor implemented

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 5.1.3
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 5.1.3
    5

Package Sidebar

Install

npm i @susy-js/abi

Weekly Downloads

5

Version

5.1.3

License

MIT

Unpacked Size

188 kB

Total Files

105

Last publish

Collaborators

  • superstring