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

harrybasra95/hirosystems-explorer

This branch is 662 commits behind hirosystems/explorer:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

45c4ddd · May 3, 2023
Apr 7, 2023
Sep 13, 2022
Feb 16, 2023
Feb 16, 2023
Apr 10, 2023
Jul 25, 2022
Dec 5, 2022
May 3, 2023
May 7, 2020
Mar 10, 2020
Feb 16, 2023
Mar 9, 2020
Aug 30, 2022
May 10, 2020
Feb 16, 2023
May 3, 2023
Mar 9, 2020
Apr 4, 2023
Mar 9, 2020
Apr 10, 2023
Mar 10, 2020
Jan 9, 2021
May 27, 2020
Mar 28, 2023
May 27, 2020
Oct 3, 2022
Apr 14, 2023
Jan 9, 2021
Apr 10, 2023
Aug 1, 2022
Mar 28, 2023
Feb 17, 2023
Feb 17, 2023
Feb 17, 2023
Feb 17, 2023
Feb 17, 2023
Feb 16, 2023
Feb 16, 2023

Repository files navigation

Stacks 2.0 Explorer

An image of the Stacks Explorer CI/CD

Environment Status
Prod Prod App Status
Staging Staging App Status

Getting started

The Stacks Explorer is built with React, next.js and @stacks/ui.

To run the explorer locally, first clone this repo.

Next let's make sure you have the tools to install the projects dependencies:

  1. Install NodeJS that includes npm
  2. Install Pnpm

We highly recommend using Homebrew.

Now open your Terminal, and make sure you are in the /explorer folder to run pnpm i to install the dependencies:

pnpm i

Env variables

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

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

If you are in a mac, you'll need to add this to /etc/paths

Run in development mode

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

pnpm dev

Building for production

To build for production, run pnpm 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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.9%
  • Other 1.1%