Versioned copy of environments (i.e. configuration files) for Cardano networks.
This is for use with the homebrew-cardano tap.
Unfortunately although these files are available from at least three places (official, source, CF), none of those reliably tag them in an appropriate way for versioning.
The following commands are used to download them.
Preview:
curl --output-dir preview --remote-name-all --variable prefix=https://book.play.dev.cardano.org/environments/preview --expand-url "{{prefix}}/{config,config-legacy,tracer-config,db-sync-config,submit-api-config,topology,checkpoints,byron-genesis,shelley-genesis,alonzo-genesis,conway-genesis,peer-snapshot}.json" --expand-url "{{prefix}}/guardrails-script.plutus"Preprod:
curl --output-dir preprod --remote-name-all --variable prefix=https://book.play.dev.cardano.org/environments/preprod --expand-url "{{prefix}}/{config,config-legacy,tracer-config,db-sync-config,submit-api-config,topology,byron-genesis,shelley-genesis,alonzo-genesis,conway-genesis,peer-snapshot}.json" --expand-url "{{prefix}}/guardrails-script.plutus"Mainnet:
curl --output-dir mainnet --remote-name-all --variable prefix=https://book.play.dev.cardano.org/environments/mainnet --expand-url "{{prefix}}/{config,config-legacy,tracer-config,db-sync-config,submit-api-config,topology,topology-non-bootstrap-peers,checkpoints,byron-genesis,shelley-genesis,alonzo-genesis,conway-genesis,peer-snapshot}.json" --expand-url "{{prefix}}/guardrails-script.plutus"