Created
September 15, 2019 18:06
-
-
Save dexterslabor/8dcb215a772e0b2df8c99c9d24921fa6 to your computer and use it in GitHub Desktop.
This file contains 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
granary client - originate contract videos for alice transferring 0 from alice running $PWD/videos.tz --init '1' --dry-run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
import smartpy as sp
class videos(sp.Contract):
def init(self, searchVideos):
self.init(phrase = searchVideos)
@addtest(name = "Basic Test")
def test():
# Instantiate the videos contract
c1 = videos("Awesome videos!")
# Show its representation
html = c1.fullHtml()
setOutput(html)