Methods
- deploy(deployer: PrivateKey, privateKey?: undefined | PrivateKey, nonce?: number): Promise<undefined | PendingTransaction>
Parameters
deployer: PrivateKey
privateKey: undefined | PrivateKey = undefined
optionalnonce: number
Returns Promise<undefined | PendingTransaction>
- issue(deployer: PrivateKey, nft: MinaNFT, oraclePrivateKey: PrivateKey, nonce?: number): Promise<undefined | PendingTransaction>
Parameters
deployer: PrivateKey
oraclePrivateKey: PrivateKey
optionalnonce: number
Returns Promise<undefined | PendingTransaction>
- verify(nft: MinaNFT): Promise<boolean>
Parameters
Returns Promise<boolean>
- fromPublicKey(badgePublicKey: PublicKey): Promise<undefined | MinaNFTBadge>
Parameters
badgePublicKey: PublicKey
Returns Promise<undefined | MinaNFTBadge>
Create MinaNFT object