Skip to content

Latest commit

 

History

History
57 lines (33 loc) · 1.57 KB

README.md

File metadata and controls

57 lines (33 loc) · 1.57 KB

Omnibridge

The OmniBridge multi-token extension for the Arbitrary Message Bridge is the simplest way to transfer ANY ERC20/ERC677/ERC827 token to and from the xDai chain.

Available Scripts

In the project directory, you can run:

React App

yarn dapp:start

Runs the React app in development mode.
Open http://localhost:3000 to view it in the browser.

The page will automatically reload if you make changes to the code.
You will see the build errors and lint warnings in the console.

yarn dapp:test

Runs the React test watcher in an interactive mode.
By default, runs tests related to files changed since the last commit.

yarn dapp:build

Builds the React app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Subgraph

yarn subgraph:auth

GRAPH_ACCESS_TOKEN=your-access-token-here yarn subgraph:auth

yarn subgraph:prepare-<network>

Generates subgraph.yaml for particular network. Supported networks are kovan, sokol, xdai and mainnet.

yarn subgraph:codegen

Generates AssemblyScript types for smart contract ABIs and the subgraph schema.

yarn subgraph:build

Compiles the subgraph to WebAssembly.

yarn subgraph:deploy-<network>

Deploys the subgraph for particular network to the official Graph Node.