Purpose 9ten is a decentralized music streaming platform leveraging peer-to-peer data sharing technologies and the W3C ActivityPub protocol to create a social network for artists and fans. The platform enables listeners to pay an optional monthly subscription fee, which is fairly and transparently distributed to their top 9 most-listened-to artists each month.
Vision Statement To revolutionize the music streaming industry by fostering a fair, transparent, and decentralized ecosystem that empowers artists and engages listeners. Our goal is to create a platform where the needs and rights of artists and listeners take precedence over large conglomerates, utilizing a hybrid architecture of public blockchains for payments and private ledgers for data integrity.
- Fair Compensation: Artists are paid directly based on verified listener engagement, not obscure pro-rata pools.
- Decentralization of Power: No central authority controls the content or the money flow.
- Transparency in Operations: All stream verifications and payouts are auditable.
- Artist Empowerment: Artists own their data and relationships with fans.
- Listener Engagement: Listeners directly support the specific artists they consume.
- Trustless Architecture: Node operators verify data but do not hold custody of artist funds.
- Developers: Implement and maintain the technical aspects of the platform, including ActivityPub integration, Hyperledger Fabric setup, and Smart Contract bridges.
- Artists: Upload music, engage with fans, and link a valid crypto wallet to their profile to receive automated direct payouts.
- Server Admins (Node Operators): Set up and manage 9ten server instances. They do not hold custody of artist funds. They receive their operating revenue ($1/user) instantly via smart contract when a user subscribes.
- Listeners: Use the platform to stream music, support artists, and interact with content via USDP subscription payments.
- Developers: Opportunity to work on cutting-edge technologies and contribute to an innovative project.
- Artists: Fair compensation, direct engagement with fans, and control over their content.
- Server Admins: Regular, automated revenue from listener subscriptions without tax liability for artist pools.
- Listeners: Directly support favorite artists and enjoy high-quality, decentralized streaming.
9ten utilizes a Hybrid Ledger Architecture:
- ActivityPub (Forked PeerTube): Handles social interactions, federation, and heavy media streaming.
- Hyperledger Fabric: A private, permissioned ledger for high-speed, zero-gas logging of "Listen Activities" and subscription status.
- Public Blockchain (Polygon/Ethereum): Handles the actual movement of USDP funds via Smart Contracts to ensure trustlessness.
flowchart TD
%% Define Styles
classDef blockchain fill:#f9f,stroke:#333,stroke-width:2px;
classDef p2p fill:#ade,stroke:#333,stroke-width:2px;
classDef actor fill:#ffd,stroke:#333,stroke-width:2px;
classDef storage fill:#eee,stroke:#333,stroke-width:2px;
%% Actors
Listener((Listener)):::actor
Artist((Artist)):::actor
Operator((Node Operator)):::actor
subgraph User_Space [User Environment]
Wallet[User Crypto Wallet]
Client[9ten Client App]
end
%% FIXED: Removed parentheses in title to fix parse error
subgraph Public_Chain [Public Blockchain - Polygon or Eth]
SC[Split-Payment Smart Contract]:::blockchain
Vault[Artist Payout Vault]:::blockchain
end
subgraph 9ten_Network [9ten Decentralized Network]
Node[Local 9ten Node / Oracle]:::p2p
Witness[Witness Node]:::p2p
%% FIXED: Added quotes inside the cylinder definition
HL[("Hyperledger Fabric Ledger")]:::storage
end
%% --- FLOW 1: SUBSCRIPTION ---
Listener -->|1. Pay $10 USDP| Wallet
Wallet -->|2. Transfer USDP| SC
SC -->|3a. Instant $1 Op Fee| Operator
SC -->|3b. Lock $9 Pool| Vault
SC -.->|4. Emit Event: SubVerified| Node
Node -->|5. Grant Premium Access| HL
%% --- FLOW 2: STREAMING & VERIFICATION (Three Eyes) ---
Listener -->|6. Press Play| Client
Client -->|7. Request Audio| Node
Node -->|8. Stream Audio Data| Client
Client -->|9. Report ListenActivity| Node
Node -->|10. Verify Bandwidth & Sign| Witness
Witness -->|11. Verify Signature| HL
Node -->|12. Commit Verified Stream| HL
%% --- FLOW 3: MONTHLY PAYOUT ---
HL -->|13. Calculate Top 9 Equal Split| Node
Node -->|14. Submit PayoutManifest| SC
SC -->|15. Unlock Funds| Vault
Vault -->|16. Direct Transfer| Artist
To ensure Node Operators are not liable for artist payouts (avoiding "money transmitter" status), 9ten utilizes a Split-Payment Smart Contract.
- Listener Payment: The user sends $10 USDP to the 9ten Smart Contract.
- The Split:
- $1.00 USDP is sent immediately to the Node Operator's Public Wallet (Operational Fee).
- $9.00 USDP is locked in the Artist Payout Vault (Smart Contract).
- Access Grant: The Smart Contract emits a
SubscriptionVerifiedevent. The local 9ten Node (acting as an Oracle) detects this and grants the user 30 days of "Premium" access on the Hyperledger Fabric network.
Funds are distributed based on an Equal Weight Protocol. On the 25th of every month, the Hyperledger Chaincode executes the following logic:
-
Aggregation: Query all verified
ListenActivitylogs for User$U$ . - Ranking: Sort artists by total listening duration.
-
Selection: Select the top
$N$ artists (where$N \le 9$ ). -
Calculation:
- The User's Pool $P =
$9.00$ . - Payout per Artist =
$P / N$ . - Example: If a user listens to 50 artists, the top 9 each receive $1.00. If a user listens to only 3 artists, each receives $3.00.
- The User's Pool $P =
-
Execution: The Node submits a
PayoutManifestto the public Smart Contract, which unlocks the funds and transfers them directly to the Artists' wallets.
We are forking PeerTube to leverage its federation capabilities, stripping video-specific transcoding and replacing it with high-fidelity audio handling.
We extend the standard ActivityStreams vocabulary to support rich audio metadata.
{
"@context": "[https://www.w3.org/ns/activitystreams](https://www.w3.org/ns/activitystreams)",
"type": "Audio",
"name": "Track Title",
"artist": "Artist Name",
"duration": "PT3M30S",
"ethereumWallet": "0xArtistWalletAddress..."
}ListenActivity: Represents a user listening to a track.StreamActivity: Represents live streaming events.SubscriptionActivity: Represents subscribing to an artist or node.
- Nodes: Each ActivityPub server also runs a Hyperledger Fabric peer.
- Chaincode:
- Subscription Status: Reads events from the public blockchain Oracle.
- Streaming Rewards: Calculates the "Top 9" split.
- Transaction Verification: Implements the "Three Eyes" policy.
To prevent "fake streams" (sybil attacks), every stream must satisfy three checks before being written to the Ledger:
- The Reporter: The user's client cryptographically signs the start/stop report.
- The Host: The node hosting the file validates that bandwidth was actually consumed.
- The Witness: A random peer node in the cluster verifies the cryptographic signature of the packet.
Only when all three signatures are present is the ListenActivity committed to Hyperledger Fabric.
- Community Guidelines: Establish guidelines for community interaction and contribution.
- Governance Model: Define how decisions are made, who has voting rights, and how conflicts are resolved (DAO structure for future consideration).
- Strategy: Attract early artists by offering 100% of their "Top 9" pool (minus only gas fees).
- Partnerships: Potential partnerships with indie artist collectives and Web3 music aggregators.
- Anonymization: User listening history is stored on the private Hyperledger channel, accessible only to the user and the specific nodes required for payout verification.
- Federation: Social interactions (likes, follows) are public via ActivityPub, but financial data is private.
- Smart Contract Audits: All solidity code for payment bridges must be audited.
- Permissioned Ledger: Only authorized nodes can write to the Hyperledger instance, preventing spam and DoS attacks common on public chains.
- Identity Management: Users maintain two identities—an ActivityPub handle for social and a Wallet Address for finance—linked securely via the client.
- Fork PeerTube and implement
Audioobject types. - Set up Hyperledger Fabric testnet.
- Develop Solidity Smart Contract for the "Split-Payment" logic ($10 in -> $1 Op / $9 Vault).
- Build the Oracle service that listens for blockchain events to update Hyperledger user statuses.
- Implement the multi-signature verification for stream reporting.
- Develop the "Top 9" calculation Chaincode.
- Launch on Polygon Mainnet (for low gas fees).
- Onboard initial artist collective.
- Number of active nodes.
- Total USDP distributed to artists.
- Number of verified streams per month.
- USDP: Paxos Standard or similar USD-pegged stablecoin.
- ActivityPub: A decentralized social networking protocol.
- Hyperledger Fabric: A permissioned blockchain infrastructure.
- W3C ActivityPub Specification.
- Hyperledger Fabric Documentation.
- PeerTube Documentation.
-
Q: What if I listen to less than 9 artists?
- A: Your $9 pool is split equally among however many artists you listened to. If you listened to 3, they get $3 each.
-
Q: Do node operators hold my money?
- A: No. Your subscription payment goes to a Smart Contract. Node operators only receive their $1 fee; the rest is locked until the payout date.