• Resolved meeru0000

    (@meeru0000)


    hi, the plugin works great thankyou
    i have deployed test contract and only the owner is able to mint nfts , i have changed it to any one can mint in collection settings but still it says you are unauthorised to mint

Viewing 3 replies - 1 through 3 (of 3 total)
  • you have to authorise this before deploying the collection contract.
    make your nft collection and then save the option rather than deploy. Then once all your NFT collection details are input correctly then deploy.
    Ive made many and it will allow anyone to mint if you follow the correct process.
    Try making a test collection on one of the test networks using this format and you should see that it works.

    Plugin Author WPSmartContracts

    (@wpsmartcontracts)

    Hi,

    There are two checking points for minting:

    1. The contract, only admin is able to mint or anyone is able to mint? You have done that already.

    2. You need to approve the user roles in WordPress in order for your users to be able to mint.

    For example, if you users register on your website as Editors, then you need to authorize Editors role to be able to mint.

    Please got here:
    https://wpsmartcontracts.com/docs/doc-nft-collection-deploy.php

    Section: Security Options

    Screenshot:

    OnPaste.20210906-082634

    Thread Starter meeru0000

    (@meeru0000)

    hi i did allow on both ends ,any ways its working as i made a new contract

    thankyou very much everyone

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘unable to mint nfts’ is closed to new replies.