project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4

FrameBase

FrameBase is a revolutionary NFT marketplace on the Base Blockchain, offering minting, renting, selling, and showcasing of digital art and assets. It leverages IPFS, Chainlink, and Privy for smooth transactions, redefining NFT trade and interactions.

FrameBase

Created At

Frameworks

Winner of

XMTP - Open Frames Bounty

Prize Pool

Project Description

FrameBase is an innovative NFT marketplace designed to harness the power of the Base Blockchain, providing users with a comprehensive platform for minting, renting, selling, and displaying digital assets. This project uniquely blends several cutting-edge technologies to create a seamless, user-friendly experience that caters to both crypto enthusiasts and newcomers.

At its core, FrameBase allows creators to mint NFTs by providing a simple GET API. This API fetches data from the internet, which is then used to mint the NFT. The first step in the minting process involves storing metadata on the InterPlanetary File System (IPFS) using Pinata Cloud. This ensures that the data associated with each NFT is securely and permanently stored in a decentralized manner. Pinata's suite of tools, including the Farcaster API and Frame Analytics, enables FrameBase to offer advanced features such as analytics on frames, making it a versatile tool for creators.

Once an NFT is minted, creators have a range of options at their fingertips. They can list their NFTs for rent, sale, or both, setting prices in either ETH or a custom coin, BASE. This flexibility provides creators and owners with multiple avenues to earn from their digital assets. FrameBase dynamically displays listed NFTs on its homepage, where potential buyers and renters can browse the offerings. The homepage features three main sections: NFTs for rent, NFTs for sale, and a section that shows a user's available NFTs, enhancing the personalization of the marketplace.

For the rental market, FrameBase leverages Chainlink automation to manage the transfer of NFT ownership once a rental period expires. This smart contract automation ensures a smooth transition and enhances trust among users. Furthermore, the platform supports dynamic pricing for rentals based on the number of days, providing flexibility and fairness in pricing.

Recognizing the importance of user experience, FrameBase integrates Privy for user sign-up and sign-in processes. Privy's solution allows for the seamless provisioning of self-custodial wallets for users who prefer signing in with email or social login, as well as robust connectors for web3 natives who prefer using their existing wallets. This approach ensures that FrameBase is accessible to users regardless of their familiarity with web3 technologies.

In addition to these features, FrameBase is also integrating XMTP (Extensible Message Transport Protocol) to offer secure, private web3 messaging. This allows users to communicate directly within the platform, facilitating negotiations, discussions, and community building. The integration of XMTP underscores FrameBase's commitment to privacy and security, ensuring that all communications are end-to-end encrypted and controlled by the user.

FrameBase is not just a marketplace; it's a comprehensive ecosystem for NFTs, offering a range of services and features that cater to the needs of digital creators, collectors, and traders. By combining IPFS, Chainlink, Privy, and XMTP, FrameBase is setting a new standard for NFT marketplaces, providing a secure, user-friendly, and versatile platform that empowers users to engage with digital assets in innovative ways.

How it's Made

The journey of creating FrameBase was fueled by a desire to innovate within the NFT space, leveraging cutting-edge blockchain and web technologies. At its core, FrameBase is a platform that transforms how users mint, rent, sell, and showcase NFTs. Built on the Base Blockchain for its efficiency and scalability, Specifically, the use of Amazon EC2 (Elastic Compute Cloud) for hosting both the frontend and backend, along with Amazon S3 for avatar management the project intricately combines several key technologies to ensure a seamless, user-friendly experience.

Foundation and Structure The backbone of FrameBase is Solidity smart contracts, deployed on the Base Blockchain. These contracts handle the logic for NFT minting, renting, sales, and transfers. The choice of Base Blockchain was strategic, aiming to capitalize on its low transaction fees and high throughput capabilities, which are essential for a fluid user experience in a marketplace setting.

Minting and Metadata Storage For minting NFTs, users provide a URL to external data, which our dApp fetches. Once retrieved, this data is stored on IPFS using Pinata Cloud. Pinata's suite, including its Farcaster API, Development Kit, Frame Analytics, and IPFS API, was instrumental. It simplified the process of storing and managing NFT metadata, making it easily accessible and tamper-proof. This step ensures that each NFT's metadata is decentralized and permanently available.

Dynamic Listing and Smart Contracts Listing NFTs for sale or rent introduces a dynamic component to FrameBase. Utilizing smart contracts, the platform allows for flexible pricing options, including fixed prices for sales and dynamic pricing for rentals based on the rental period. These contracts, built with OpenZeppelin's standards for security and efficiency, are deployed via Hardhat, which streamlined testing and deployment.

Automating Rentals Chainlink Automation plays a pivotal role in managing rental agreements. It automates the transfer of NFT ownership once a rental period expires, ensuring a trustless and decentralized process. This automation eliminates manual oversight and enhances user trust in the platform's rental system.

User Experience On the frontend, FrameBase uses Next.js and Tailwind CSS, creating a responsive and intuitive user interface. The choice of these technologies was driven by their flexibility and the community support available, ensuring that FrameBase could be both aesthetically pleasing and highly functional.

User Onboarding and Messaging Privy and XMTP are two pivotal technologies that enhance the user experience on FrameBase. Privy simplifies the onboarding process, allowing users to sign up and sign in using email or social logins while seamlessly connecting their wallets. This approach democratizes access to the NFT marketplace, catering to both crypto-savvy users and those new to the space.

XMTP (Extensible Message Transport Protocol) integrates secure, private messaging between users. By building with XMTP SDKs, FrameBase enables users to communicate directly within the marketplace, fostering a community and enhancing transaction transparency and trust.

Notable Hacks and Challenges A particularly hacky but effective solution was implementing a dynamic rental pricing model. Using Solidity, we developed a formula that adjusts the rental price based on the duration of the rental period and the asset's value, ensuring fair pricing and encouraging active participation in the rental market.

Integrating Chainlink Automation for the NFT rental process also presented challenges, primarily around ensuring that the smart contract logic for transferring NFT ownership post-rental was seamless and secure. Through trial and error and extensive testing, we crafted a robust solution that automates this process reliably.

background image mobile

Join the mailing list

Get the latest news and updates