Access Block Explorers in Scaffold-Stark
Our framework allows users to access Starknet block explorers seamlessly, offering an intuitive way to track and explore blockchain data. This feature is designed to integrate with popular Starknet block explorers, simplifying blockchain analysis for developers and users alike.
What do Starknet Block Explorers Do?โ
Starknet block explorers provide users with an interface to access, track, and visualize blockchain data on the Starknet network. Whether monitoring transactions, inspecting smart contracts, or analyzing block-level data, these tools make it easy to interact with on-chain activities.
Scaffold-Stark v3 uses Voyager as the default block explorer, configured via the explorer prop on StarknetConfig. Links go to sepolia.voyager.online for Sepolia and voyager.online for Mainnet.
Features:โ
| Feature | Description |
|---|---|
| Transaction Tracking | View and track transactions, including hashes, sender/recipient addresses, and amounts. |
| Smart Contract Inspection | Analyze smart contracts, their code, balances, and transaction history. |
| Block Data Access | Retrieve block-level information like block numbers, timestamps, and transaction counts. |
| Address Lookup | Look up specific addresses to view transaction history, balances, and other on-chain details. |
How to Access Starknet Block Explorers:โ
-
Navigate your Scaffold Stark project and locate the "Block Explorer" button at the bottom left of the page.
-
Click the "Block Explorer" button to open a list of available block explorers.
-
Based on the chain set in the
Scaffold.configfile, the respective explorers for Sepolia or Mainnet will be provided. -
You'll be redirected to the chosen block explorer, where you can search for transactions, smart contracts, or addresses using the search bar.
-
Utilize the tabs and filters to further explore and analyze blockchain data.
For a comprehensive list of all available Starknet explorers, check out Block explorers.
By following these steps, you can seamlessly access Starknet block explorers to track and explore blockchain data on Sepolia or Mainnet, depending on the current configuration.