What is a Platform?
A Platform in Oak Network is any application or service that:- Integrates with Oak Network smart contracts
- Provides crowdfunding functionality to users
- Manages campaigns on behalf of creators
- Handles user interactions and UI/UX
Platform Roles
Platform Admin
Each platform has a designated Platform Admin who can:- Manage Platform Settings: Configure platform-specific parameters
- Set Platform Fees: Define the fee percentage for their platform
- Pause Platform Campaigns: Temporarily halt all platform campaigns
- Cancel Platform Campaigns: Permanently cancel platform campaigns
- Access Platform Data: View platform-specific campaign information
Platform Responsibilities
Platforms are responsible for:- User Interface: Providing intuitive interfaces for campaign creation and management
- Campaign Validation: Ensuring campaigns meet platform-specific requirements
- User Support: Handling user inquiries and technical support
- Fee Management: Collecting and managing platform fees
- Integration: Seamlessly integrating Oak Network functionality
Platform Registration
Prerequisites
Before registering a platform, ensure you have:- Valid Admin Address: A secure address for platform administration
- Platform Information: Name, description, and contact details
- Fee Structure: Proposed platform fee percentage
- Treasury Address: Address to receive platform fees
Registration Process
Platform Hash Generation
Platform hashes are generated using a deterministic method:Platform Integration Patterns
Direct Integration
Platforms can directly interact with Oak Network contracts:SDK Integration
Use Oak Network SDKs for simplified integration:Proxy Integration
Platforms can act as proxies for users:Platform Events
Campaign Events
Contribution Events
Event Handling
Platform Fees
Fee Structure
Platforms can set their own fee percentage, subject to protocol limits:Fee Collection
Platform fees are automatically collected and distributed:Fee Management
Platform Security
Access Control
Security Best Practices
- Secure Admin Keys: Use hardware wallets for platform admin keys
- Multi-signature: Consider multi-signature for critical operations
- Regular Audits: Audit platform integration code regularly
- Access Monitoring: Monitor platform admin activities
- Emergency Procedures: Have plans for emergency situations
Platform Analytics
Campaign Metrics
Platform Examples
E-commerce Platform
Social Media Platform
Next Steps
- Platform Integration Guide - Step-by-step integration
- Platform SDK - Using the platform SDK
- Platform Examples - Real-world examples