Name: js-abi
Owner: Parity Technologies
Description: Moved to https://github.com/Parity-JS/abi
Created: 2017-07-27 11:29:40.0
Updated: 2018-01-22 09:51:30.0
Pushed: 2017-11-17 14:30:54.0
Homepage:
https://github.com/Parity-JS/abi
Size: 313
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
Other Committers
User | Email | Most Recent Commit | # Commits |
README
@parity/abi
A port of https://github.com/paritytech/ethabi to JavaScript
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