pyteal icon indicating copy to clipboard operation
pyteal copied to clipboard

dump method to quickly write approval, clear, ABI to file system

Open iskysun96 opened this issue 2 years ago • 0 comments

Problem

currently, if I want to write out approval, clear, ABI to file system, we have to do this which is not the most elegant way. If devs want to use dappflow to deploy and interact with the smart contract during development, they need all three artifacts written out to files to import them. image

Solution

Create a dump method to write out the artifacts to the file system. Beaker does this: https://algorand-devrel.github.io/beaker/html/application.html?highlight=dump#beaker.application.Application.dump

Urgency

Not high

iskysun96 avatar Jan 26 '23 19:01 iskysun96