Skip to content

Explore transactions and accounts on the Stacks blockchain. Clone any contract and experiment in your browser with the Explorer sandbox.

License

Notifications You must be signed in to change notification settings

timstackblock/explorer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stacks 2.0 Explorer

An image of the Stacks Explorer

Getting started

The Stacks Explorer is built with react, next.js and @blockstack/ui. To run the explorer locally, you can clone this repo and install the dependencies needed. Make sure you have yarn installed.

yarn

Env variables

The application needs a couple of env variables to work properly:

MOCKNET_API_SERVER=https://crashy-stacky.zone117x.com
TESTNET_API_SERVER=https://stacks-node-api.blockstack.org

Run in development mode

To build and run the application, you can run this yarn task which will launch the application at http://localhost:3000.

yarn dev

Using a local mocknet

The Stacks Explorer connects to the Stacks Blockchain via an API server found here: stacks-blockchain-sidecar. The Explorer can connect and switch between a few different versions of the network: testnet, mocknet, and a local instance. To run a local instance of the Sidecar API, please read this. Once you have the Sidecar API running, it should be located at http://localhost:3999. You can then from within your local version of the Explorer switch between the three network options:

A gif of the network switcher found within the explorer

Building for production

To build for production, run yarn build which will run the default next.js build task.

About

Explore transactions and accounts on the Stacks blockchain. Clone any contract and experiment in your browser with the Explorer sandbox.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 97.4%
  • JavaScript 1.5%
  • CSS 1.1%