Skip to content

Commit

Permalink
feat: add explorer and portal to zk chain guide
Browse files Browse the repository at this point in the history
  • Loading branch information
zk-Lumi authored Dec 11, 2024
1 parent 3d3a4a6 commit 6a4b0ad
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions content/tutorials/custom-zk-chain/10.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,24 +206,30 @@ zkstack server
With this, your L1 chain should be running at port `8545`, and the `zk_chain_1` node should be running at port `3050`.
## Portal
## Setting up the portal
Once you have at least one chain initialized, you can run the [portal](https://github.com/matter-labs/dapp-portal) - a
web-app to bridge tokens between L1 and L2 and more:
The [Portal](https://github.com/matter-labs/dapp-portal) module is a web-app that allows you to:
- Bridge & transfer tokens to your ZK chain.
- View balances.
- Add contacts for quick and easy access.
Once you have at least one chain initialized, you can run the portal app locally:
```bash
zkstack portal
```
This command will start the dockerized portal app using configuration from `apps/portal.config.json` file inside your
ecosystem directory. You can edit this file to configure the portal app if needed. By default, portal starts on
ecosystem directory. You can edit this file to configure the portal app if needed.
You can now navigate to the portal web-app. By default, portal frontend starts on
`http://localhost:3030`, you can configure the port in `apps.yaml` file.
## Explorer
## Setting up a block explorer
For better understanding of the blockchain data, you can use the
open source [block explorer](https://github.com/matter-labs/block-explorer) - a web-app to view and inspect transactions, blocks,
contracts and more.
A block explorer is a web-app that lets you view and inspect transactions, blocks,
contracts and more. A [free open source block explorer](https://github.com/matter-labs/block-explorer) is available for your ZK chain.
First, each chain should be initialized:
Expand All @@ -250,7 +256,9 @@ zkstack explorer run
```
This command will start the dockerized explorer app using configuration from `apps/explorer.config.json` file inside
your ecosystem directory. You can edit this file to configure the app if needed. By default, explorer starts on
your ecosystem directory. You can edit this file to configure the app if needed.
You can now navigate to the explorer web-app. By default, explorer frontend starts on
`http://localhost:3010`, you can configure the port in `apps.yaml` file.
## Funding a wallet on your chain
Expand Down

0 comments on commit 6a4b0ad

Please sign in to comment.