Skip to content

Configuration

After installation, use the client by running the following and adding the relevant commands:

miden-client

Help

Run miden-client --help for information on miden-client commands.

Configuration

We configure the client using a TOML file (miden-client.toml).

[rpc]
endpoint = { protocol = "http", host = "localhost", port = 57291 }

[store]
database_filepath = "store.sqlite3"

The TOML file should reside in same the directory from which you run the CLI.

In the configuration file, you will find a section for defining the node’s endpoint and the store’s filename database_filepath.

By default, the node is set up to run on localhost:57291.

Note

  • Running the node locally for development is encouraged.
  • However, the endpoint can point to any remote node.