-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add deploy script projects to templates #324
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work @DOBEN! I have some suggestions and found a few smaller issues, but nothing blocking ;)
dcc9422
to
19434a2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but before merging can you please make sure that the generated code from the template has no clippy lint issues, and is formatted correctly using our usual formatter.
Purpose
Addresses Concordium/concordium-smart-contract-tools#117
This PR addresses the first part:
Automated flow
When creating a new smart contract project with the
cargo-generate
command using thedefault
template, we provide now adeploy-scripts
folder that contains some boilerplate code to deploy/initialize/update the contracts on chain. The scripts can be run with e.g. this command.Changes
default
templates