Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

Implement exec command to interact with contracts #179

Open
theethernaut opened this issue May 18, 2018 · 0 comments
Open

Implement exec command to interact with contracts #179

theethernaut opened this issue May 18, 2018 · 0 comments
Labels
kind:epic Umbrella issue containing multiple tasks
Milestone

Comments

@theethernaut
Copy link
Contributor

theethernaut commented May 18, 2018

Suppose we have a contract "Basil", with a function "donate(uint256 _color) public".

It would be quite handy from the CLI to be able to:
zos exec Basil donate --args \"0.001\"

Atm, when you want to do this kind of thing, you need to jump into a truffle console, or do things like:

echo "Basil.at(\"$BASIL_ADDRESS\").setToken($TOKEN_ADDRESS, {from: \"$OWNER\"})" | truffle console --network $NETWORK
@maraoz maraoz added this to the v0.2.0 milestone May 18, 2018
@facuspagnuolo facuspagnuolo modified the milestone: Backlog Jun 4, 2018
@facuspagnuolo facuspagnuolo changed the title Suggestion: Exec command to interact with contracts Implement Exec command to interact with contracts Jun 4, 2018
@facuspagnuolo facuspagnuolo added the kind:epic Umbrella issue containing multiple tasks label Jun 4, 2018
@facuspagnuolo facuspagnuolo changed the title Implement Exec command to interact with contracts Implement exec command to interact with contracts Jun 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind:epic Umbrella issue containing multiple tasks
Projects
None yet
Development

No branches or pull requests

3 participants