Making start-docker
Contract-Agnostic
#93
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a twin of a PR in dapp-agoric-basics repo.
Goal of this PR is to (maybe partially) close #92. Currently running of
agoriclocal
chain and deploying and starting contract are intertwined in this dapp. This is somewhat unnatural as chain should not depend on the files of any specific contract - apart from the ones that designated essential for its running.Further, running a chain independent of a specific contract will allow testing of multiple dapp simultaneously running and interacting with each other which may unlock several scenarios that a developer may want to test for.
As per discussion with @toliaqat, here is a plan:
run-chain.sh
) that necessary tasks for running of chain independently.yarn start:contract
should handle most of the heavy work including:ws-offer-up
here)copy tools needed for building, i.e.,Makefile
copy scripts and tools needed for required for makinginstall-bundle
,submit-proposal
,vote
etc. calls.create contract bundles on host machine, and then copy them to the workspace in docker container.build-proposal
,install-bundle
,submit-proposal
,vote
etc. calls needed to deploy and run the contract using scripts as before.update relevant docs. In particular, add guides to installagoric
andagd
CLI.Link to IBIS document.