Skip to content

Commit

Permalink
Merge pull request #131 from 0xPolygon/km/cdk-testnet
Browse files Browse the repository at this point in the history
CDK/Add testnet page
  • Loading branch information
0xgraciegrace authored Jan 8, 2024
2 parents e3bb909 + de4ae12 commit c4e633f
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.vscode/
.vscode
.code
.idea
site/
Expand Down
7 changes: 0 additions & 7 deletions .vscode/settings.json

This file was deleted.

15 changes: 15 additions & 0 deletions docs/cdk/get-started/connect-testnet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Stavanger

The [CDK Stavanger testnet](https://polygon.technology/cdk-stavanger-testnet) is a validium testnet based on Sepolia.

- Add the RPC network details to your wallet by navigating to the add network input and entering the data as given in the table below.
- Use the faucet to get test ETH.
- Bridge assets from Sepolia to Stavanger using the bridge.
- Confirm your transactions with the block explorer.

| Use case | URL | Usage |
| ------- | ----------- | --------- |
| JSON RPC | https://sn2-stavanger-rpc.eu-north-2.gateway.fm | Make remote procedure calls to the CDK testnet. |
| Faucet | https://sn2-stavanger-faucet.eu-north-2.gateway.fm | Get testnet tokens. |
| Bridge | https://sn2-stavanger-bridge.eu-north-2.gateway.fm | Bridge tokens from Sepolia. |
| Block explorer | https://sn2-stavanger-blockscout.eu-north-2.gateway.fm | Confirm transactions with the explorer. |
7 changes: 7 additions & 0 deletions docs/cdk/get-started/deploy-validium.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,19 @@ Follow the steps below to deploy a CDK validium instance.

## 1. Deploy validium-specific contracts

!!! important
- Follow this step if you are deploying to a public testnet.
- For a local deploy, follow step 2 instead which deploys a local L1 network plus CDK contracts.

First, deploy the relevant contracts.

Follow the steps in the [CDK validium contracts repository's README](https://github.com/0xPolygon/cdk-validium-contracts).

## 2. Run the CDK validium node

!!! important
- If you are deploying to a public testnet, follow the previous step 1.

Next, set up and run the CDK validium node.

Follow the instructions in the [CDK validium node repository's README](https://github.com/0xPolygon/cdk-validium-node).
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ nav:
- CDK: cdk/index.md
- Overview: cdk/overview.md
- Get started:
- Connect testnet: cdk/get-started/connect-testnet.md
- Quickstart:
- Validium: cdk/get-started/quickstart-validium.md
- Rollup: cdk/get-started/quickstart-rollup.md
Expand All @@ -58,7 +59,6 @@ nav:
- Rollup: cdk/concepts/rollup.md
- Validium: cdk/concepts/validium.md
- Data availability: cdk/concepts/dac.md
# - API/SDK:
- Additional resources:
- CDK repos: cdk/resources/cdk-repo-reference.md
- zkEVM:
Expand Down

0 comments on commit c4e633f

Please sign in to comment.