Update onboarding demo steps for creating nitro nodes using nitro-stack (#3)
* Add stack steps for creating nitro-nodes * Fix indentation * Add instructions for bridge stack * Remove go-nitro from setup * Move l1 and l2 deployment configs to demo * Move bridge config to Run * Fix port mapping * Update configs for nitro nodes and bridge * Add port calibration for bridge node * Populate bridge and nitro node config values during deployment creation * Export nitro contract addresses * Fix spec file creation command * Set env variables for nitro nodes * Send custom tokens to Alice and Charlie using bridge stack * Fix step to create deployment for bridge * Get contract addresses from nitro-contracts service * Change location of stack in demo steps * Add trouble shooting step for instructions if ledger channel creation fails * Remove approve tx retry explaination in troubleshooting step * Update demo cleanup and cleanup steps * Use stack nitro-rpc-client command * Fix ports in nitro-rpc-client commands * Update troubleshooting steps * Fix comments * Remove unnecessary prefix * Update nitro-stacks usage in demo steps * Update testnet onboarding demo steps * Update testnet onboarding demo steps * Fix nitro node spec files setup * Remove future enhancements * Use correct node to create virtual channel * Add steps to check nitro node logs * Update config for nitro nodes with external multiaddr * Update steps for using apk for laconic wallet * Add steps to run laconic wallet using APK --------- Co-authored-by: Adw8 <adwaitgharpure@gmail.com> Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-authored-by: Nabarun Gogoi <nabarun@deepstacksoft.com> Co-authored-by: Neeraj <neeraj.rtly@gmail.com> Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
This commit is contained in:
parent
29b2ce2927
commit
e46e893b7f
@ -26,10 +26,12 @@ Instructions for running a laconicd testnet full node and joining as a validator
|
||||
|
||||
```bash
|
||||
# laconicd
|
||||
laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/testnet-laconicd setup-repositories
|
||||
laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/testnet-laconicd setup-repositories --pull
|
||||
|
||||
# laconic cli and console
|
||||
laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/laconic-console setup-repositories
|
||||
laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/laconic-console setup-repositories --pull
|
||||
|
||||
# If this throws an error as a result of being already checked out to a branch/tag in a repo, remove the repositories and re-run the command
|
||||
```
|
||||
|
||||
* Build the container images:
|
||||
@ -38,7 +40,7 @@ Instructions for running a laconicd testnet full node and joining as a validator
|
||||
# laconicd
|
||||
laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/testnet-laconicd build-containers
|
||||
|
||||
# laocnic cli and console
|
||||
# laconic cli and console
|
||||
laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/laconic-console build-containers
|
||||
```
|
||||
|
||||
@ -216,7 +218,10 @@ laconic-so deployment --dir laconic-console-deployment start
|
||||
* Create required validator configuration:
|
||||
|
||||
```bash
|
||||
# Note:
|
||||
# Edit the staking amount and other fields as required
|
||||
# Replace <your-node-moniker> with your node's moniker in command below
|
||||
|
||||
laconic-so deployment --dir testnet-laconicd-deployment exec laconicd 'cat <<EOF > <your-node-moniker>-validator.json
|
||||
{
|
||||
"pubkey": $(laconicd cometbft show-validator),
|
||||
@ -256,6 +261,12 @@ laconic-so deployment --dir laconic-console-deployment start
|
||||
# Set your PK as 'userKey' in the config file
|
||||
laconic-so deployment --dir laconic-console-deployment exec cli "nano config.yml"
|
||||
|
||||
# services:
|
||||
# registry:
|
||||
# ...
|
||||
# userKey: <your-private-key>
|
||||
# ...
|
||||
|
||||
# Note: any changes made to the config will be lost when the cli Docker container is brought down
|
||||
# So set / update the values in 'laconic-console-deployment/config.env' accordingly before restarting
|
||||
```
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user