You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add explorer + portal + prover to zk chain quickstart (#287)
<!--
Thank you for contributing to the ZKsync Docs!
Before submitting the PR, please make sure you do the following:
- Update your PR title to follow [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/)
- Read the [Contributing
Guide](https://github.com/matter-labs/zksync-docs/blob/main/CONTRIBUTING.md).
- Understand our [Code of
Conduct](https://github.com/matter-labs/zksync-docs/blob/main/CODE_OF_CONDUCT.md)
- Please delete any unused parts of the template when submitting your PR
-->
# Description
@itsacoyote@MexicanAce
- Updated the explorer and portal usage to use the new zkstack cli
commands.
- Updated zkstack prover guide to use the new zkstack cli commands.
- Moved "validium in zk stack" higher in dropdown instead of being last.
- Updated some inconsistent titles to match format of others.
Possibly a bit OCD of me to do this, but was playing with zkstack today
and they stayed in my mind bothering me hahahah 😉
<!-- Please describe what are the changes and what they are solving for
in this PR. -->
## Linked Issues
<!-- If you have any issues this PR is related to, link them here. -->
<!--
Check out
https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue
on how to automate linking a GitHub Issue to a PR.
-->
## Additional context
---------
Co-authored-by: Igor Aleksanov <[email protected]>
@@ -26,12 +26,12 @@ or any other wallet with funds, to deposit into your ZK chain via the bridge.
26
26
Once you have the accounts with funds on the L1 base layer, you can do a deposit via the bridge to your ZK chain,
27
27
and start interacting with your ZK chain using the L2 funded account.
28
28
29
-
## Using your ZK chain RPC
29
+
## Using your chain RPC
30
30
31
-
Your server contains both HTTPS as well as WebSocket (WS) services that are fully web3 compatible (and contain some extra ZK Stack functionalities).
31
+
Your server contains both HTTPS as well as WebSocket (WS) RPC services that are fully web3 compatible (and contain some extra ZK Stack functionalities).
32
32
Learn more on the [API reference page](/zksync-protocol/api).
33
33
34
-
###Using zksync-cli
34
+
## Using zksync-cli
35
35
36
36
[ZKsync CLI](/zksync-era/tooling/zksync-cli) allows you to easily interact and develop applications on your ZK chain.
37
37
When executing any command with ZKsync CLI, you can specify RPC urls for both L1 and L2.
You can save the chain configurations for your ZK chain with ZKsync CLI by [adding a new configuration](/zksync-era/tooling/zksync-cli/configuring-chains).
46
46
47
-
## Using the dApp Portal
47
+
## Using the Portal
48
48
49
-
The [dApp Portal](https://github.com/matter-labs/dapp-portal) module allows you to:
49
+
The [Portal](https://github.com/matter-labs/dapp-portal) module is a web-app that allows you to:
50
50
51
51
- Bridge & transfer tokens to your ZK chain.
52
52
- View balances.
53
53
- Add contacts for quick and easy access.
54
54
55
-
You can run the Portal module locally, and point it to your ZK chain configuration. It comes with scripts that help
56
-
pull the ZK chain configuration from your zksync-era repo and adapt it to portal needs. Learn more
57
-
on GitHub in the [dApp Portal project](https://github.com/matter-labs/dapp-portal). An example command would look like:
55
+
Once you have at least one chain initialized, you can run the portal app locally:
58
56
59
57
```bash
60
-
npm run hyperchain:configure ../zksync-era
61
-
npm run dev:node:hyperchain
58
+
zkstack portal
62
59
```
63
60
64
-
You can now navigate to the displayed Portal URL (typically <http://localhost:3000>).
61
+
This command will start the dockerized portal app using configuration from `apps/portal.config.json` file inside your
62
+
ecosystem directory. You can edit this file to configure the portal app if needed.
65
63
66
-
### Using Block Explorer
64
+
You can now navigate to the portal web-app. By default, portal frontend starts on
65
+
`http://localhost:3030`, you can configure the port in `apps.yaml` file.
67
66
68
-
A [free open source block explorer](https://github.com/matter-labs/block-explorer) is available for your ZK chain. The block explorer contains three components
0 commit comments