Add new transaction and script templates #31
Labels
good first issue
Good for newcomers
help wanted
Extra attention is needed
Improvement
SC-Eng
Issues that we want to see surfaced in SC-Eng ZH Board
Issue To Be Solved
There are many ways a fungible token 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.0xFUNGIBLETOKENADDRESS
0xTOKENADDRESS
ExampleToken
as the token name andexampleTokenVault
, etc. as the token and storage namelib/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: