explaingit

leihyn/shopier

Analysis updated 2026-05-18

0TypeScriptAudience · developerComplexity · 5/5LicenseSetup · hard

TLDR

A Solana-based shopping app that lets a wallet buy clothes under an on-chain spending policy, with an AI-personalized digital twin.

Mindmap

mindmap
  root((Shopier))
    What it does
      Enforces on-chain spending policy
      Personalized digital twin
      Automated delegate purchases
    Tech stack
      Solana
      Anchor
      Next.js
      TypeScript
    Use cases
      Buy clothes with crypto rules
      Auto-buy under a spending limit
      Personalized style matching
    Audience
      Web3 developers
      Crypto shoppers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Prototype an on-chain spending policy that limits how a wallet can spend

USE CASE 2

Build a shopping app that automatically finds and buys matching products

USE CASE 3

Set up delegated auto-buy purchases within a set spending limit

USE CASE 4

Explore combining Solana smart contracts with AI-personalized product matching

What is it built with?

SolanaAnchorNext.jsTypeScriptTailwind

How does it compare?

leihyn/shopier0xradioac7iv/tempfsabboskhonov/hermium
Stars000
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyhardmoderatemoderate
Complexity5/53/54/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires Anchor, a Solana RPC endpoint, and several API keys including Gemini and a funded devnet wallet.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

Shopier is a project that lets you buy clothes with Solana, the blockchain, where every purchase is controlled by an on-chain spending policy rather than a normal shopping cart checkout. The idea is that a wallet can set rules for what it is allowed to spend, and the smart contracts on Solana enforce those rules before a purchase goes through. The project is built from three deployed Solana programs, which are small pieces of code that run on the blockchain. A spending policy program tracks and records how much has been spent and can delegate spending permission to another key. A digital twin program stores an encrypted profile of the shopper, including style preferences, tied to a wallet signed message. A stylist marketplace program splits payment between the seller and the platform automatically when a sale happens. Buying something works by having the user sign a single Phantom wallet transaction that creates a token account, transfers USDC, and records the spend all at once. There is also a session key feature that lets a delegate automatically make purchases on your behalf as long as they stay within a set watch policy. Product prices and merchant links come from a Google Shopping search API, and the app can resolve Solana Name Service identities to show a buyer's Twitter, GitHub, or website. It also supports quotes in USDC, USDT, EURC, and PYUSD through Jupiter, and has early integrations for converting to regular currency. To run it locally you install the dependencies, build the Anchor programs, and start the Next.js development server, providing a handful of required environment variables like a Gemini API key and Solana RPC endpoint. The stack is Anchor, Next.js, TypeScript, and Tailwind, with React Three Fiber used to render the 3D digital twin. The project is released under the MIT license.

Copy-paste prompts

Prompt 1
Help me set up the .env.local file and run this Shopier project locally with Anchor and Next.js
Prompt 2
Explain how the spending_policy Solana program enforces purchase limits
Prompt 3
Walk me through how a Phantom wallet transaction buys a product in this app
Prompt 4
Show me how the digital twin program personalizes product matching for a shopper

Frequently asked questions

What is shopier?

A Solana-based shopping app that lets a wallet buy clothes under an on-chain spending policy, with an AI-personalized digital twin.

What language is shopier written in?

Mainly TypeScript. The stack also includes Solana, Anchor, Next.js.

What license does shopier use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is shopier to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is shopier for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.