Search Results :

×

NFT Token Gating for Solana Blockchain on WordPress


NFT Token Gating is a feature that allows users to restrict access to their NFTs (Non-Fungible Tokens) and FTs (Fungible Tokens) based on certain criteria, such as ownership of another NFT or possession of a specific token. This feature is available for users of the Solana blockchain who are using WordPress as their content management system.

To implement NFT Token Gating on Solana blockchain, users can use the miniorange web3 authentication plugin. This plugin makes it easy to authenticate users and restrict access to NFTs/FTs based on specific criteria. With this plugin, users can easily set up rules for how their content can be accessed, ensuring that they are only accessible to authorized users who hold the specific NFTs/FTs .


Pre-requisites : Download And Installation

  • Note: To set up NFT Token Gating for Solana 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.


Step 1. Configure the Token Details for Solana

  • Go the miniOrange web3 authentication plugin dashboard, and switch to Contract Address Config Tab to configure NFTs details for Solana blockchain.
  • NFT token gating for WP Solana
  • Click on Add Token Detail.
  • NFT token gating for WP Solana
  • A modal will pop up, and add the following details:

  • Blockchain: Solana
    Contract Address Name: Give any arbitrary name to this field, let's say RareBear240, now this contract address name will refer to the complete configuration.
    Solana Collection Address: Give any arbitrary name to this field, or you can keep it same as Contract Address Name
    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
    Mint Address: Please enter your NFT mint address, which is also known as your token address. To learn how you can obtain your mint address, click here. You can add comma (,) seapreted mint addresses.
  • Click on Add button.
  • NFT token gating for WP Solana Blockchain
  • You have successfully added the NFT Token Details for Solana blockchain.
  • NFT token gating for WP Solana

Step 2. Configure NFT Token Gating

  • Go to the NFT Content Restriction tab and click on Add Content Gating Details button.
  • NFT token gating for WP Solana Blockchain
  • 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.
  • NFT token gating for WP Solana Blockchain

Step 3. Test the configuration for any wallet address

  • Click on Test Configuration button a modal popup will appear.
  • NFT token gating for WP Solana Blockchain
  • Enter the wallet address against which you want to test the configurations, also select the respective blockchain and click on submit button.
  • NFT token gating for WP Solana Blockchain
  • Once you click on the submit button, you will get the configuration for that wallet address results as shown.
  • NFT token gating for WP Solana Blockchain

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