Hi everyone,
I’m working on a thesis project involving the NYM network, and as part of it, I’m trying to set up a local network environment.
To do this, I used the localnet_start.sh
script located in the scripts
folder. I made a few modifications to the script — specifically, I added the --local
and --public-ips
flags (with my own IP address) at the lines where nym-node binary is called.
In the build-topology.py
script, which is called by localnet_start.sh
, I also had to comment out a couple of lines that referenced sphinx_key
and the version
field in the config, as those keys didn’t exist in my setup.
After running the script, I encountered the following error:
waiting for nym-gateway to launch on port 9000…
nym-gateway launched
initialising network requester…
Blocking waiting for file lock on build directory
Finished release
profile [optimized] target(s) in 27.54s
Running /nym/nym/target/release/nym-network-requester init --id network-requester-LIIkRZwBMgg6ew --open-proxy=true --custom-mixnet /root/.nym/localnets/localnet.LIIkRZwBMgg6ew/network.json --output=json
Initialising client…
2025-05-20T11:05:30.568Z INFO nym_client_core::cli_helpers::client_init > initialising network requester client
2025-05-20T11:05:30.629Z INFO nym_client_core::cli_helpers::client_init > Using nym-api: https://validator.nymtech.net/api/
Error: client-core error: failed to load custom topology using path ‘/root/.nym/localnets/localnet.LIIkRZwBMgg6ew/network.json’. detailed message: missing field rewarded_set
at line 175 column 1
It seems like the generated network.json
file is missing the rewarded_set
field, and that’s causing the network requester to fail during initialization.
Has anyone run into a similar issue when building a local NYM network? Any advice on how to correctly generate or modify the topology so that it includes the required fields?
Thanks in advance!