IOTA Explorer is a network explorer for the IOTA network, similar in functionality to Etherscan or Solana Explorer. Use IOTA Explorer to see the latest transactions and objects.
Requirements: Node 20.0.0 or later.
Warning: The Explorer needs an indexer endpoint configured as API url in your network config.
Dependencies are managed using pnpm. You can start by installing dependencies in the root of the iota repository:
$ pnpm install
All
pnpmcommands below are intended to be run in the root of the iota repo.
To start the explorer dev server, you can run the following command:
pnpm explorer dev
This will start the dev server on port 3000, which should be accessible on http://localhost:3000/
Start validators locally:
cargo run --bin iota-localnet start --force-regenesis --with-faucet --with-indexerIn a separate terminal, you can now run the end-to-end tests:
pnpm --filter iota-explorer playwright testThis runs a series of end-to-end browser tests using the website as connected to the static JSON dataset. This command is run by the GitHub checks. The tests must pass before merging a branch into main.
Builds the app for production to the build folder.
It bundles React in production mode and optimizes the build for the best performance.
Run linting check (prettier/eslint).