Comments (2)
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:
- Sign In With Ethereum (SIWE) alongside IronSession. This makes the app secure: only if you can prove ownership of a wallet by signing a message, you get authenticated.
- ConnectKit + WAGMI hooks for interacting with a Loopring / Ethereum wallet.
- (Rate-limited) Loopring API Requests: query data on Loopring L2 to get NFT ownership data.
- Pinata API Requests: query data on Pinata IPFS to unlock content stored on there.
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.
from loopgate.
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
from loopgate.
Related Issues (7)
- Feature request: Add additional ways of (un)locking content.
- Feature request: GameStop Wallet Option
- Feature request: Add Pino and LogFlare for Logs HOT 1
- Feature request: Individual pages for unlocks HOT 1
- Failed to compile - WalletConnectLegacy is not exported from package HOT 9
- Feature request: Documentation on how to get started
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from loopgate.