project screenshot 1
project screenshot 2
project screenshot 3

ShopifyEcomFrames

Introducing ShopifyBasedFrame: Seamlessly integrate your Shopify store with Smart Wallet for a streamlined shopping experience. Customers can order products directly within Frames and earn Onchain NFT rewards for each purchase.

ShopifyEcomFrames

Created At

Superhack 2024

Winner of

Blockscout - Use Blockscout Block Explorer!

Prize Pool

Project Description

ShopifyBasedFrame is an innovative solution that integrates Shopify with a Smart Wallet, enabling a seamless and enhanced shopping experience for both merchants and customers. This integration allows merchants to create a unique shopping environment where customers can browse, purchase, and earn rewards directly within a unified interface known as Frames. By linking Shopify store credentials to the Smart Wallet, merchants can effortlessly connect their product catalog to this system, providing customers with a streamlined and secure way to order products.

Key Features: Smart Wallet Integration:

The core of ShopifyBasedFrame is its Smart Wallet, which can be set up using passkeys or Face ID for easy and secure access. This wallet not only facilitates onchain payments but also stores and manages customers' NFT rewards. The payments made through Shopify are processed directly to the Smart Wallet, ensuring that transactions are both efficient and secure. Order Processing Within Frames:

Customers can view and order products directly within Frames, a dedicated interface where the entire shopping process takes place. The product metadata, including images and variants, is automatically pulled from the Shopify store, allowing customers to explore different options before making a purchase. It's essential that every product has a corresponding image in the Shopify Admin, as these images are crucial for the product to render correctly within Frames. Onchain NFT Rewards:

One of the standout features of this integration is the automatic generation of NFTs as rewards for each order. Merchants can configure specific blockchain parameters, such as the selected chain and collection address, through the Owl Dashboard. These NFTs serve as loyalty rewards and can be redeemed by customers for discounts on future orders. This not only incentivizes repeat purchases but also brings loyalty programs onchain, enhancing customer engagement and retention. Zap Automation for Rewards:

The project incorporates Zap automation, which streamlines the reward process. When a customer makes a purchase, the Zap automation triggers the creation and distribution of NFTs according to the predefined settings in the Owl Dashboard. This automation ensures that rewards are distributed promptly and consistently without manual intervention, enhancing the overall user experience. Customizable Shopping Experience:

ShopifyBasedFrame is designed to be customizable, allowing merchants to tailor the shopping experience according to their brand’s needs. From the visual presentation within Frames to the specific NFT rewards tied to each product, merchants have the flexibility to create a unique shopping journey for their customers. Benefits: Enhanced Customer Loyalty: By integrating NFT rewards into the shopping experience, merchants can significantly increase customer loyalty. The ability to earn and redeem NFTs for discounts encourages repeat purchases and fosters a stronger connection between the brand and its customers.

Streamlined Shopping Process: The integration of Shopify with Frames allows customers to complete their purchases within a single interface, making the process more convenient and reducing the steps required to finalize an order.

Secure Onchain Payments: All transactions are processed onchain directly to the merchant's Smart Wallet, ensuring a high level of security and transparency. This also simplifies the payment process for customers, as they can use their Smart Wallet credentials to complete purchases quickly.

Automated Reward Distribution: With Zap automation, merchants can automate the process of rewarding customers with NFTs, saving time and ensuring that rewards are distributed accurately and consistently.

Use Cases: E-commerce Merchants: Online stores looking to enhance customer engagement and retention can use ShopifyBasedFrame to offer NFT rewards, turning every purchase into an opportunity for customers to earn valuable onchain assets.

Brands with Loyalty Programs: Brands that already have loyalty programs can elevate their offerings by bringing these programs onchain, providing customers with unique digital assets that can be traded or redeemed for discounts.

Innovative Product Launches: Merchants can use the NFT rewards feature to promote new product launches, offering exclusive NFTs to customers who purchase newly released items, thereby driving sales and excitement around new products.

Important Considerations: Image Requirements: For products to render correctly within Frames, each item must have an associated image sourced from the Shopify Admin. This ensures that customers can view the product accurately before making a purchase.

Customization in Shopify Admin: Merchants should ensure that their product metadata, including variants and images, is thoroughly managed within Shopify Admin to provide the best possible shopping experience in Frames.

In summary, ShopifyBasedFrame is a powerful tool that merges the world of e-commerce with blockchain technology, providing a modern, secure, and rewarding shopping experience for customers while offering merchants an innovative way to engage with their audience.

How it's Made

React and Next.js: The project uses React (version 18.3.1) as the main frontend library, along with Next.js (version 14.2.3) for server-side rendering and routing. This combination provides a powerful and efficient framework for building scalable web applications. 2. TypeScript: The project is written in TypeScript (version 5.4.5), which adds static typing to JavaScript, improving code quality and developer experience. Tailwind CSS: For styling, the project utilizes Tailwind CSS (version 3.4.3), a utility-first CSS framework that allows for rapid UI development. State Management: The project uses @tanstack/react-query (version 5.0.5) for data fetching and state management, which provides a robust solution for handling server state in React applications. Web3 Integration: Several Web3-related libraries are included: @coinbase/wallet-sdk (version 4.0.3) viem (version 2.9.32) wagmi (version 2.9.5) siwe (version 2.3.2) These libraries suggest that the project includes blockchain integration, possibly for cryptocurrency wallets and transactions. UI Components: The project uses @headlessui/react (version 1.7.19) and @heroicons/react (version 2.1.3) for pre-built UI components and icons, which can speed up development and maintain consistency. API Calls: Axios (version 1.6.8) is used for making HTTP requests to backend services or external APIs. Progressive Web App (PWA): The inclusion of next-pwa (version 5.6.0) indicates that the project is set up as a Progressive Web App, allowing for offline functionality and improved mobile experience. Development Tools: ESLint (version 9.6.0) for code linting @wagmi/cli (latest version) for generating type-safe hooks for interacting with smart contracts Autoprefixer (version 10.4.19) for adding vendor prefixes to CSS Backend Integration: The presence of Hono (version 4) suggests that the project might have a lightweight backend or serverless functions, possibly for API routes or server-side logic. Frog Framework: The inclusion of "frog" (latest version) indicates the use of the Frog framework, which is likely used for building interactive onchain applications.

background image mobile

Join the mailing list

Get the latest news and updates