Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.
/ cosmoscan Public archive

Block Explorer for Band Protocol Decentralized Oracle Network

Notifications You must be signed in to change notification settings

bandprotocol/cosmoscan

Repository files navigation

Cosmoscan

Installation

yarn install

Download GraphQL Schema

<!-- For devnet(main branch) / testnet -->
npx get-graphql-schema https://graphql-lt6.bandchain.org/v1/graphql -j > graphql_schema.json

<!-- For mainnet -->
npx get-graphql-schema https://graphql-lm.bandchain.org/v1/graphql -j > graphql_schema.json

<!-- For local -->
npx get-graphql-schema https://devnet.d3n.xyz/hasura/v1//graphql -j > graphql_schema.json

Running App Development

In 2 separate tabs:

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

# Second tab
<!-- For devnet(main branch) / testnet -->
RPC_URL=https://laozi-testnet6.bandchain.org/api GRAPHQL_URL=wss://graphql-lt6.bandchain.org/v1/graphql LAMBDA_URL=https://asia-southeast1-testnet-instances.cloudfunctions.net/executer-cosmoscan GRPC=https://laozi-testnet6.bandchain.org/grpc-web FAUCET_URL=https://laozi-testnet6.bandchain.org/faucet yarn parcel index.html

<!-- For mainnet -->
RPC_URL=https://rpc.laozi1.bandchain.org GRAPHQL_URL=wss://graphql-lm.bandchain.org/v1/graphql LAMBDA_URL=https://asia-southeast1-testnet-instances.cloudfunctions.net/executer-cosmoscan GRPC=https://laozi1.bandchain.org/grpc-web yarn parcel index.html
RPC_URL=https://devnet.d3n.xyz/rpc/ GRAPHQL_URL=wss://devnet.d3n.xyz/hasura/v1/graphql LAMBDA_URL=https://asia-southeast2-band-playground.cloudfunctions.net/test-runtime-executor GRPC=https://devnet.d3n.xyz/grpc/ FAUCET_URL=https://devnet.d3n.xyz/faucet/request yarn parcel index.html

Serve to http://localhost:1234/

Build production

RPC_URL=https://laozi1.bandchain.org/api GRAPHQL_URL=wss://graphql-lm.bandchain.org/v1/graphql LAMBDA_URL=https://asia-southeast1-bandchain-293014.cloudfunctions.net/frontend-laozi-mainnet GRPC=https://laozi1.bandchain.org/grpc-web yarn build

About

Block Explorer for Band Protocol Decentralized Oracle Network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages