How to update the exchange-topology file in cardano-sl using docker
Steps to update exchange-topology in cardano-sl using docker
- 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;
- Build Cardano-sl inside new Docker image
$ docker load < $(nix-build --no-out-link -A dockerImages.mainnet.wallet)
- Run Cardano-sl inside Docker
docker run --name cardano-sl:3.0.2-wallet-mainnet --rm -it -p 127.0.0.1:8090:8090 -p 127.0.0.1:8000:8000 -v state-wallet-mainnet:/wallet cardano-container-mainnet:latest
- Check the sync status of a running cardano-sl node
cd cardano-sl
/state-wallet-testnet/curl api/v1/node-info