4V4 is a digital playground for 3D mods, built on the Stacks blockchain. This full-stack dApp enables users to mint, list, and trade 3D models as NFTs using L2 satoshis. It demonstrates how to build scalable and expressive NFT platforms using Clarity smart contracts, Next.js, and Hiro.
- Mint 3D models to user wallets as NFTs
- List models for sale with optional takers, expiry, or batch operations
- Trade NFTs using STX, SIP-010 tokens, and (soon) sBTC
- Supports royalties per NFT via
get-royalty-info - Secure SIP-009 ownership and transfers
- Pagination for listings
- Hiro wallet integration for devnet testing
- Hiro Platform account
- Node.js 18+ and npm/yarn/pnpm
- Recommended: Clarinet + Clarity VSCode Extension
- Log in at platform.hiro.so
- Start Devnet inside your project
- Copy the API Key from the Devnet API or Settings page
git clone https://github.com/fabohax/4v4.git
cd 4v4/clarity
npm install
cd ../front-end
npm install
cp .env.example .envAdd your Hiro Platform API key to .env:
NEXT_PUBLIC_PLATFORM_HIRO_API_KEY=your-api-key-here
npm run devVisit http://localhost:3000 to use the UI.
OSS Built with
