# ⚔️ Frame Hack Deux ![image](https://hackmd.io/_uploads/SJDrs2DpT.png) March 29, 2024 ## Description 📣 Hear ye, valiant members of Raid Guild! Another Friday hack-a-thon beckons! As we delve into Farcaster Frames, new horizons promise riches of knowledge and innovation! 🔒 Our quest? Unravel the mysteries of Token Gating, where opportunity awaits those with the key! Let us unlock realms unseen! 🎒 But what treasures lie within the digital realm? Items and Bags! Venture with us, shaping our destinies with every discovery! ⚔️ Behold, brave souls! Chart new territories, unveiling New Classes to enrich our journeys! Let us craft tales of heroism and magic, weaving threads of innovation! 🚩 I call upon thee, Raid Guild! Unite, for in this hack-a-thon lies the chance to carve our names into digital history! Onward, to adventure! ## Welcome Back - Exciting News - [Introducing Degen Chain](https://syndicate.io/blog/degen-chain) - Frame Updates - [Error Handling](https://warpcast.notion.site/Frames-Errors-ddc965b097d44d9ea03ddf98498597c6) - [Cast Actions](https://warpcast.notion.site/Frames-Cast-Actions-e990e4bd44d747149b2b9842ed2d25ae) ## Agenda - [⚔️ Intro to Frames](https://hackmd.io/a-7i0aK5TGqSQi3KSCj8tA?view) - Review [⚔️ Hacking Frames](https://hackmd.io/G3msHBgKR6yAXmmD8mS1hw?view) - [Frame I](https://warpcast.com/~/developers/frames?url=https%3A%2F%2Fframe-guild-character-quest.vercel.app%2Fapi) - [Frame II](https://warpcast.com/~/developers/frames?url=https%3A%2F%2Fframe-guild-character-quest-git-deploy-item-hunt-raidguild.vercel.app%2Fapi) - Discuss Potential Quests - Who wants to work on what? ## HMW... Make the most exciting frame game on Farcaster? ## What are our goals? - Hang out and learn - Test engagement levels - Add new features - Flex our skills - Shill Character Sheets - Get bounties from ecosystem - Teach people about RaidGuild - Bring in apprentices - Bring in clients Come up with a strategy to use these events to market our skills and promote our projects. Get funding to continue improving the work. ## Resources - [⚔️ Intro to Frames](https://hackmd.io/a-7i0aK5TGqSQi3KSCj8tA?view) - [⚔️ Hacking Frames](https://hackmd.io/G3msHBgKR6yAXmmD8mS1hw) (**Hack One**: March 8, 2024) - [`frame-guild-character-quest`](https://github.com/raid-guild/frame-guild-character-quest) repo - [Frame I](https://warpcast.com/~/developers/frames?url=https%3A%2F%2Fframe-guild-character-quest.vercel.app%2Fapi) - [Frame II](https://warpcast.com/~/developers/frames?url=https%3A%2F%2Fframe-guild-character-quest-git-deploy-item-hunt-raidguild.vercel.app%2Fapi) - [`frog/playground`](https://github.com/wevm/frog/tree/main/playground/src) - [Miro](https://hackmd.io/ZIOAnYnhT2Sc6Dj6Kr-EHg?view) ## The Tavern Different everytime you come back. Tavern Keeper sends you on adventures by pointing you to different frames and bounties. - Half-RPG - Half-larp ## 13 Quests - [Improve Story](https://hackmd.io/ZIOAnYnhT2Sc6Dj6Kr-EHg?view#Story) - [Add Home Page](https://hackmd.io/ZIOAnYnhT2Sc6Dj6Kr-EHg?view#Home-Page) - [Add Routing](https://hackmd.io/ZIOAnYnhT2Sc6Dj6Kr-EHg?view#Routing) - [Add Token Gating](https://hackmd.io/ZIOAnYnhT2Sc6Dj6Kr-EHg?view#Token-Gating) - [Add/Improve Characters](https://hackmd.io/ZIOAnYnhT2Sc6Dj6Kr-EHg?view#Characters) - [Add Items](https://hackmd.io/ZIOAnYnhT2Sc6Dj6Kr-EHg?view#Items) - [Explore 6551](https://hackmd.io/ZIOAnYnhT2Sc6Dj6Kr-EHg?view#6551) - [Add Error Handling](https://hackmd.io/ZIOAnYnhT2Sc6Dj6Kr-EHg?view#Error-Handling) - [Add Transactions](https://hackmd.io/ZIOAnYnhT2Sc6Dj6Kr-EHg?view#Transactions) - [Explore Bounties](https://hackmd.io/ZIOAnYnhT2Sc6Dj6Kr-EHg?view#Bounties) - [Explore LLMs](https://hackmd.io/ZIOAnYnhT2Sc6Dj6Kr-EHg?view#LLM) - [$TVRN Liquidity](https://hackmd.io/ZIOAnYnhT2Sc6Dj6Kr-EHg?view#TVRN-Liquidity) - [Revive Monsters](https://hackmd.io/ZIOAnYnhT2Sc6Dj6Kr-EHg?view#Monster-Maps) ### Story Focus on content and brand How might we include lore in all the projects and communications? - Paths - Scripts - Social - Blog How do we get them to claim TVRN? ### Home Page What information is displayed on the home page of the project? - This is what users see if they go directly to URL or click on the link beneath the frame - This is a page without frame functionality - Render HTML at the root - Should be a marketing site and way to explain the game --- - Enter the Tavern (link to frame) - Hire Us (link to site) - Join Us (link to site) ### Routing - Nice to have history - Potential to link frames (`/`, `/I`, `/II` or `/`, `/one`, `/two`) - Decide on naming convention for endpoints - Add routes - Move existing frames to routes - Provide documentation on starting a new frame - Once a new route is added how does that get added to The Tavern frame? ### Token Gating How might we provide a different experience based on what tokens the user already holds? - Diffrent adventures for different classes - Perks for holding certain items - Special treatment for holding large amounts of specific coins [`unlock-protocol/token-gated-frame`](https://github.com/unlock-protocol/token-gated-frame) is old but maybe helpul ### Characters - Existing classes - Add classes - Extend stories of previous classes - NFT Metadata - Traits - Rarity ### Items - How do we add stories for getting to specific items? - How do we mint items to a specific character? - How do we equip items? - Could hunting for items be a mini-game? - NFT Metadata - Traits - Rarity ### 6551 - How do we get users to create this wallet? - How do we send items to the 6551 wallet? ### Error Handling How might we improve the user experience by providing feedback on what is happening or when issues are encountered? [Error Handling](https://warpcast.notion.site/Frames-Errors-ddc965b097d44d9ea03ddf98498597c6) ### Transactions - Provide a frame that allows users to add gas to the NFT contract - What other cool concepts could we implement to demonstrate this feature? How might we find a way to incorporate $RAID? (Although might not be possible from Gnosis Chain) This Frog [Transactions](https://github.com/wevm/frog/blob/main/playground/src/transaction.tsx) playground may help. ### Bounties Tavern Keeper can be the holder of the inside information about what bounties are available. Integrate with [Bountycaster](https://www.bountycaster.xyz/) to provide a frame the Tavern Keeper can guide you to given certain conditions are met. Should also include a way to other people and projects to submit bounties for our teams to work on. ### LLM How might we incorporate AI to generate aspects of the story? - Scripts - NPCs ### $TVRN Liquidity 💰 But wait, there's more! Behold the chalice of $TVRN liquidity, where the mingling of DEGEN and $TVRN shall spark a whirlwind of opportunity! Let us seize the moment and forge alliances, building bridges to prosperity in the digital realm! How might we find a way to incorporate $RAID? (Although might not be possible from Gnosis Chain) ### Monster Maps How might we integrate existing projects? ## Results - [`route-cleanup'](https://github.com/raid-guild/frame-guild-character-quest/tree/route-cleanup) branch - Lessons Learned - [⚔️ The Tavern](https://hackmd.io/mY0C7ZhdQ5CEgVzMaQq3WA?view) - Chance - Show the ecosystem our capabilities - Provide exciting things for newbs to do - Demonstrate support from OGs - Get in the conversation