Skip to content

Commit 8db8317

Browse files
Merge branch 'main' of https://github.com/0xPolygon/polygon-docs into cdk/da-int
2 parents 6cadf1d + 773b138 commit 8db8317

File tree

5 files changed

+25
-4
lines changed

5 files changed

+25
-4
lines changed

docs/cdk/how-to/quick-test-stack.md

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
A quick and easy method for testing a running CDK stack, whether in validium or rollup mode, is by sending a zero-value transaction and examining the result.
22

3-
## Cast method
3+
## Send transaction with cast
44

55
In a terminal window, run the following command where the mnemonic is used just for testing and the address can be any valid account address.
66

@@ -30,6 +30,26 @@ to 0x66ec…89fd
3030

3131
Status `1` signifies a successful transaction.
3232

33-
<!--
34-
## MetaMask method todo:
35-
-->
33+
## Send transaction with MetaMask
34+
35+
1. Whichever stack you're working with, inspect the logs to find the `zkevm-node-rpc` details and add the URL to MetaMask. For example, in the Kurtosis stack you should see something like:
36+
37+
```sh
38+
zkevm-node-rpc-001 http-rpc: 8123/tcp -> http://127.0.0.1:32803
39+
```
40+
41+
2. Add the network details manually to MetaMask and accept the defaults and auto-populating fields.
42+
43+
![MetaMask manual network entry](../../img/cdk/manual-network-entry.png)
44+
45+
3. In local/test setup you will find a pre-funded account with private key: `0x12d7de8621a77640c9241b2595ba78ce443d05e94090365ab3bb5e19df82c625`. Import the account into MetaMask.
46+
47+
<center>
48+
![Import pre-funded account](../../img/cdk/account.png){ width=45% }
49+
</center>
50+
51+
4. Send a transaction to another MetaMask account.
52+
53+
![Transaction sending success](../../img/cdk/tx-success.png)
54+
55+
</br>

docs/img/cdk/account.png

115 KB
Loading
289 KB
Loading

docs/img/cdk/tx-success.png

120 KB
Loading

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ nav:
8181
- Configure prover: cdk/get-started/deploy-rollup/configure-prover.md
8282
- Start node: cdk/get-started/deploy-rollup/start-node.md
8383
- Start services: cdk/get-started/deploy-rollup/start-services.md
84+
- Kurtosis [EXPERIMENTAL]: '!import https://github.com/0xPolygon/kurtosis-cdk?branch=main'
8485
- Connect to CDK testnets: cdk/get-started/connect-testnet.md
8586
- How to:
8687
- Integrate a DAC: cdk/how-to/integrate-da.md

0 commit comments

Comments
 (0)