yarn install
yarn global add local-cors-proxy
npx get-graphql-schema https://d3n.bandprotocol.com/v1/graphql -j > graphql_schema.json
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
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