levackt / code-explorer

A code explorer for CosmWasm

Home Page:https://cosmwasm.github.io/code-explorer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CosmWasm Code Explorer

Use hosted

The explorer is deployed at https://cosmwasm.github.io/code-explorer and is configured for Heldernet.

Use local

You need to install the code-explorer dependencies before choosing which network you want to connect to:

yarn install

Run against testnets

You don't need to run a local network in order to connect to the testnets, you just need the right start script for each network.

Heldernet

yarn start-heldernet

Coralnet

yarn start-coralnet

Musslenet

Coming soon!

Run against local networks

Clone the CosmJS repo in order to run a local Launchpad or Stargate network:

git clone --depth 1 --branch v0.24.0-alpha.11 https://github.com/cosmos/cosmjs.git

Also make sure to comply with the prerequisites.

Launchpad

In order to run a local Launchpad network follow these instructions.

The start script that makes the code-explorer connect to a local Launchpad network is:

yarn start-launchpad

Stargate

In order to run a local Stargate network, follow these instructions.

The start script that makes the code-explorer connect to a local Stargate network is:

yarn start-stargate

Build instructions

You can build a code explorer and deploy it as static HTML/JS files.

Requirements: yarn, Node.js 10+

yarn install
PUBLIC_URL=https://code-explorer.musselnet.cosmwasm.com/ REACT_APP_BACKEND=musselnet yarn build

Credits

Background image from https://unsplash.com/photos/QqCLSA3EQUg

About

A code explorer for CosmWasm

https://cosmwasm.github.io/code-explorer/

License:Apache License 2.0


Languages

Language:TypeScript 95.8%Language:CSS 1.7%Language:JavaScript 1.6%Language:HTML 0.9%