Coder Social home page Coder Social logo

gweesin / cosmoscan-rescript Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bandprotocol/cosmoscan-rescript

0.0 0.0 0.0 3.3 MB

Block Explorer for Band Protocol Decentralized Oracle Network

Home Page: https://www.cosmoscan.io/

JavaScript 0.12% CSS 0.24% HTML 0.16% ReScript 99.48%

cosmoscan-rescript's Introduction

ย 

BandChain - Decentralized Data Delivery Network

What is Cosmoscan

Cosmoscan is block explorer for BandChain network

How to Run on local machine

generate graphql_schema.json

npx get-graphql-schema https://graphql-lt6.bandchain.org/v1/graphql -j > graphql_schema.json

installed the dependencies

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

installed the dependencies

yarn


### run the complier

```sh
yarn start

start web server

# TESTNET
# (in another tab) Run the development server
RPC_URL=https://laozi-testnet6.bandchain.org/api GRAPHQL_URL=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 server

# DEVNET
# (in another tab) Run the development server
RPC_URL=https://devnet.d3n.xyz/rpc/ GRAPHQL_URL=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 server

# MAINNET
# (in another tab) Run the development server
RPC_URL=https://laozi1.bandchain.org/api GRAPHQL_URL=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 server

# run test
GRPC=https://laozi-testnet6.bandchain.org/grpc-web yarn test

cosmoscan-rescript's People

Contributors

xxibcill avatar babybunn avatar pzshine avatar taobun avatar evilpeach avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.