Giter VIP home page Giter VIP logo

Comments (2)

0xGeel avatar 0xGeel commented on June 24, 2024

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.

0xGeel avatar 0xGeel commented on June 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.