You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jaspervdj-da 2 templates added at the decided location in daml repo.
Multi-Party Agreement - Shows party authorization patterns (good for onboarding)
Simple Token - Uses CIP-56 interface pattern but simplified for learning
Added Docs about template in it's dedicated README so folks know what they using as template even though basic.
more comments in daml code to make it more proper.
Above templates Commit is pre-shared + reviewed before PR in an conversation on slack with @jaspervdj-da and more team invovled.
For more info on DevRel Slack refer to Shreyas, DevRel, DA.
You'll need to add these new templates to sdk/templates/BUILD.bazel
Specifically the srcs list in the "templates-tarball" rule, and the bash for loop in its implementation (line 42). Copy what has been done for "skeleton".
Then you'll want to add these to the tests. See sdk/daml-assistant/integration-tests/src/DA/Daml/Assistant/IntegrationTests.hs, line 676, we have a list of templates that are built, you'll want to add these there.
The examples in this repository all have a fairly long tutorial accompanying them, and are tied pretty tightly to the docs and build system. Maybe it would be better to start a new repo for community-contributed templates (that we could separately add to dpm)? There it would also be easier to, for example, include the splice dar and make it actually comply to the token standard.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
@jaspervdj-da 2 templates added at the decided location in daml repo.
more comments in daml code to make it more proper.
Above templates Commit is pre-shared + reviewed before PR in an conversation on slack with @jaspervdj-da and more team invovled.
For more info on DevRel Slack refer to Shreyas, DevRel, DA.