This monorepo contains all the Javascript packages provided by Open Web3 Stack.
- @open-web3/orml-types
- Polkadot.js types for Open Runtime Module Library (ORML).
- @open-web3/orml-api-derive
- Polkadot.js derives library for ORML.
- @open-web3/indexer
- A node.js indexer server for Substrate based chain.
- @open-web3/scanner
- A monitoring library for Substrate based chain.
- @open-web3/api
- Extended API library for polkadot.js.
- @open-web3/dispatcher
- A schedular / task runner library.
- @open-web3/fetcher
- Data fetcher library, useful for oracle server.
- @open-web3/util
- JS utilities.
- @open-web3/app-util
- Utilities for node.js application.
- @open-web3/asset-metadata
- asset metadata.
To start off, this repo uses yarn workspaces to organise the code. As such, after cloning, its dependencies should be installed via yarn, not via npm; the latter will result in broken dependencies.
To get started
- Clone the repo locally, via
git clone https://github.com/open-web3-stack/open-web3.js.git
- Ensure that you have a recent version of Node.js, for development purposes Node 10 is recommended.
- Ensure that you have a recent version of Yarn, for development purposes Yarn >=1.10.1 is required.
- Install the dependencies by running
yarn install
- Build the everything via
yarn run build
- Run all test cases via
yarn jest
- Run lint via
yarn lint