-
Notifications
You must be signed in to change notification settings - Fork 24
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
feat(contracts): New contract templates #249
Conversation
Could you merge/rebase please? There were some recent improvements to the new contract command experience which are missing. Tried to do it quickly locally but it showed conflicts which dont seem to show up here. |
Codecov ReportAttention: Patch coverage is
@@ Coverage Diff @@
## main #249 +/- ##
==========================================
+ Coverage 70.81% 70.85% +0.04%
==========================================
Files 47 47
Lines 7664 7744 +80
Branches 7664 7744 +80
==========================================
+ Hits 5427 5487 +60
- Misses 1315 1317 +2
- Partials 922 940 +18
|
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.
Great job!
Adds new templates with PSPs implementations
Also includes new templates with examples for ink! smart contracts implementing:
Changes
ContractType
forContractProvider
.Sets
Provider
asPROPERTY
in theTEMPLATE
implementation forContract
.Maintains
Type
as it could be useful in the future.Directories within the templates are now copied along with their content.
frontend
folders included in templates are excluded.Due to the different repository structure between the available templates, introduces a small patch to properly extract the files of the cloned repo.