Skip to main content

MinaNFTNameService

Index

Constructors

constructor

  • new MinaNFTNameService(value: { address?: PublicKey; oraclePrivateKey?: PrivateKey }): MinaNFTNameService
  • Create MinaNFTNameService object


    Parameters

    • value: { address?: PublicKey; oraclePrivateKey?: PrivateKey }

      Object with address and oraclePrivateKey fields

    Returns MinaNFTNameService

Properties

optionaladdress

address?: PublicKey

optionaloraclePrivateKey

oraclePrivateKey?: PrivateKey

optionaltokenId

tokenId?: Field

Methods

publicdeploy

  • deploy(deployer: PrivateKey, privateKey?: undefined | PrivateKey, nonce?: number): Promise<undefined | PendingTransaction>
  • Parameters

    • deployer: PrivateKey
    • privateKey: undefined | PrivateKey = undefined
    • optionalnonce: number

    Returns Promise<undefined | PendingTransaction>

publicissueNameSignature

  • issueNameSignature(nft: NFTMintData, verificationKeyHash: Field): Promise<Signature>
  • Parameters

    Returns Promise<Signature>

publicupgrade

  • upgrade(deployer: PrivateKey, privateKey: PrivateKey, nonce?: number): Promise<undefined | PendingTransaction>
  • Parameters

    • deployer: PrivateKey
    • privateKey: PrivateKey
    • optionalnonce: number

    Returns Promise<undefined | PendingTransaction>