我是茶,咖啡,酒,感觉好难戒啊
I've implemented a BitStream proof of concept by Robin Linus in Cashu for atomic swaps between files and Lightning payments.
Atomicity is achieved via a "Nutbond" Ecash contract which can be challenged if the downloaded file doesn't decrypt right.
An explainer and demo video is linked below.
How it works:
- Clients requests download
- Server sends encrypted file, Lightning invoice & Nutbond
- Client verifies bond and pays LN invoice
- Client decrypts file with LN preimage
- If decrypt fails, client challenges Nutbond & gets refund
Some notable differences to the original proposal:
- Nutbonds are issued for each user, not per file
- Bond doesn't burn but acts as a refund to user
- No Merkle trees yet. Next logical step. Vibes well with BitTorrent.
- Bond is Ecash. Payment is on LN, could also be Ecash.
This took me a few hours to implement showing how easy it is to experiment with new contracting primitives in Cashu.
Bitcoiners are coming up with beautiful solutions for practical problems. Special thanks to Robin for sharing his cool ideas with us. Love the energy!
🎥👇 Demo (10 min):
https://mega.nz/file/rVsF1RQS#Q1ycXiC3fcsRbIYUVBxMFDQZAqKbW5PHWZdhqkj0P8A
Original post: https://twitter.com/robin_linus/status/1723343871067804060

Waiting for your application
nostr:note12tapgyq9fs45amkvm0tpf9k4nd7w6jjt2yanhwz0f4f7h6a45vlqmtkcnt 通过比特币重新认识这个世界!
靠嘴就不来市场
不愧是比特币链上分析的老大哥,glassnode和ark的报告很务实,解答了我的很多困惑。基于cointime的分析,弥补了s2f的模型的原始数据的缺陷。
让我突然灵光乍现。对与未来充满了期待!
比如这个图标,显示的通胀率为2.5%左右,对应的S2F的数值为40左右。相比入黄金还有差距。对应s2f的价格大概在2.3万美元左右。
和最近的2.6-3万的价格,重合度很高。说明比特币价格是重复市场博弈之后的结果。

不愧是比特币链上分析的老大哥,glassnode和ark的报告很务实,解答了我的很多困惑。基于cointime的分析,弥补了s2f的模型的原始数据的缺陷。
让我突然灵光乍现。对与未来充满了期待!
感觉测试效果还不错,能够自动呗blog stack收录进来。

