This repository contains Flow transaction scripts that the Dapper wallet will support by default. Following these transaction templates will allow for safer and easier integration between dapps and the Dapper Flow wallet. Of course, more transactions will be evaluated and safelisted within the Dapper system as new use cases arise.
$ bash render.sh [TEMPLATE_NAME] [NETWORK]
Check out the templates and find the one that fits your use case best. Let's say it's create-listing
, and you'd like to render a transaction template for use on testnet
.
- Open
create-listing/testnet.env
and fill in the missing template variables. - Run the folowing command to render the template using the variables you set in
testnet.env
$ bash render.sh create-listing testnet
This command will output the result to create-listing/create-listing-testnet.cdc
and will print the SHA2 256 script hash.