AI-Driven No-Code RWA Marketplace Builder - Build custom marketplaces for Real-World Assets in minutes, powered by AI.
RealFlow Studio enables non-technical users (real estate agents, artists, entrepreneurs) to create and launch custom marketplaces for tokenized RWAs like real estate, art, and commodities. Users can:
- Drag-and-drop to design marketplace UI
- Tokenize assets with AI-generated smart contracts
- Deploy to multiple EVM chains (Polygon Amoy and Avalanche Fuji testnets)
graph TB
subgraph "Frontend Layer"
UI[React + TypeScript]
Builder[Visual Builder]
Auth[Privy Auth]
Wallet[Wallet Integration]
end
subgraph "Backend Layer"
API[Express.js API]
AI[AI Service]
IPFS[IPFS Service]
Web3[Web3 Service]
end
subgraph "Blockchain Layer"
Factory[MarketplaceFactory]
Tokenizer[RWATokenizer]
Payment[PaymentSplitter]
end
subgraph "External Services"
OpenAI[OpenAI GPT-4]
Pinata[Pinata IPFS]
Polygon[Polygon Amoy]
end
UI --> API
Builder --> API
Auth --> API
Wallet --> API
API --> AI
API --> IPFS
API --> Web3
AI --> OpenAI
IPFS --> Pinata
Web3 --> Factory
Web3 --> Tokenizer
Web3 --> Payment
Factory --> Polygon
Tokenizer --> Polygon
Payment --> Polygon
sequenceDiagram
participant User
participant Frontend
participant Backend
participant AI
participant Blockchain
participant IPFS
User->>Frontend: Create Marketplace
Frontend->>Backend: Submit Design
Backend->>AI: Generate Smart Contract
AI->>Backend: Return Contract Code
Backend->>IPFS: Upload Metadata
IPFS->>Backend: Return CID
Backend->>Blockchain: Deploy Contract
Blockchain->>Backend: Return Contract Address
Backend->>Frontend: Return Deployment Info
Frontend->>User: Show Live Marketplace
graph LR
subgraph "Factory Pattern"
Factory[MarketplaceFactory]
Impl[RWATokenizer Implementation]
end
subgraph "Deployed Instances"
MP1[Marketplace 1]
MP2[Marketplace 2]
MP3[Marketplace N]
end
subgraph "Token Standards"
ERC1155[ERC-1155 Multi-Token]
ERC2981[ERC-2981 Royalties]
Ownable[Access Control]
end
Factory --> Impl
Factory --> MP1
Factory --> MP2
Factory --> MP3
MP1 --> ERC1155
MP2 --> ERC1155
MP3 --> ERC1155
ERC1155 --> ERC2981
ERC1155 --> Ownable
- Drag & Drop Builder - Visual marketplace designer with React Flow
- AI-Powered - Auto-generate Solidity smart contracts with AI
- RWA Tokenization - Support for ERC-721 and ERC-1155 tokens
- Instant Deploy - Launch on Polygon in minutes
- Code Generation - Generate smart contracts from natural language
- Creative Mode - Themed UI generation (Luxury, Modern, Playful, Nature, Dark)
- Vibe Suggestions - Fun, playful code comments and themes
- Frontend: React, TypeScript, Vite, TailwindCSS, React Flow
- Backend: Express.js, Node.js
- Smart Contracts: Solidity, OpenZeppelin, Foundry
- Blockchain: Multi-chain support (Polygon Amoy chain ID: 80002, Avalanche Fuji chain ID: 43113)
- AI: OpenAI GPT-4
- Storage: IPFS via Pinata
graph TD
React[React 18.3.1]
TS[TypeScript 5.8.3]
Vite[Vite 5.4.19]
Tailwind[TailwindCSS 3.4.17]
Flow[React Flow 12.10.1]
Router[React Router 6.30.1]
Query[TanStack Query 5.83.0]
Framer[Framer Motion 12.38.0]
Privy[Privy Auth 1.60.0]
Wagmi[Wagmi 1.4.13]
graph TD
Express[Express.js 4.21.0]
Node[Node.js 18+]
CORS[CORS 2.8.5]
Helmet[Helmet 8.0.0]
RateLimit[Express Rate Limit 7.4.0]
Viem[Viem 1.21.4]
Zod[Zod 3.25.76]
IPFS[IPFS HTTP Client 60.0.1]
graph TD
Solidity[Solidity ^0.8.20]
OpenZeppelin[OpenZeppelin Contracts]
Foundry[Foundry Framework]
ERC1155[ERC-1155 Standard]
ERC2981[ERC-2981 Royalties]
Factory[Factory Pattern]
Clone[Clone Pattern]
- Node.js 18+
- npm or yarn
- MetaMask or WalletConnect wallet
# Clone the repository
git clone https://github.com/your-org/realflow-studio.git
cd realflow-studio
# Install dependencies
npm install
# Create environment file
cp .env.example .env.local
# Start development server
npm run dev# Navigate to backend
cd backend
# Install dependencies
npm install
# Create environment file
cp .env.example .env
# Start server
npm run dev# Navigate to contracts
cd contracts
# Install dependencies
forge install
# Build contracts
forge build
# Run tests
forge test
# Deploy to testnet
forge script script/Deploy.s.sol --rpc-url polygonAmoy --private-key $PRIVATE_KEY --broadcastVITE_PRIVY_APP_ID=your_privy_app_id
VITE_WALLET_CONNECT_PROJECT_ID=your_walletconnect_project_id
VITE_API_URL=http://localhost:5000PORT=5000
NODE_ENV=development
# AI Service
OPENAI_API_KEY=your_openai_api_key
# IPFS Service
PINATA_API_KEY=your_pinata_api_key
PINATA_API_SECRET=your_pinata_api_secret
# Blockchain
DEPLOYER_PRIVATE_KEY=your_deployer_private_key
# Polygon Amoy Testnet
POLYGON_AMOY_RPC_URL=https://rpc-amoy.polygon.technology
MARKETPLACE_FACTORY_ADDRESS=0x895605cfacb5f0d9de464dce03b81df73bd3783c
# Avalanche Fuji Testnet
AVALANCHE_FUJI_RPC_URL=https://api.avax-test.network/ext/bc/C/rpc
AVALANCHE_CONTRACT_ADDRESS=0x62f0be8a94f7e348f15f6f373e35ae5c34f7d40f
# Security
CORS_ORIGIN=http://localhost:5173GET /api/healthPOST /api/ai/generate-code
POST /api/ai/optimize
GET /api/ai/vibe-suggestion/:themePOST /api/ipfs/upload
GET /api/ipfs/metadata/:cid
POST /api/ipfs/pin/:cidGET /api/web3/contract/:address
GET /api/web3/balance/:address
GET /api/web3/factory
POST /api/web3/estimate-deploymentGET /api/marketplaces
POST /api/marketplaces
GET /api/marketplaces/:id
GET /api/marketplaces/:id/statsjourney
title User Journey
section Onboarding
Login: Connect Wallet: 5: User
Dashboard: View Overview: 3: User
section Creation
Builder: Design Marketplace: 5: User
AI: Generate Contract: 3: User
Deploy: Launch to Blockchain: 2: User
section Management
Manage: Monitor Activity: 4: User
Analytics: View Performance: 3: User
- OpenZeppelin audited contracts
- Factory pattern for upgradability
- Access control with Ownable
- Reentrancy protection
- Overflow/underflow checks
- Rate limiting on all endpoints
- CORS configuration
- Helmet.js for security headers
- Input validation with Zod
- Environment variable protection
- Privy for secure authentication
- Secure wallet connections
- Input sanitization
- XSS protection
- Code splitting with React.lazy
- Image optimization
- Bundle size optimization
- Service worker for caching
- Response caching
- Database indexing
- Connection pooling
- Compression middleware
- Gas optimization techniques
- Batch operations
- Efficient data structures
- Minimal storage usage
| Contract | Address | Explorer |
|---|---|---|
| RWATokenizer | 0xc880af5d5ac3ea27c26c47d132661a710c245ea5 |
SnowTrace |
| MarketplaceFactory | 0x62f0be8a94f7e348f15f6f373e35ae5c34f7d40f |
SnowTrace |
| Real Estate RWA Marketplace | 0x06Cebc9403C00d972e014E452509d04c7C350880 |
SnowTrace |
| Contract | Address | Explorer |
|---|---|---|
| RWATokenizer | 0x6ead743c9122a6c47212e4808edd49e260c1172b |
Polygonscan |
| MarketplaceFactory | 0x895605cfacb5f0d9de464dce03b81df73bd3783c |
Polygonscan |
| Polygon Real Estate Hub | 0x32176423853891a310A874132185C02EF90A03ce |
Polygonscan |
Update your backend/.env with the deployed contract addresses:
# Avalanche Fuji
AVALANCHE_FUJI_RPC_URL=https://api.avax-test.network/ext/bc/C/rpc
AVALANCHE_CONTRACT_ADDRESS=0x62f0be8a94f7e348f15f6f373e35ae5c34f7d40f
# Polygon Amoy
POLYGON_AMOY_RPC_URL=https://rpc-amoy.polygon.technology
MARKETPLACE_FACTORY_ADDRESS=0x895605cfacb5f0d9de464dce03b81df73bd3783cUse the deployment script to deploy new marketplaces:
# Deploy to Avalanche Fuji
node scripts/deploy-marketplace.js avalanche
# Deploy to Polygon Amoy
node scripts/deploy-marketplace.js polygon# Run unit tests
npm run test
# Run integration tests
npm run test:integration
# Run E2E tests
npm run test:e2e# Run unit tests
cd backend && npm test
# Run integration tests
npm run test:integration
# Run with coverage
npm run test:coverage# Run all tests
forge test
# Run specific test
forge test --match-test testFunctionName
# Run with gas report
forge test --gas-report# Build for production
npm run build
# Preview build
npm run preview
# Deploy to Vercel
vercel --prod# Build for production
npm run build
# Start production server
npm start
# Deploy to Railway
railway up# Deploy using the deployment script (recommended)
node scripts/deploy-marketplace.js polygon # Deploy to Polygon Amoy
node scripts/deploy-marketplace.js avalanche # Deploy to Avalanche Fuji
# Or deploy manually using Foundry
forge script script/Deploy.s.sol --rpc-url polygonAmoy --private-key $PRIVATE_KEY --broadcast
forge script script/Deploy.s.sol --rpc-url avalancheFuji --private-key $PRIVATE_KEY --broadcast
# Verify on PolygonScan
forge verify-contract <address> "src/RWATokenizer.sol:RWATokenizer" --chain-id 80002 --verifier-url https://api-amoy.polygonscan.com/api
# Verify on SnowTrace (Avalanche)
forge verify-contract <address> "src/RWATokenizer.sol:RWATokenizer" --chain-id 43113 --verifier-url https://testnet.snowtrace.io/apiWe welcome contributions! Please see our Contribution Guide for details.
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Submit a pull request
- Use TypeScript for all new code
- Follow ESLint configuration
- Write meaningful commit messages
- Document public APIs
This project is licensed under the MIT License - see the LICENSE file for details.
- Documentation: docs/
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: support@realflow.studio
Built for Aleph Hackathon 2026 - AI + RWA Track.
- Lead Developer: [Your Name]
- Smart Contracts: [Contract Developer]
- UI/UX: [Designer]
- AI Integration: [ML Engineer]
- Development Time: 48 hours
- Lines of Code: ~15,000
- Test Coverage: 85%+
- Smart Contracts: 6 deployed (3 on Avalanche + 3 on Polygon)
- API Endpoints: 12
- Components: 50+
- Supported Networks: Polygon Amoy, Avalanche Fuji
Made with β€οΈ for the Aleph Hackathon 2026
Β© 2026 RealFlow Studio. All rights reserved.
