• This repository has been archived on 24/May/2022
  • Stars
    star
    171
  • Rank 222,266 (Top 5 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 6 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A collection of JavaScript libraries for Ethereum dapp development.

Build Status Coverage Status Gitter: Parity.js Riot: +Parity




Parity's JavaScript Stack

A collection of JavaScript libraries for dapp development.




Packages

This repository is a monorepo that we manage using Lerna. That means that we publish several packages to npm from the same codebase. If you are a dapp developer, we recommend you start with the following three high-level packages:

Package Version Docs Description
@parity/light.js npm (scoped) docs A high-level reactive library optimized for light clients.
@parity/light.js-react npm (scoped) README Easily integrate @parity/light.js with React.
@parity/api npm (scoped) Coming soon... Promise-based JSONRPC method wrapper, similar to web3.js.

And below are the lower-level packages, used internally, or by advanced users.

Package Version Docs Description
@parity/abi npm (scoped) docs Ethereum ABI encoder and decoder.
@parity/contracts npm (scoped) README Parity's contracts as ES6 classes.
@parity/electron npm (scoped) README Control the Parity Ethereum node from Electron.

Contributing

Dependencies

Install at least yarn version 1.4.2 and Node.js >=10.10.0

yarn --version // Should be at least 1.4.2

Tests

yarn test

Build

yarn build

Maintenance

  1. Fork the repo

  2. Clone your fork

git clone https://github.com/<INSERT_YOUR_GITHUB_USERNAME>/js-libs
  1. Check outdated dependencies
yarn outdated
  1. Create a branch
git checkout -b <INSERT_YOUR_BRANCH_NAME>
  1. Run tests, type checking, linting, and build
yarn test; yarn typecheck; yarn lint; yarn build
  1. Push the branch to your fork of the repo

  2. Integrate the updated library as a dependency. Example: If you want to test a branch of one of the js-lib packages in another project like Fether temporarily, then build js-libs and replace the /lib directory where it's a dependency on the Fether project. Then run Fether to use it:

~/paritytech/js-libs [my-branch-name] $ yarn build
~/paritytech/js-libs [my-branch-name] $ cp -r packages/my-package/lib ../fether/node_modules/@parity/my-package/lib
~/paritytech/js-libs [my-branch-name] $ cd ../fether
~/paritytech/fether [master] $ yarn start
  1. Create a pull request from your fork of the repo to the upstream master branch

License

All Parity's JavaScript libraries are open-source software licensed as MIT.

More Repositories

1

parity-ethereum

The fast, light, and robust client for Ethereum-like networks.
Rust
6,824
star
2

openethereum

(deprecated) The fast, light, and robust client for the Ethereum mainnet.
Rust
1,642
star
3

pwasm-tutorial

A step-by-step tutorial on how to write contracts in Wasm for Kovan
Rust
229
star
4

fether

Decentralized and light Ethereum Wallet
JavaScript
124
star
5

wordlist

Parity Brain Wallets Word List Library
JavaScript
85
star
6

parity-deploy

Parity deployment script.
Shell
81
star
7

sol-rs

Solaris - Solidity testing framework in Rust.
Rust
54
star
8

pwasm-std

WASM contracts standard library for Rust
Rust
54
star
9

pwasm-token-example

A simple ERC-20 compatible token contract written in Rust compiled into WebAssembly
Rust
48
star
10

pwasm-ethereum

Rust
32
star
11

kovan-validator-set

Validator set contracts for Kovan network.
JavaScript
32
star
12

pwasm-abi

Parity WASM Abi (Legacy and new)
Rust
29
star
13

whisper

Rust
16
star
14

pwasm-repo-contract

Sample repo contract written in Rust and compiled to WebAssembly
Rust
14
star
15

parity-poa-tutorial

A complete set of files produced in the Parity PoA chain tutorial.
14
star
16

3.1-db-upgrade-tool

OpenEthereum 2.5.13, 2.7.2, 3.0.1 to 3.1 DB upgrade tool
Rust
13
star
17

wasm-tests

Rust
11
star
18

name-registry

Registry used by Parity Name Registry and Certifier used by service transaction contract
JavaScript
9
star
19

devp2p

Extracted devp2p library from OpenEthereum repository
Rust
8
star
20

block-reward

Block reward contract interface
Solidity
8
star
21

private-tx

Private Transactions contracts for parity
JavaScript
7
star
22

openethereum.github.io

CSS
6
star
23

pwasm-test

pwasm-test is a set of tools to make it easy to test internal logic of contracts written using pwasm-std
Rust
6
star
24

lookup

Parity lookup API ; lookup an Ethereum address from an e-mail or a name
JavaScript
4
star
25

ethkey-js

Parity-compatible recovery phrase / private key utilities
JavaScript
4
star
26

homebrew-openethereum

Homebrew tap for OpenEthereum
Ruby
4
star
27

signature-registry

Solidity function signature registry
JavaScript
3
star
28

poa-cluster-ansible

Ansible scripts for setting up clusters of parity nodes
Python
3
star
29

auto-updater

Operations contracts for parity's auto-updater
JavaScript
2
star
30

pm

Project Management & Coordination Repository
2
star
31

token-registry

Token Registry and BasicCoin ERC20 contract used by Parity UI.
JavaScript
2
star
32

oe-devtools

Openethereum dev tools
Rust
2
star
33

dapp-registry

Dapp registry
JavaScript
2
star
34

sst_dump_aggregator

Calls sst_dump tools from rocksdb on folder and aggregates output
Rust
2
star
35

ethereum-rpc-json

JSON file of all ethereum's rpc methods supported by parity
JavaScript
2
star
36

github-hint

Content hash to github repo mapping contract
JavaScript
1
star
37

oe4

Rust
1
star
38

openethereum-landing

JavaScript
1
star
39

kovan-failover

Kovan poof of authority failover code.
JavaScript
1
star
40

template

Template to be used when creating new contract projects
Solidity
1
star