Socket
Socket
Sign inDemoInstall

@parity/abi

Package Overview
Dependencies
3
Maintainers
7
Versions
76
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @parity/abi

Ethereum ABI encoder and decoder


Version published
Weekly downloads
330
increased by33.6%
Maintainers
7
Install size
3.28 MB
Created
Weekly downloads
 

Readme

Source

@parity/abi

A port of https://github.com/paritytech/ethabi 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 @parity/abi from @parity/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. @parity/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

Keywords

FAQs

Last updated on 10 Feb 2020

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc