Is there a way to list my deployed contracts with zos? Cannot find a command that mimics “truffle networks”
If you are using zos with truffle you can still run
truffle networks, though for new projects I just use ZeppelinOS on it’s own.
You can look at your
zos.<network>.json file to see details about your contracts.
When you run
zos call or
zos send-tx the interactive cli will show the contracts deployed for a specific network.
Though this is a potential feature request.
Indeed, I can inspect the
zos.<network>.json file to see the details about my deployed contracts, or I could use
truffle networks, but having a dedicated command in
zos that lists my upgradeable contracts (proxy + implementation) would be helpful. I sense it would save a little bit of time.
Agree, this has been on the back of our minds for quite some time. In the meantime, we have been relying on
jq for extracting them from the network.json files - but it’d be good to provide you with a command to save you from doing this. Thanks for the feedback!
Added as a feature request https://github.com/zeppelinos/zos/issues/1125
Welcome to the forum @PaulRBerg