Skip to main content

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.co as the sequencer address.

Install the wallet and connect it to the testnet

  1. In the LEZ repository, check out the correct release tag:

    git clone https://github.com/logos-blockchain/logos-execution-zone.git
    cd logos-execution-zone
    git checkout v0.2.0
  2. Rename the existing wallet directory (if you have one) to avoid conflicts:

    mv ~/.nssa/wallet ~/.nssa/wallet.old 2>/dev/null || true
  3. Install the wallet CLI:

    cargo install --path lez/wallet --force
  4. Set the testnet sequencer address:

    wallet config set sequencer_addr https://testnet.lez.logos.co

Verify the connection

  1. Run the health check command:

    wallet check-health

    A successful connection returns:

    ✅All looks good!