Loops HouseSonata - NFT Songs with account

NEAR HACKATHON
Team
1 member- DIOwner
Divyansh Chhabria
Overview
Sonata is a subscription music player where every master recording is a 1-of-1 NFT that owns its own NEAR account.
Streaming pays artists a fraction of a cent, pooled and opaque. Artists cannot sell a recording with its income history; listeners rent access and own nothing.
Each master is a NEP-171 NFT on NEAR testnet. Minting creates a named sub-account with zero access keys. The account is the song's bank: it receives USDC payouts and holds the balance. Listeners buy a non-transferable 30-day pass for full playback; the free tier is a 30-second preview. A settlement oracle aggregates verified listening and calls platform.settle_epoch, paying each song account a fixed rate per verified hour with a daily cap. Owner and creator listens do not earn.
Ownership has behavior. With no keys, the account cannot be drained through a leaked key. At withdrawal the song-wallet contract asks the NFT contract who owns the master and pays only that owner. Transfer the NFT and control of the account, its balance and future income move with it, so the seller cannot keep earning. The market enforces a fixed 5% creator royalty, with the rest to the seller.
The demo covers the loop: play a song, buy the pass with a testnet wallet, watch the song accrue, withdraw as the artist, list and sell a master, and open the chain tab to see the account and owner. Contract tests cover the keyless sub-account, the withdrawal owner check, the royalty split, transfer, and failed-transfer recovery.
Track fit: the NFT is not a JPEG. It is an account that owns money, earns from usage, and transfers with its balance. The timeline records ownership, sales and payouts, and the pass is an NFT too.
Live on NEAR testnet: master-nft, song-wallet, platform, market and NEP-141 mock-USDC contracts; 12 masters; player, pass checkout, artist dashboard, market and audit pages. Limits: testnet only, mock USDC, no event indexer, seeded demo history, no self-serve publishing, not audited.