Connect the wallet CLI to the LEZ testnet
Try the wallet CLI against the live LEZ testnet instead of a local sequencer.
This procedure explains how to install the wallet CLI from the LEZ repository and point it at the LEZ testnet sequencer. It is intended for developers who have previously run the wallet against a local sequencer and want to test against testnet v0.2 instead.
What to expect
- You can run wallet commands against the live LEZ testnet sequencer.
- Your wallet is configured to target
https://testnet.lez.logos.coas the sequencer address.
Install the wallet and connect it to the testnet
-
In the LEZ repository, check out the correct release tag:
git clone https://github.com/logos-blockchain/logos-execution-zone.gitcd logos-execution-zonegit checkout v0.2.0 -
Rename the existing wallet directory (if you have one) to avoid conflicts:
mv ~/.nssa/wallet ~/.nssa/wallet.old 2>/dev/null || true -
Install the wallet CLI:
cargo install --path lez/wallet --force -
Set the testnet sequencer address:
wallet config set sequencer_addr https://testnet.lez.logos.co
Verify the connection
-
Run the health check command:
wallet check-healthA successful connection returns:
✅All looks good!