iamtrask / Sonar

DEPRECATED - Decentralized Machine Learning Server (hosted on Blockchain)
Apache License 2.0
141 stars 49 forks source link

static addresses in docker image #5

Closed anoff closed 7 years ago

anoff commented 7 years ago

To improve ease of development and lower the entry barrier it would be awesome if we could publish a sonar docker image that has a static contract address.

Acceptance Criteria

anoff commented 7 years ago

Did some (a lot) of research now and I'm 90% sure there is no way to deploy a contract to a pre-defined address. However @TheOriginalAlex and me figured out how to (manually) bake a docker image that includes the contract already. Now all that's left is automate it.

samsontmr commented 7 years ago

Haven't had time to try this out, but @anoff and I were thinking a shell script might be able to do this (in case anyone wants to try it out ;).

anoff commented 7 years ago

Currently working on it on a fork. The bash script should be working..

iamtrask commented 7 years ago

@anoff this research is probably blogpost-worthy. I'm going to open a new file in the Docs repo for us to aggregate ideas for blogpost contributions.

anoff commented 7 years ago

@iamtrask just ping me if you need an editor somewhere or if I should guest author/ghostwrite 👻📝

Closing this issue because I forgot the properly link the PR that should have done this automagically.

iamtrask commented 7 years ago

You should definitely write it (and not ghostwrite!). I'll definitely read it and help guide, but you're the expert man!