Search Results :

×

NFT Token Gating for Ethereum on WordPress


NFT/Token Gating is a process using which one can allow access to the exclusive content(it can be video, page, image etc) on the basis of the ownership of the NFT. If a user holds NFT only then access to the content will be granted, else the access to the content will be blocked.


Pre-requisites : Download And Installation

  • Note: To set up NFT Token Gating for Ethereum on your WordPress site, you will need a premium version of the WordPress Web3 authentication plugin. You can also try our free plugin by following the download steps below.
  • Log into your WordPress instance as an admin.
  • Go to the WordPress Dashboard -> Plugins and click on Add New.
  • Search for a WordPress Web3 authentication plugin and click on Install Now.
  • Once installed click on Activate.


1. Configure the Ethereum NFTs

  • Visit the miniOrange web3 authentication plugin dashboard, and switch to Contract Address Config Tab to configure NFTs based on Ethereum blockchain.
  • wordpress ethereum-web3 wallet login
  • Click on Add Token Detail.
  • wordpress ethereum-web3 wallet login
  • A modal will pop up, and add the following details:

  • Blockchain: Ethereum
    Contract Address Name: Give any arbitrary name to this field, let's say SpacePunk, now this contract address name will refer to the complete configuration.
    Contract Address: Fill the collection address/ contract address of your NFT collection.If you do not have any contract address please reach out to us at web3@xecurify.com. Our team will help to deploy your first NFT contract.
    No. of tokens(optional): To access gated content, your user needs to hold at least 'x' amount of tokens. As an example, if x = 1, then user must have at least 1 token/nft to gain access to token gated content
    Token Ids(optional): Token Ids can be specified if you want your user to hold specific NFTs. In the case of multiple token IDs, they should be separated by commas (,) For e.g 1,2,3,4,5,6. If a user holds any NFT from the configured ID, then they will have access to the token-gated page.
  • Click on Add button.
  • wordpress ethereum-web3 wallet login

2. Configure the Content Gating for Ethereum NFTs

  • Go to the NFT Content Restriction tab and click on Add Content Gating Details button.
  • wordpress ethereum-web3 wallet login
  • A modal popup will appear on screen. Modal popup have the Following fields:
    1. 1. Page URL : Enter the page url that you want to restrict, also you can restrict all the child page of a parent page.
      For e.g let say the page url is https://<your-wp-site-url>/parent-page/, if you configure this as Page URL then all the child page extending this URL will get restricted too.
      https://<your-wp-site-url>/parent-page/child-page-1
      https://<your-wp-site-url>/parent-page/child-page-2
      https://<your-wp-site-url>/parent-page/child-page-3 …. and so on

      2. Contract Address Name: Now you can select the contract address Name from the dropdown, it is the same Contract Address Name that we configured in the Contract Address Config tab, and it refers all the configuration correspondence to it.

      3. Error URL: If the user does not hold an NFT, and attempts to access the gated content, then where should they be redirected. You can create a customized page that says "you are not authorized to access this page". You can also provide a link for purchasing those NFT's.

  • Once you configured all the details click on Add button. Likewise, you can add more details.
  • wordpress ethereum-web3 wallet login

3. Test the configuration for any wallet address

  • Click on Test Configuration button a modal popup will appear.
  • wordpress ethereum-web3 wallet login
  • Enter the wallet address against which you want to test the configurations, also select the respective blockchain and click on submit button.
  • wordpress ethereum-web3 wallet login
  • Once you click on the submit button, you will get the configuration for that wallet address results as shown.
  • wordpress ethereum-web3 wallet login

miniorange img  We support a wide range of wallets, blockchains, and tokens

miniorange img  Supported Wallets


Metamask

Coinbase

WalletConnect

Phantom

PeraWallet

MyAlgo

Gamestop

MathWallet


miniorange img  Supported Blockchains


Ethereum

Polygon

Algorand

Solana

Loopring

Chronos


miniorange img  Supported Token Standards


ERC20

ERC1155

ERC721

BEP20

BEP1155

BEP721

SPL Token

Algorand's asset IDs

Additional Resources


Need Help?

Mail us at web3@xecurify.com for quick guidance (via email/meeting) on your requirement and our team will help you to select the best suitable solution/plan as per your requirement.

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com