[GENERAL] Name and surname of main applicant
Alexander Nemish
[GENERAL] Are you delivering this project as an individual or as an entity (whether formally incorporated or not)
Entity (Incorporated)
[GENERAL] Please specify how many months you expect your project to last (from 2-12 months)
4
[GENERAL] Please indicate if your proposal has been auto-translated into English from another language
No
[GENERAL] Summarize your solution to the problem (200-character limit including spaces)
AdaStream implements a secure atomic swap of Ada for files.
Anyone can monetize their bandwidth and storage capacities by serving decentralized multimedia services.
[GENERAL] Does your project have any dependencies on other organizations, technical or otherwise?
No
[GENERAL] If YES, please describe what the dependency is and why you believe it is essential for your project’s delivery. If NO, please write “No dependencies.”
No dependencies.
[GENERAL] Will your project’s output/s be fully open source?
Yes
[GENERAL] Please provide here more information on the open source status of your project outputs
Apache 2 license
[METADATA] Horizons
E-commerce
[SOLUTION] Please describe your proposed solution
AdaStream is the implementation of BitStream protocol on Cardano.
It allows to trustlessly trade encrypted files by selling decryption keys. The sale can be done either via Cardano or Bitcoin Lightning, which is great for interoperability.
I have a working prototype here: https://github.com/nau/adastream
TL;DR
- Alice wants to buy a file from Bob.
- Bob encrypts the file with a random key and sends encrypted file to Alice.
- Bob creates a bond contract on Cardano with a collateral and a commitment to the key and the file.
- Alice pays Bob for the encryption key via a HTLC (Hashed Timelock Contract), using Cardano or Bitcoin Lightning Network. Hash is the hash of the key.
- Alice decrypts the file with the key from the HTLC or takes the money back after the timeout.
- If Bob cheats, Alice can prove it and get the collateral from the bond contract.
- Bob can withdraw the collateral by revealing the key.
[IMPACT] Please define the positive impact your project will have on the wider Cardano community
It's a usefull DApp that will be used by Nostr and others.
[CAPABILITY & FEASIBILITY] What is your capability to deliver your project with high levels of trust and accountability? How do you intend to validate if your approach is feasible?
I’m a former compiler engineer at IOG, I worked on Marlowe DSL (https://marlowe.iohk.io).
I won several proposals in Fund 11.
I'm the author of Scalus - DApps Development Platform for Cardano.
I have a working prototype of AdaStream.
[PROJECT MILESTONES] What are the key milestones you need to achieve in order to complete your project successfully?
AdaStream Encryption server, REST API
AdaStream client JavaScript library
Tests for Bond and HTLC contracts
Cardano Node integration
Testnet launch, documentation
Testnet testing. Final report
[RESOURCES] Who is in the project team and what are their roles?
The main proposer, Alexander Nemish will be actively working on the proposal.
I am considering hiring another Scala engineer to help make the project sooner.
I’m a former compiler engineer at IOG, I worked on Marlowe DSL (https://marlowe.iohk.io).
I’m a senior Scala engineer with more than 10 years of Scala development experience with companies like UBS and Deutsche Bank.
[BUDGET & COSTS] Please provide a cost breakdown of the proposed work and resources
AdaStream Encryption server, REST API – 160h
AdaStream frontend – 160h
Working and tested Bond and HTLC contracts and Cardano Node integration – 160h
Testnet launch, documentation – 160h
160h*4m*$75/$0.3 = 150000
[VALUE FOR MONEY] How does the cost of the project represent value for money for the Cardano ecosystem?
AdaStream offers exceptional value for money to the Cardano ecosystem by:
- Creating decentralized file hosting infrastructure, enabling new dApps and use cases.
- Providing interoperability with Bitcoin Lightning, expanding Cardano's cross-chain capabilities.
- Supporting Nostr content distribution, tapping into a growing decentralized social network ecosystem.
- Opening economic opportunities for users to monetize excess bandwidth and storage.
- Increasing ADA utility.
- Offering cost-effective scaling for data-intensive applications via off-chain transfers.
- Giving Cardano a competitive edge in decentralized, interoperable file hosting solutions.
The project's cost is justified by its potential to become a foundational, cross-chain technology. AdaStream will enhance Cardano's interoperability, support emerging decentralized platforms like Nostr, and attract developers and users from various blockchain ecosystems, significantly expanding Cardano's reach and utility.