unlock-protocol / unlock

Ʉnlock is a protocol for memberships built on a blockchain.
https://unlock-protocol.com
MIT License
819 stars 238 forks source link

Unlock Protocol-powered, members only Farcaster Channels #13890

Open julien51 opened 1 month ago

julien51 commented 1 month ago

The goal here is to create an application that would integrate completely in the Farcaster ecosystem, thru both channels and frames (and maybe actions).

Let's start with user stories:

@nestorbonilla

julien51 commented 1 month ago

Assumptions (which can be revised later):

nestorbonilla commented 1 month ago

Hi @julien51, here's a breakdown of the plan based on our chat and the research I've done:

Custom Hook Implementation: Create custom hooks to trigger actions when a cast is submitted to a specific channel. Hook Trigger: New cast detected on the designated channel.

Data Extraction:

Validation & Action:

Notes:

julien51 commented 1 month ago

Currently, DC doesn't allow frame rendering, but this feature is coming soon, so I'll build the application with that in mind to enable a smoother purchase flow in the future.

Instead of a DM, can we just send an @reply to the user (outside of any channel) ? This way that would render as a frame...

nestorbonilla commented 1 month ago

Yes, we can. To confirm, you'd like the bot to create a public cast (not on the channel) that tags the user, including a frame to do the purchase flow, instead of sending a DM. Is that right?

julien51 commented 4 weeks ago

@nestorbonilla please post updates here :)

Yes, we can. To confirm, you'd like the bot to create a public cast (not on the channel) that tags the user, including a frame to do the purchase flow, instead of sending a DM. Is that right?

That is right! In fact the frame can be "generic" (and we may let the "owner" of the channel" customize it in the future) because is the the same one that every user will user to "purchase" their membership).

nestorbonilla commented 3 weeks ago

Great, sharing some updates:

Custom Hooks: Implementation complete for triggering actions on new casts to a specific channel. Next Up: Scalability. I'm opting to use a hook per channel for now, while still exploring options for more dynamic multi-channel management in the future.

Validation & Action Refinements:

nestorbonilla commented 2 weeks ago

Sharing some updates:

Next Steps: