Skip to content

Commit

Permalink
fixup! fixup! fixup! chore: blockscout example project
Browse files Browse the repository at this point in the history
Signed-off-by: Nadezhda Popova <nadezhda.popova@limechain.tech>
  • Loading branch information
nadezhdapopovaa committed Jan 16, 2025
1 parent befae87 commit 5e4cefb
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions tools/blockscout-example/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
# Running the Relay with Blockscout
# Blockscout

BlockScout is an open-source blockchain explorer designed to provide users with a comprehensive interface for interacting with Ethereum-compatible networks, enhancing transparency and accessibility in blockchain ecosystems. It allows users to view and analyze blockchain data, including transactions, blocks, smart contracts, and token information, while providing real-time monitoring of transactions and block confirmations through a user-friendly interface that enables both technical and non-technical users to easily interact with smart contracts and track various tokens and their transactions.

- Documentation: https://docs.blockscout.com/
- Repository: https://github.com/blockscout/blockscout/tree/master

## Requirements
Local node repository needed
```bash
git clone git@github.com:hiero-ledger/hiero-local-node.git
```

## Step 1: Set Up the Relay with Localnode

Expand All @@ -7,7 +18,7 @@
```env
BATCH_REQUESTS_ENABLED=true
```
2. In the `docker-compose.yml` file:
2. In the `docker-compose.yml` file in the local node:
- add `BATCH_REQUESTS_ENABLED` to the envorment of the relay:
```
BATCH_REQUESTS_ENABLED: "${BATCH_REQUESTS_ENABLED}"
Expand Down Expand Up @@ -58,7 +69,7 @@
**curl example** for getting the balance of an address:
- blockscout doc: https://docs.blockscout.com/devs/apis/rpc/account#get-the-native-token-balance-for-an-address
- make sure to replace `instance_base_url` with `localhost`
- when testing different moduls make sure to give the correct value for `module`
- when testing different modules make sure to give the correct value for `module`
- choose an `accountAddress` from one of the accounts that the local node generates upon starting
- curl request:
```bash
Expand Down

0 comments on commit 5e4cefb

Please sign in to comment.