Add ops instructions to setup snowball frontend and backend #32

Merged
nabarun merged 21 commits from deep-stack/testnet-laconicd-stack:ag-snowball-docs into main 2024-10-30 10:16:29 +00:00
Showing only changes of commit 8b6f49992a - Show all commits

View File

@ -56,6 +56,16 @@
export ASSET_ADDRESS_1=$(jq -r --arg chainId "$GETH_CHAIN_ID" '.[$chainId][0].contracts.TestToken.address' assets.json) export ASSET_ADDRESS_1=$(jq -r --arg chainId "$GETH_CHAIN_ID" '.[$chainId][0].contracts.TestToken.address' assets.json)
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)
# Check balance of eth account
curl -X POST $GETH_CHAIN_URL \
-H "Content-Type: application/json" \
-d '{
"jsonrpc":"2.0",
"method":"eth_getBalance",
"params":["'"$ACCOUNT_ADDRESS"'", "latest"],
"id":1
}'
# Check balance of first asset address # Check balance of first asset address
curl -X POST $GETH_CHAIN_URL \ curl -X POST $GETH_CHAIN_URL \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
@ -369,7 +379,7 @@ Perform payments using a virtual payment channel created with another Nitro node
```bash ```bash
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 # Obtain the Nitro address of the participant with whom you want to create payment channel with
export COUNTER_PARTY_ADDRESS=<counterparty-nitro-address> export COUNTER_PARTY_ADDRESS=<counterparty-nitro-address>
# Mirrored channel on L2 # Mirrored channel on L2