Add new transaction and script templates #21
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
SC-Eng
Issues that we want to see surfaced in SC-Eng ZH Board
Issue To Be Solved
There are many ways non fungible tokens can be used and we want more transaction templates to be defined for them.
Suggest A Solution
Please leave comments in this issue if you think of a transaction that you would like to be added as a template.
This issue will also be updated with ideas as they are added.
When adding a new template:
.cdc
file and save it in thetransactions
directory.0xNFTADDRESS
.0xNFTCONTRACTADDRESS
.ExampleNFT
as the token name andNFTCollection
, etc. as the token and storage name.lib/go/templates/
and runmake generate
in that directory.lib/go/test/
and make sure the test passes.Template Suggestions
Feel free to choose a template from this list to work on, or make a comment to add your own idea.
/private/
domain./private/
domain to withdraw tokens from their account and deposit it in your account.The text was updated successfully, but these errors were encountered: