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

syvita/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 Deploy Docker

Getting started

The Stacks Explorer is built with react, next.js and @stacks/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:

NEXT_PUBLIC_MAINNET_API_SERVER=https://stacks-node-api.stacks.co
NEXT_PUBLIC_TESTNET_API_SERVER=https://stacks-node-api.testnet.stacks.co
NEXT_PUBLIC_LEGACY_EXPLORER_API_SERVER=https://explorer-api.legacy.blockstack.org
NEXT_PUBLIC_DEPLOYMENT_URL=https://explorer.stacks.co
NEXT_PUBLIC_MAINNET_ENABLED="true"
NEXT_PUBLIC_DEFAULT_POLLING_INTERVAL="10000"

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

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

 
 
 

Languages

  • TypeScript 98.9%
  • JavaScript 1.1%