Skip to content

Commit 4d8ef3f

Browse files
author
Ilan
committed
Add docs
1 parent bc97e5c commit 4d8ef3f

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

book/src/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
- [Aptos](framework/components/blockchains/aptos.md)
4545
- [Sui](framework/components/blockchains/sui.md)
4646
- [TRON](framework/components/blockchains/tron.md)
47+
- [ZKSync](framework/components/blockchains/zksync.md)
4748
- [Optimism Stack]()
4849
- [Arbitrum Stack]()
4950
- [Chainlink](framework/components/chainlink.md)
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# ZKSync clients
2+
3+
We support [Anvil ZKSync](https://foundry-book.zksync.io/anvil-zksync/) memory blockchain in a Docker image.
4+
It is a fork of [Anvil](https://book.getfoundry.sh/anvil/) with support for ZK Sync transactions and ZK VM.
5+
6+
Components are managed as [EVM](./evm) components.
7+
8+
> The component will create a temporary Dockerfile that pulls the Anvil ZKSync executables from https://raw.githubusercontent.com/matter-labs/foundry-zksync/main/install-foundry-zksync
9+
> as per ZK Sync documentation.
10+
11+
## Configuration
12+
13+
Use `type: 'anvil-zksync'` to use Anvil ZKSync.
14+
15+
The configurable arguments are two:
16+
17+
- `chain_id`, defaults to `"260"`
18+
- `port`, defaults to `"8011"`
19+
20+
## Test Private Keys
21+
22+
Testing keys are exported in the `blockchain` go module under `AnvilZKSyncRichAccountPks`.

0 commit comments

Comments
 (0)