Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 1.26 KB

README.md

File metadata and controls

22 lines (17 loc) · 1.26 KB

NFTGate

WordPress plugin to onboard web2 users through email login and credit card payment checkout for ETC (lingouni) NFT.

Getting Started

Open in GitHub Codespaces

  1. Update variables:
    • ALCHEMY_API_KEY in nftgate.php file.
    • contracts with smart contract addresses in nftgate.php file.
    • environment with either staging or production depending on testnet or mainnet respectively in public/js/nftgate-public.js file.
    • collectionId, projectId, and totalPrice from Crossmint and smart contract in public/js/nftgate-public.js file.
  2. Create a .zip file of NFTGate WordPress plugin.
    zip -r nftgate.zip . -x '*.git*'
  3. Intall .zip file in your WordPress website.
  4. Add class="nftgate-open-modal" and data-nftgate-id="0"1 to each button on your website.
  5. Optional, if you want to open modal through redirect, add nftgate-id=01 parameter to the URL.

Footnotes

  1. data-nftgate-id or nftgate-id can be 0, 1, or 2 depending on NFT type you want to mint which are Value, Gold, and Platinum. 2