Add Nitro node config for users and payments instructions #28

Merged
nabarun merged 8 commits from pm-add-nitro-node-config into main 2024-09-17 13:55:56 +00:00
Showing only changes of commit 0b4b9197fe - Show all commits

View File

@ -176,7 +176,7 @@ Nitro nodes can be run using Ansible either locally or on a remote machine; foll
Create a ledger channel with the bridge on L1 which is mirrored on L2 Create a ledger channel with the bridge on L1 which is mirrored on L2
* Run the following commands deployment machine * Run the following commands on deployment machine
* Set required variables: * Set required variables:
@ -277,7 +277,15 @@ Create a ledger channel with the bridge on L1 which is mirrored on L2
Perform payments using a virtual payment channel created with another Nitro node over the mirrored L2 channel with bridge as an intermediary Perform payments using a virtual payment channel created with another Nitro node over the mirrored L2 channel with bridge as an intermediary
* Run the following commands deployment machine * Run the following commands on deployment machine
* Switch to the `nitro-node` directory:
```bash
DEPLOYMENTS_DIR=<path-to-deployments-dir>
cd $DEPLOYMENTS_DIR/nitro-node
```
* Check status of the mirrored channel on L2: * Check status of the mirrored channel on L2:
@ -304,10 +312,6 @@ Perform payments using a virtual payment channel created with another Nitro node
* Set required variables: * Set required variables:
```bash ```bash
DEPLOYMENTS_DIR=<path-to-deployments-dir>
cd $DEPLOYMENTS_DIR/nitro-node
export BRIDGE_NITRO_ADDRESS=$(yq eval '.bridge_nitro_address' nitro-node-config.yml) export BRIDGE_NITRO_ADDRESS=$(yq eval '.bridge_nitro_address' nitro-node-config.yml)
# Counterparty to create the payment channel with # Counterparty to create the payment channel with