Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access block explorer #30

Merged
merged 9 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions docs/quick-start/accessing-block-explorers.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# 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.

### 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:

1. Navigate to the [Scaffold-Stark web app](https://scaffold-stark-demo.vercel.app/) and locate the "Block Explorer" button at the bottom left of the page.

<img src="/img/block-explorer-button.png" alt="block-explorer-button" style={{ width: '50%', height: 'auto' }} />
2. Click the "Block Explorer" button to open a list of available block explorers.

<img src="/img/block-explorer-popup.png" alt="block-explorer-popup" style={{ width: '50%', height: 'auto' }} />

3. Select your preferred block explorer from the list below:
- [Starkscan](https://starkscan.co)
- [Voyager](https://voyager.online)
- [StarkCompass](https://starkcompass.com/)

4. Based on the chain set in the `Scaffold.config` file, the respective explorers for Sepolia or Mainnet will be provided.
5. You'll be redirected to the chosen block explorer, where you can search for transactions, smart contracts, or addresses using the search bar.
6. 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](https://docs.starknet.io/documentation/tools/ref_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.
Binary file added static/.DS_Store
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No commit this file

Binary file not shown.
Binary file added static/img/.DS_Store
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No commit this file

Binary file not shown.
Binary file added static/img/block-explorer-button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/block-explorer-popup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading