A Next-Generation Decentralized Creator Economy Platform on Stacks
CreatorVault transforms the traditional tip jar concept into a comprehensive creator economy platform, enabling content creators to monetize their work through tips, subscriptions, and community engagement—all powered by Stacks blockchain and Clarity smart contracts.
CreatorVault aims to build the infrastructure for a decentralized creator economy where:
- Creators maintain full ownership of their earnings
- Fans can support creators directly without intermediaries
- Community engagement drives value creation
- Cross-creator collaboration is seamlessly enabled
- Creator Registration: Comprehensive profiles with bio, social links, and verification system
- Direct Tipping: Send STX tips with optional messages to any registered creator
- Smart Balance Management: Tips accumulate in creator's vault for flexible withdrawal
- Platform Sustainability: Configurable platform fee (1.5% default) for ecosystem growth
- Complete Tip History: Every transaction recorded with timestamps and messages
- Enhanced Security: Emergency pause functionality and robust access controls
- Analytics Foundation: Creator stats, platform metrics, and engagement tracking
- Multi-Asset Support: Accept STX, USDA, sBTC, and other SIP-010 tokens
- Automatic Conversion: Smart token swapping for creator preferences
- Dynamic Fee Calculation: Token-specific fee structures
- Subscription System: Recurring monthly/weekly support
- Milestone Funding: Goal-based campaign creation
- NFT Rewards: Auto-mint supporter NFTs based on tip tiers
- Streaming Tips: Real-time payment for content consumption
- Creator Collaboration: Shared vaults and revenue splitting
- Community Governance: Platform feature voting
- Cross-Platform Integration: API for dApp ecosystem
contracts/
├── creator-vault-core.clar # Main platform contract (Phase 1)
├── multi-token-support.clar # SIP-010 integration (Phase 2)
├── subscription-manager.clar # Recurring payments (Phase 3)
├── nft-rewards.clar # Dynamic NFT system (Phase 3)
└── governance.clar # Community voting (Phase 4)
- Creator Registry: Decentralized creator profile management
- Tip Engine: Secure, fee-efficient tipping mechanism
- Balance Vault: Creator-controlled fund management
- Analytics Engine: On-chain metrics and insights
- Fee Manager: Transparent, configurable platform economics
- Clarinet for local development
- Stacks CLI for deployment
- Stacks wallet for interaction
# Clone the repository
git clone https://github.com/yourname/creator-vault.git
cd creator-vault
# Install Clarinet (if not already installed)
curl --proto '=https' --tlsv1.2 -sSf https://hirosystems.github.io/clarinet/install.sh | sh
# Initialize the project
clarinet new creator-vault
cd creator-vault
# Add the contract
# Copy the creator-vault-core.clar into contracts/ directory# Check contract syntax
clarinet check
# Run tests
clarinet test
# Start local development environment
clarinet console# Deploy to testnet
clarinet deploy --testnet
# Deploy to mainnet
clarinet deploy --mainnet(contract-call? .creator-vault-core register-creator
"Creator Name"
"Brief bio about your work and content"
(list "https://twitter.com/creator" "https://website.com"))(contract-call? .creator-vault-core update-creator-profile
"Updated Name"
"New bio with latest information"
(list "https://newlink.com"))(contract-call? .creator-vault-core withdraw-funds u1000000) ;; 1 STX(contract-call? .creator-vault-core tip-creator
'ST1CREATOR...
u500000 ;; 0.5 STX
(some "Great content! Keep it up!"))(contract-call? .creator-vault-core get-creator-info 'ST1CREATOR...)| Function | Description | Parameters |
|---|---|---|
register-creator |
Register as a new creator | name, bio, links |
update-creator-profile |
Update creator information | name, bio, links |
tip-creator |
Send STX tip to creator | recipient, amount, message |
withdraw-funds |
Withdraw accumulated tips | amount |
| Function | Description | Returns |
|---|---|---|
get-creator-info |
Get creator profile data | Creator details |
get-creator-balance |
Get creator's available balance | Balance amount |
get-tip-info |
Get specific tip details | Tip information |
get-tip-stats |
Get platform statistics | Volume, tips, creators |
- Access Control: Role-based permissions for admin functions
- Emergency Pause: Circuit breaker for security incidents
- Input Validation: Comprehensive parameter checking
- Overflow Protection: Safe arithmetic operations
- Reentrancy Guards: Protection against recursive attacks
# Run all tests
clarinet test
# Run specific test
clarinet test tests/creator_registration_test.ts
# Test coverage
clarinet test --coverage- Platform Fee: 1.5% (configurable)
- Minimum Tip: 0.000001 STX
- Creator Verification: Future staking requirement
- Gas Optimization: Efficient contract design for low fees
We welcome contributions! Please see our Contributing Guidelines.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Own Your Audience: Direct relationships without platform lock-in
- Transparent Economics: Clear fee structure and instant payments
- Flexible Monetization: Multiple revenue streams in one platform
- Community Building: Tools for deeper fan engagement
- Direct Impact: Your support goes directly to creators
- Exclusive Access: NFT rewards and special content
- Transparent Transactions: All activity on-chain and verifiable
- Cross-Creator Discovery: Find new creators to support
- Open Source: Build on our foundation
- Extensible Architecture: Easy integration and customization
- Stacks Ecosystem: Leverage Bitcoin security and finality
- Clear APIs: Well-documented interfaces
This project is licensed under the MIT License - see the LICENSE file for details.
- Documentation: docs.creatorvault.com
- Website: creatorvault.com
- Twitter: @CreatorVault
- Discord: Join our community
- Stacks Explorer: View on Explorer
- Stacks Foundation for the incredible blockchain infrastructure
- Hiro for development tools and support
- The creator economy pioneers who inspired this project
- Our community of early contributors and supporters
Built with ❤️ on Stacks | Empowering Creators Worldwide