Skip to content

Latest commit

 

History

History
 
 

scan

Scan

Installation

yarn install
yarn global add local-cors-proxy

Download GraphQL Schema

npx get-graphql-schema  https://d3n.bandprotocol.com/v1/graphql -j > graphql_schema.json

Running App Development

In 2 separate tabs:

NOTE: should be either GUANYU or WENCHANG.

# First tab
yarn bsb -make-world -w -ws _ # ReasonML compiler

# Second tab
RPC_URL=https://d3n.bandprotocol.com/rest GRAPHQL_URL=wss://d3n.bandprotocol.com/v1/graphql LAMBDA_URL=<LAMBDA_URL> FAUCET_URL=https://d3n.bandprotocol.com/faucet/request NETWORK=<NETWORK> yarn parcel index.html --no-cache # Serve to localhost:1234

Build production

RPC_URL=https://d3n.bandprotocol.com/rest GRAPHQL_URL=wss://d3n.bandprotocol.com/v1/graphql LAMBDA_URL=<LAMBDA_URL> FAUCET_URL=https://d3n.bandprotocol.com/faucet/request NETWORK=<NETWORK> yarn build