poanetwork / token-wizard

(Discontinued) TokenWizard is an DApp to create and manage crowdsale and token contracts using a simple UI
MIT License
384 stars 215 forks source link

(Feature) add a script to generate flat source codes, ABI and binaries of Proxies smart-contracts #1036

Closed vbaranov closed 6 years ago

vbaranov commented 6 years ago

Child of #1035

Problem: metadata of Proxies is stored in ./public/contracts/ and it is static. The idea is to generate these metadata files from the source code at every Wizard deployment.

Solution: add a script, that will get flat source codes, ABI and binaries of Proxies smart-contracts (both: Dutch Auction and Minted capped crowdsale).

From my perspective: A script should have a config. This config should have a parameter to store a hash of commit in https://github.com/poanetwork/auth-os-applications repository (note: this repo is already used in git submodules). A script will start before deployment of Wizard and will: