Skip to main content

Configuring wasp-cli

Step-by-step instructions on how to use wasp-cli to interact with Wasp nodes on the Goshimmer network.


After going through the instructions on Running a node, you should have the wasp-cli binary available in your system.


You can create a basic default configuration by running:

wasp-cli init 

This command will create a configuration file named wasp-cli.json in the current directory.

After this, you will need to tell the wasp-cli the location of the Goshimmer node and the committee of Wasp nodes:

wasp-cli set goshimmer.api

wasp-cli set wasp.0.api
wasp-cli set wasp.0.nanomsg
wasp-cli set wasp.0.peering

## You can add as many nodes as you like in your committee
wasp-cli set wasp.1.api
wasp-cli set wasp.1.nanomsg
wasp-cli set wasp.1.peering

wasp-cli set wasp.N.api
wasp-cli set wasp.N.nanomsg
wasp-cli set wasp.N.peering

Alternatively, you can edit the wasp-cli.json file and include the desired server locations:

  • The goshimmer api address:

      "goshimmer": {
    "api": "",
    "faucetpowtarget": -1
  • The API/nanomsg/peering address for each Wasp node:

    "wasp": {
    "0": {
    "api": "",
    "nanomsg": "",
    "peering": ""
    "1": {