/code-explorer

A code explorer for CosmWasm

Primary LanguageTypeScriptApache License 2.0Apache-2.0

CosmWasm Code Explorer

Use hosted

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

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.

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://cosmwasm.github.io/code-explorer/ REACT_APP_BACKEND=cliffnet yarn build

Credits

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