contracts: script for making markdown file with all our contract addresses#456
contracts: script for making markdown file with all our contract addresses#456
Conversation
|
121858a to
53146f5
Compare
packages/contracts/package.json
Outdated
There was a problem hiding this comment.
I wasn't sure of the best place to run it but figured it should happen here
There was a problem hiding this comment.
Probably should be part of the deploy script.
63daf96 to
52e0bde
Compare
snario
left a comment
There was a problem hiding this comment.
Instead of a column named Open could we just hyperlink the address of the contract to make the table width smaller?
I'd support this |
b76ad12 to
71f9850
Compare
| const chainId = Number( | ||
| fs.readFileSync(`./deployments/${deployment}/.chainId`) | ||
| ); | ||
| const network = networks[chainId]; |
There was a problem hiding this comment.
Could we add some sort of per-network annotations that can be injected into the markdown? E.g., kovan-v1 is outdated and will no longer be in use. We'll want to stop showing those addresses to people once we stop using the contracts. We probably want to add some sort of text to that section to make it clear that those contracts are deprecated. Also probably want to add the option to hide a deployment completely.
There was a problem hiding this comment.
Let's do this in a separate PR, if you have a specific idea could you please open an issue for it?
|
Also requesting that we add commit credits for @pakocrew |
71f9850 to
e32b665
Compare
|
I rebased and |
…esses (#456) * contracts: adds generate-markdown script for making markdown file with all our contract addresses * Moves generate-markdown to deploy script * Adds Goerli chain Id * Removes etherscan Open column Co-authored-by: Pacien Boisson <pakokrew@gmail.com>
Credit to Pacien Boisson @pakocrew
Please review carefully as this will be the source of truth for the near future