Add instructions to setup and run testnet L2 and Nitro deployments #26

Merged
nabarun merged 22 commits from sk-l2-setup into main 2024-09-12 13:31:18 +00:00
Showing only changes of commit 3b6dd2b2c6 - Show all commits

View File

@ -12,24 +12,20 @@
## Prerequisites
* laconic-so: see [installation](https://git.vdb.to/cerc-io/stack-orchestrator#install)
* On deployments VM(s):
* Ansible: see [installation](https://git.vdb.to/cerc-io/testnet-ops#installation)
* laconic-so: see [installation](https://git.vdb.to/cerc-io/stack-orchestrator#install)
* Check versions to verify installation:
* Local:
```bash
laconic-so version
ansible --version
```
* Clone the `cerc-io/testnet-ops` repository:
* Clone the `cerc-io/testnet-ops` repository:
```bash
git clone git@git.vdb.to:cerc-io/testnet-ops.git
```
* Ansible: see [installation](https://git.vdb.to/cerc-io/testnet-ops#installation)
<details open>
<summary>L2 Optimism</summary>
@ -57,13 +53,13 @@
### Setup
* Following commands have to be executed in `testnet-ops/l2-setup` directory
* Switch to `testnet-ops/l2-setup` directory on your local machine:
```bash
cd testnet-ops/l2-setup
```
* Copy the `l2-vars-example.yml` vars file
* Copy the `l2-vars-example.yml` vars file:
```bash
cp l2-vars-example.yml l2-vars.yml
@ -398,6 +394,8 @@
The required config file should be generated at `/srv/bridge/nitro-node-config.yml`
Check in the file at location `ops/stage2/nitro-node-config.yml`
</details>
<details open>
@ -1059,10 +1057,23 @@
## Domains / Port Mappings
```bash
laconicd.laconic.com -> 26657
laconicd.laconic.com/api -> 9473/api
faucet.laconic.com -> 4000
loro-signup.laconic.com -> 3000
wallet.laconic.com -> 5000
loro-console.laconic.com -> 4001
# Machine 1
https://laconicd.laconic.com -> 26657
https://laconicd.laconic.com/api -> 9473/api
https://faucet.laconic.com -> 4000
https://loro-signup.laconic.com -> 3000
https://wallet.laconic.com -> 5000
https://loro-console.laconic.com -> 4001
# Machine 2
https://sepolia.laconic.com -> 8545
wss://sepolia.laconic.com -> 8546
https://optimism.laconic.com -> 9545
wss://optimism.laconic.com -> 9546
bridge.laconic.com
Open ports:
3005 (L1 side)
3006 (L2 side)
```