Last active
February 26, 2021 16:48
-
-
Save polluterofminds/8b19cbeb1523fefac83f3461944f1636 to your computer and use it in GitHub Desktop.
5 - PinataPartyContract
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
init() { | |
self.account.save(<-self.createEmptyCollection(), to: /storage/NFTCollection) | |
self.account.link<&{NFTReceiver}>(/public/NFTReceiver, target: /storage/NFTCollection) | |
self.account.save(<-create NFTMinter(), to: /storage/NFTMinter) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment