Skip to main content
Platforms are applications or services that integrate with Oak Network to provide crowdfunding functionality. This section covers how platforms work, their roles, and how to integrate them.

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:
  1. User Interface: Providing intuitive interfaces for campaign creation and management
  2. Campaign Validation: Ensuring campaigns meet platform-specific requirements
  3. User Support: Handling user inquiries and technical support
  4. Fee Management: Collecting and managing platform fees
  5. 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

  1. Secure Admin Keys: Use hardware wallets for platform admin keys
  2. Multi-signature: Consider multi-signature for critical operations
  3. Regular Audits: Audit platform integration code regularly
  4. Access Monitoring: Monitor platform admin activities
  5. Emergency Procedures: Have plans for emergency situations

Platform Analytics

Campaign Metrics

Platform Examples

E-commerce Platform

Social Media Platform

Next Steps