Update perform swaps instructions

This commit is contained in:
Shreerang Kale 2024-10-30 15:42:05 +05:30 committed by nabarun
parent aaf5d0f85b
commit 973d687bbe

View File

@ -623,7 +623,7 @@ Perform swaps using a swap channel created with another Nitro node over the mirr
### Performing swaps ### Performing swaps
* Ensure that environment variables for asset addresses are set: * Ensure that environment variables for asset addresses are set (should be done by both parties):
```bash ```bash
export GETH_CHAIN_ID="1212" export GETH_CHAIN_ID="1212"
@ -633,7 +633,7 @@ Perform swaps using a swap channel created with another Nitro node over the mirr
export ASSET_ADDRESS_2=$(jq -r --arg chainId "$GETH_CHAIN_ID" '.[$chainId][0].contracts.TestToken2.address' assets.json) export ASSET_ADDRESS_2=$(jq -r --arg chainId "$GETH_CHAIN_ID" '.[$chainId][0].contracts.TestToken2.address' assets.json)
``` ```
* Get all active swap channels for a specific mirrored ledger channel * Get all active swap channels for a specific mirrored ledger channel (should be done by both parties)
* To get mirrored ledger channels: * To get mirrored ledger channels: