Skip to content

App Templates

Start building faster with Civra's pre-built Web3 templates.

Overview

Civra offers production-ready templates for common Web3 applications. Each template includes smart contracts, frontend, and integrations.

Available Templates

🎨 NFT Marketplace

What's Included:

  • ERC-721 NFT contract with royalties
  • Marketplace contract (list/buy/bid)
  • Minting interface with IPFS upload
  • NFT gallery and detail pages
  • Wallet integration (MetaMask)
  • Search and filtering
  • Dark theme UI

Tech Stack:

  • Solidity + OpenZeppelin
  • Next.js + TypeScript
  • Tailwind CSS
  • IPFS (via Pinata)
  • Ethers.js

Use Cases:

  • Digital art marketplace
  • Collectibles platform
  • Gaming NFT store
  • Music NFTs
  • Photography marketplace

Estimated Setup: 10 minutes

Use Template →


💰 DeFi Lending Protocol

What's Included:

  • Lending pool contracts
  • Collateral management
  • Interest rate model
  • Liquidation mechanism
  • Dashboard UI
  • Portfolio tracking
  • Admin panel

Tech Stack:

  • Solidity (Compound fork)
  • React + TypeScript
  • Web3.js
  • Chainlink price feeds
  • The Graph (subgraph included)

Features:

  • Deposit/withdraw assets
  • Borrow against collateral
  • Variable interest rates
  • Flash loan protection
  • Health factor monitoring

Use Cases:

  • Lending platforms
  • Collateralized loans
  • Yield generation
  • Liquidity provision

Estimated Setup: 15 minutes

Use Template →


🔄 DEX (Token Swap)

What's Included:

  • AMM smart contracts
  • Liquidity pool system
  • Router for swaps
  • Swap interface
  • Liquidity provision UI
  • Analytics dashboard

Tech Stack:

  • Solidity (Uniswap V2 style)
  • Next.js + TypeScript
  • Wagmi hooks
  • TradingView charts
  • Recharts for analytics

Features:

  • Token swapping
  • Add/remove liquidity
  • LP token rewards
  • Slippage protection
  • Price impact calculator
  • Transaction history

Use Cases:

  • Decentralized exchange
  • Token launchpad
  • Liquidity incentives
  • Trading platform

Estimated Setup: 12 minutes

Use Template →


🏛️ DAO Governance

What's Included:

  • Governance token (ERC-20)
  • Governor contract
  • Timelock controller
  • Treasury management
  • Voting UI
  • Proposal system
  • Member dashboard

Tech Stack:

  • Solidity + OpenZeppelin Governor
  • React + TypeScript
  • Snapshot.org integration
  • Tally API
  • IPFS for proposals

Features:

  • Create proposals
  • Vote (for/against/abstain)
  • Delegate votes
  • Timelock execution
  • Treasury management
  • Multi-sig support

Use Cases:

  • DAO platforms
  • Protocol governance
  • Investment DAOs
  • Community governance

Estimated Setup: 15 minutes

Use Template →


🎯 Staking Platform

What's Included:

  • Staking pool contracts
  • Reward distribution
  • Multiple pool types
  • Staking UI
  • Analytics dashboard
  • Admin controls

Tech Stack:

  • Solidity
  • Next.js + TypeScript
  • Ethers.js
  • Recharts
  • Framer Motion

Features:

  • Flexible/locked staking
  • APY calculation
  • Auto-compounding
  • Early withdrawal penalties
  • Referral rewards
  • Staking history

Use Cases:

  • Token staking
  • LP token farming
  • Governance staking
  • Reward distribution

Estimated Setup: 10 minutes

Use Template →


🎮 Play-to-Earn Game

What's Included:

  • NFT character contracts
  • Game currency (ERC-20)
  • Battle/reward system
  • Game UI
  • Leaderboard
  • Marketplace

Tech Stack:

  • Solidity
  • Next.js + Phaser.js
  • TypeScript
  • Web3.js
  • IPFS

Features:

  • Mint characters (NFTs)
  • Earn tokens by playing
  • Upgrade NFTs
  • PvP battles
  • Item marketplace
  • Leaderboards

Use Cases:

  • Blockchain games
  • P2E platforms
  • NFT gaming
  • Metaverse projects

Estimated Setup: 20 minutes

Use Template →


🚀 Token Launchpad

What's Included:

  • IDO contract
  • Vesting schedules
  • Whitelist system
  • Launch UI
  • KYC integration
  • Claim interface

Tech Stack:

  • Solidity
  • React + TypeScript
  • Web3-React
  • Merkle tree whitelisting
  • Chainlink automation

Features:

  • Tiered allocation
  • Whitelist/public sale
  • Vesting schedules
  • Refund mechanism
  • Launch calendar
  • Token claims

Use Cases:

  • Token launches
  • IDO platforms
  • Presale systems
  • Fair launches

Estimated Setup: 15 minutes

Use Template →


🖼️ Generative NFT Collection

What's Included:

  • ERC-721A contract
  • Trait system
  • Metadata generator
  • Minting UI
  • Reveal mechanism
  • Rarity calculator

Tech Stack:

  • Solidity (ERC-721A)
  • Next.js + TypeScript
  • Sharp (image processing)
  • IPFS/Arweave
  • Ethers.js

Features:

  • 10k collection support
  • Whitelist minting
  • Reveal after sellout
  • Provenance hash
  • Rarity traits
  • Collection dashboard

Use Cases:

  • PFP collections
  • Generative art
  • NFT drops
  • Community projects

Estimated Setup: 18 minutes

Use Template →


💼 Multi-Sig Wallet

What's Included:

  • Multi-signature contract
  • Transaction proposal
  • Approval system
  • Wallet UI
  • Owner management
  • Transaction history

Tech Stack:

  • Solidity (Gnosis Safe style)
  • Next.js + TypeScript
  • Wagmi
  • Safe SDK
  • Ethers.js

Features:

  • M-of-N signatures
  • Propose transactions
  • Approve/reject flow
  • Owner management
  • Daily limits
  • Emergency functions

Use Cases:

  • Team wallets
  • Treasury management
  • Shared accounts
  • Escrow services

Estimated Setup: 12 minutes

Use Template →


📊 Portfolio Tracker

What's Included:

  • Multi-wallet tracking
  • Token/NFT aggregation
  • DeFi position tracking
  • Analytics dashboard
  • PnL calculations
  • Export functionality

Tech Stack:

  • Next.js + TypeScript
  • Alchemy API
  • Covalent API
  • Recharts
  • TailwindCSS

Features:

  • Track multiple wallets
  • Token balances
  • NFT collections
  • DeFi positions
  • Transaction history
  • Net worth tracking

Use Cases:

  • Portfolio management
  • Wealth tracking
  • Tax reporting
  • Investment analysis

Estimated Setup: 8 minutes

Use Template →

Using Templates

Quick Start

  1. Select Template

    Choose template → Click "Use Template"
  2. Customize

    Tell AI: "Change token name to MyToken"
    → AI updates all references
  3. Deploy

    Click "Deploy" → Select network → Confirm

Customization

Templates are fully customizable:

Smart Contracts:

Change the staking APY from 10% to 15%

UI/Design:

Make the theme match my brand colors: #FF6B6B

Features:

Add email notifications for new proposals

Integrations:

Integrate with Stripe for fiat payments

Template Features

Pre-Configured

✅ Smart contracts (audited) ✅ Frontend components ✅ Wallet integration ✅ Responsive design ✅ Dark/light themes ✅ Mobile optimized ✅ SEO ready ✅ Type-safe (TypeScript)

Production Ready

✅ Security best practices ✅ Gas optimized ✅ Error handling ✅ Loading states ✅ Transaction feedback ✅ Unit tests included ✅ Documentation

Deployment

✅ One-click deploy ✅ Multi-chain support ✅ Automatic verification ✅ Environment config ✅ CI/CD ready

Customization Examples

NFT Marketplace → Music NFTs

Convert this NFT marketplace to focus on music:
- Add audio player component
- Include lyrics/album info
- Add streaming functionality
- Support royalty splits for collaborators

DeFi Lending → Real Estate

Adapt this lending protocol for real estate:
- Tokenize properties (ERC-1155)
- Fractional ownership
- Rent distribution
- Property voting rights

DAO → Investment DAO

Transform this DAO for investments:
- Add investment proposals
- Portfolio tracking
- Profit distribution
- Member limits (accredited investors)

Multi-Template Projects

Combine templates for complex apps:

NFT Gaming Platform

Use templates:
1. Generative NFT Collection (characters)
2. Play-to-Earn Game (gameplay)
3. Marketplace (trading)
4. Staking Platform (rewards)

Integrate: Share NFT contract across all

DeFi Ecosystem

Use templates:
1. Token Launchpad (launch token)
2. DEX (provide liquidity)
3. Staking Platform (lock liquidity)
4. DAO (govern protocol)

Integrate: Connected governance and rewards

Template Roadmap

Coming Soon

  • 🏦 Yield Aggregator
  • 🎰 Prediction Market
  • 🎟️ Ticketing Platform
  • 🏠 Real Estate Tokenization
  • 💱 Crypto Payment Gateway
  • 🌉 Cross-Chain Bridge
  • 🔐 Identity & Credentials
  • 📱 Mobile Wallet
  • 🎨 Generative Art Studio
  • 💸 Subscription Platform

Request a Template

Missing something? Request a template →

Template Support

Documentation

Each template includes:

  • 📖 README with setup instructions
  • 📝 Smart contract documentation
  • 🎨 Component documentation
  • 🔧 Configuration guide
  • 🚀 Deployment guide

Video Tutorials

Watch template walkthroughs:

Community Examples

See what others built:

Best Practices

1. Start with Template

Don't reinvent the wheel:

  • Use template as foundation
  • Customize to your needs
  • Add unique features

2. Understand the Code

Before deploying:

  • Read smart contracts
  • Review security measures
  • Understand gas costs
  • Test thoroughly

3. Test on Testnet

Always test first:

  • Deploy to Sepolia/Mumbai
  • Test all functions
  • Invite beta users
  • Fix issues

4. Audit Before Mainnet

For financial apps:

  • Get professional audit
  • Review by community
  • Bug bounty program
  • Gradual rollout

FAQs

Are templates free?

Yes, all templates are free to use with any Civra plan.

Can I modify templates?

Yes, templates are fully customizable. Modify anything you want.

Are templates audited?

Core contracts use OpenZeppelin standards. Full audits available for Pro+ plans.

Can I use templates commercially?

Yes, use templates for commercial projects. No attribution required.

Do templates cost credits?

Using a template is free. Customizations use message credits as normal.

Which chains do templates support?

All EVM chains: Ethereum, Polygon, Arbitrum, Optimism, BSC, Avalanche.

Can I suggest template improvements?

Yes! Contribute on GitHub →

Next Steps

Built with Civra - Web3 Development Platform