How to update the exchange-topology file in cardano-sl using nix
Steps to update exchange-topology in cardano-sl using nix
- cd cardano-sl
- copy exchange-topology.yaml into this directory
- rename
/sample-wallet-config.nix
to
./custom-wallet-config.nix
- Make the following changes to the file
vi custom-wallet-config.nix
topologyFile = ./exchange-topology.yaml;
- Rebuild cardano-sl with the above file configuration something like
nix-build -A connectScripts.mainnet.wallet -o "./launch_$(date -I)_$(git rev-parse --short HEAD)"
- Launch cardano-sl pointing at the new topology file
./launch_20xx-xxxxx_xxxxx