Add demo readme for onboarding testnet participants #6
@ -298,7 +298,7 @@
|
||||
|
||||
```bash
|
||||
cd ~
|
||||
# 'yarn global' commands work only in Yarn versions below 2.x.
|
||||
# 'yarn global' commands only work with Yarn versions below 2.x.
|
||||
|
||||
yarn global add file:<go-nitro-repo-absolute-path>/packages/nitro-rpc-client
|
||||
```
|
||||
@ -546,19 +546,6 @@
|
||||
Gas Price - `200000`
|
||||
```
|
||||
|
||||
- Go to go-nitro repo root
|
||||
|
||||
- Start nitro bridge using CLI
|
||||
|
||||
```bash
|
||||
# Export contract addresses stored in output files
|
||||
source ./packages/nitro-protocol/hardhat-deployments/geth/.contracts.env
|
||||
source ./packages/nitro-protocol/hardhat-deployments/optimism/.contracts.env
|
||||
|
||||
# Start bridge CLI
|
||||
./nitro-bridge -config cmd/test-configs/bridge.toml
|
||||
```
|
||||
|
||||
## Demo
|
||||
|
||||
- Start the stack for stage 0 laconicd (run command in directory where stage0-deployment had been created)
|
||||
@ -574,12 +561,14 @@
|
||||
|
||||
- Fund accounts on laconicd:
|
||||
- Export laconic addresses of Alice and Charlie (take the addresses from laconic wallet):
|
||||
|
||||
```bash
|
||||
export A_LACONIC_ADDRESS=<Alice Laconic address>
|
||||
export C_LACONIC_ADDRESS=<Charlie Laconic address>
|
||||
```
|
||||
|
||||
- Send photons from funded account to Alice and Charlie:
|
||||
- Send photons from funded account to Alice and Charlie:
|
||||
|
||||
```bash
|
||||
# Send funds from funded account to Alice
|
||||
laconic-so deployment --dir stage0-deployment exec laconicd "laconicd tx bank send alice $A_LACONIC_ADDRESS 100000000000photon --fees 100photon --keyring-backend test"
|
||||
@ -589,6 +578,18 @@
|
||||
```
|
||||
|
||||
TODO: Use a faucet for funding accounts
|
||||
|
||||
- Go to go-nitro repo root and start the nitro bridge using CLI:
|
||||
|
||||
```bash
|
||||
# Export contract addresses stored in output files
|
||||
source ./packages/nitro-protocol/hardhat-deployments/geth/.contracts.env
|
||||
source ./packages/nitro-protocol/hardhat-deployments/optimism/.contracts.env
|
||||
|
||||
# Start bridge CLI
|
||||
./nitro-bridge -config cmd/test-configs/bridge.toml
|
||||
```
|
||||
|
||||
- Get Ethereum private keys for accounts Alice and Charlie from `laconic-wallet` (to be used as statechannel PKs)
|
||||
|
||||
- Start nitro nodes for Alice and Charlie on L1 and L2:
|
||||
|
Loading…
Reference in New Issue
Block a user