Skip to content

phdargen/onChainArt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xonin - Fully Onchain Generative Art NFT Collection

Xonin is a generative art collection featuring unique abstract designs created and stored 100% on the blockchain. Unlike most NFTs that only store links to external databases which may break over time, Xonin's artwork is fully immutable and permanent on the blockchain.

xonin 001

Collection on OpenSea

Key Features

  • 100% Onchain Artwork: SVG art generation with gas-efficient storage, pseudo-random number generation and rendering
  • Two Unique Collections: Shapes and Paths editions, each with distinct generative algorithms
  • Multi-platform Minting: Mint via web interface or directly from Farcaster social media feeds
  • AI Integration: X (Twitter) agent (@XoninNFT) analyzes blockchain activity and rewards users
  • Robust Royalty System: ERC-2981 implementation for sustainable creator economics

Technical Stack

  • Smart Contracts: Solidity, Hardhat
  • Frontend: React, ethers.js, useDApp
  • Social Integration: Farcaster Frames, viem, wagmi
  • AI Agent: LangChain, Python

Smart contract deployments

Base Mainnet

Sepolia Testnet

Live mints

Development Setup

Smart Contracts

cd hardhat
npm install
npx hardhat compile
npx hardhat run --network base scripts/deploy.js

Frontend

cd frontend
npm install
npm run dev

Farcaster Frame v1

cd farcaster_frame
npm install
npm run dev

Farcaster Frame v2

cd farcaster_frame_v2
npm install
npm run dev