0xGeel / loopgate

A Proof-of-Concept to token-gate content using Loopring L2 NFTs and Piñata IPFS 🪅
https://loopgate.netlify.app
BSD 2-Clause "Simplified" License
18 stars 27 forks source link

Feature Request: WordPress implementation #24

Closed djrobzilla closed 1 year ago

djrobzilla commented 1 year ago

I'm not sure how feasible this is, but it'd be amazing to have this available as a WordPress plugin. That's definitely a plugin I'd pay money for! There are two plugins right now for WordPress that offer this functionality: ethpress and "WordPress NFT Token Gating & Web3 Wallet login". Ethpress requires the manual installation of some sus looking libraries that I'd rather not mess with, and the other one is crazy expensive and offers way more than i think most people who are looking for this kind of functionality actually need.

0xGeel commented 1 year ago

Hi @djrobzilla, posting my Discord reply here for visibility's sake:


Unfortunately, though, I'm not sure I can be of direct help here.

LoopGate is built as a NextJS app, which is fully written in Typescript/Javascript. It's "Serverless", in the sense that it does not have a traditional backend / database that is always there, but rather uses cloud computers to execute the backend functions.

Wordpress is PHP-based, and requires a constant backend server to run. I think it makes more sense to re-write the LoopGate functionality that "make token-gating work" in PHP, then publish those as a PHP plugin. Here are the core functionalities:

The issue: my experience in PHP is very limited, and building this PHP plugin greatly affects the development speed of the "regular" LoopGate, which is my priority. I don't know if I even am able to ship this in PHP for WordPress 😪


Contributions of any kind are welcome, though. If you feel like taking on this WordPress implementation, I'd be happy to help you out.

0xGeel commented 1 year ago

Hi there @djrobzilla,

You may have seen this already, but I'm posting this here for others to find as well: 🚀 stepwn has created and open sourced an implementation for Wordpress to empower you to Token Gate using Loopring NFTs!

See: https://github.com/stepwn/LoopPress