smart_contracts icon indicating copy to clipboard operation
smart_contracts copied to clipboard

docker container for smart contracts

Open owocki opened this issue 7 years ago • 6 comments

from @mbeacom:

also, I found myself running smart_contracts with testrpc quite a bit while testing things for gitcoinco/web.  Do you think it'd be valuable to add a `smart_contracts` container to the docker-compose stack for `web` ? Or just document how to sidecar it in the event they need to test something?

i think the answer is yes

owocki avatar Dec 14 '17 21:12 owocki

Raising a PR for this shortly!

mbeacom avatar Dec 14 '17 23:12 mbeacom

@owocki I think we could using testrpc as provider to test(we don't need to run testrpc).

sc0Vu avatar Dec 16 '17 08:12 sc0Vu

If we're going to use standard testrpc, we might as well just instruct the user to use the official/provided ganache-cli docker image from docker hub. So we could just delete the Dockerfile and use trufflesuite/ganache-cli

mbeacom avatar Dec 18 '17 15:12 mbeacom

Made the above changes in #13

mbeacom avatar Dec 18 '17 16:12 mbeacom

I think the really useful part would be to add automatic deployment of smart-contracts to this image, or at least document it better.

step21 avatar Jan 09 '18 15:01 step21

thats a good idea

owocki avatar Jan 09 '18 15:01 owocki