AI-powered platform that transforms skills into tradeable blockchain tokens using Chainlink Functions and Google Gemini.
- ElizaOS Integration - AI agent runtime that monitors social signals and triggers token creation automatically
- Chainlink Functions Integration - Decentralized skill market data fetching and KYC verification
- Google Gemini Agents - AI-powered portfolio analysis and tokenization strategies
- Smart Contract Tokenization - ERC-1155 time tokens with automated pricing
- KYC-Gated Access - Soulbound NFT verification system via Chainlink oracles
- Social Monitoring - Listens to X (formerly Twitter) for skill/token requests
- Gemini AI Intent Parsing - Extracts meaning and context from user posts
- Token Mint Trigger - Initiates Chainlink Functions + smart contract calls
- Marketplace Sync - Displays tokens in live marketplace instantly
- GetSkillPrice.sol - Fetches skill pricing data from Supabase via DON
- GetWalletKYC.sol - Verifies KYC status and mints access NFTs
- DON Integration - Avalanche Fuji testnet (
fun-avalanche-fuji-1
) - Decentralized Data - No centralized API dependencies in production
- TokenExpirationAutomation.sol - To perform upkeep on deactivating expired tokens every hour (CRON job)
- AVAX/USD - Implementation Chainlink Price Feed for Marketplace USD to AVAX conversion
- Portfolio Agent - Analyzes user skills and generates market insights
- Tokenization Agent - Creates optimal token strategies based on market data
- Alert Agent - Real-time transaction notifications and updates
// Chainlink Functions for market data
function sendRequest() external returns (bytes32 requestId) {
FunctionsRequest.Request memory req;
req.initializeRequestForInlineJavaScript(source);
return _sendRequest(req.encodeCBOR(), subscriptionId, gasLimit, donID);
}
// KYC verification with NFT minting
function requestKYCVerification() external {
// Query Supabase via Chainlink Functions
// Mint soulbound KYC NFT on verification
}
Node.js 18+
npm or yarn
# AI Configuration
NEXT_PUBLIC_GEMINI_API_KEY=your-gemini-api-key
# Web3 Configuration
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=your-walletconnect-id
# Chainlink Functions
CHAINLINK_SUBSCRIPTION_ID=15603
CHAINLINK_SECRETS_SLOT_ID=0
CHAINLINK_SECRETS_VERSION=1750362435
git clone <repository-url>
cd time-tokenizer
npm install
npm run dev
ElizaOS acts as the intelligent middleware that bridges social activity with on-chain execution.
ElizaOS continuously listens to user intent on X (formerly Twitter) via keyword detection or structured prompts.
Using Google Gemini agents, ElizaOS extracts meaningful requests (e.g., skill offers, token ideas) from tweets in real time.
Upon valid intent detection, ElizaOS performs the following actions:
- π‘ Triggers Chainlink Functions to fetch relevant skill pricing from Supabase
- π Calls smart contracts (e.g.,
TimeToken
) to mint an ERC-1155 token - π Displays the newly created token instantly on the marketplace
All tokens generated by ElizaOS appear in the live token marketplace, enriched with:
- Metadata generated by Gemini AI
- Real-time pricing data via Chainlink oracles
This enables a zero-friction, trustless pipeline from:
Social Signal β Token Creation β Marketplace Listing
β all without human intervention.
- Connect Wallet - RainbowKit integration with multi-chain support
- KYC Verification - Chainlink Functions verify identity via Supabase
- Skill Assessment - Google Gemini analyzes expertise and market demand
- Token Strategy - AI generates optimal tokenization recommendations
- Smart Contract Deployment - Automated ERC-1155 token creation
- Marketplace - Trade tokens with real-time Chainlink pricing data
- Subscription ID: 15603 (Avalanche Fuji)
- DON Secrets: Encrypted Supabase credentials stored on-chain
- Gas Optimization: 300k callback limit with efficient data parsing
- Error Handling: Comprehensive fallback systems for oracle failures
- Model: Gemini 1.5 Flash for portfolio analysis
- Structured Output: JSON-validated AI responses
- Rate Limiting: Intelligent API usage optimization
- Fallback System: Offline generation when API unavailable
- Soulbound KYC NFTs - Non-transferable access tokens
- Input Validation - Comprehensive data sanitization
- Rate Limiting - API abuse prevention
- Error Boundaries - Graceful failure handling
- GetSkillPrice: Market data oracle
https://github.com/BLTC-520/time-tokenAIzer/blob/main/src/app/artifacts/GetSkillprice.sol#L27-L60
- GetWalletKYC: KYC verification and NFT minting
https://github.com/BLTC-520/time-tokenAIzer/blob/main/src/app/artifacts/GetWalletKYC.sol#L179-L206
https://github.com/BLTC-520/time-tokenAIzer/blob/main/src/app/artifacts/GetWalletKYC.sol#L116-L141
- TokenExpirationAutomation: Chainlink Automation time-based upkeep
https://github.com/BLTC-520/time-tokenAIzer/blob/main/src/app/artifacts/TokenExpirationAutomation.sol#L86-L105
- Frontend: Next.js 15, TypeScript, Tailwind CSS, Framer Motion
- Web3: Wagmi, Viem, RainbowKit, Ethers.js
- AI: Google Gemini 1.5 Flash API
- Blockchain: Chainlink Functions, ERC-1155, Avalanche
- Database: Supabase (accessed via Chainlink Functions)
Access the live application at http://localhost:3001
after setup.
- Real Chainlink Functions data fetching
- Live Google Gemini AI processing
- Smart contract token creation
- KYC verification with NFT minting
- Multi-chain marketplace functionality
- Full Chainlink Functions Integration - Not just price feeds, but custom data fetching and KYC verification
- Multi-Agent AI System - Three specialized Google Gemini agents working in coordination
- Decentralized KYC - Soulbound NFTs for access control via Chainlink oracles
- Real Market Application - Practical time tokenization with actual economic utility
Built for TokenizeAI Hackathon - Showcasing advanced Chainlink Functions integration with Google Gemini AI
π Chainlink Functions | π€ Google Gemini | elizaOS