𝟏𝟎𝟏𝟎𝟏'𝐬 𝟏𝟎𝟏 - π„ππˆπ’πŽπƒπ„ 𝟏

How Discreet Log Contracts work in Peer-to-Peer Futures trades?

Trade while keeping your precious sats in self-custody!

#P2P #SoundFinance #Bitcoin

Say Jay is betting that Bitcoin price will get higher at a certain date

Bob's taking the opposing bet, claiming it'll be worth less

This is it - that's basically what we call FUTURES trading

Jay and Bob fill a contract with equal parts of corn (a 2-of-2 Multisig)

Each of them places 1 corn in the contract

If Jay wins, he gets his corn and Bob's, and vice versa

They also both pre-signed the 2 possible outcomes of the contract

DUE DATE!

If one of them is a bad player, the oracle publishes the corresponding signature, thus closing the contract

That's it, the Discreet Log Contract has been closed, and there's nothing to see on-chain, just a regular transaction! (that's why it's Discreet)

A note on the oracle :

We've made it fun, but in fact, the Oracle has no idea a bet is taking place. His only job is to certify the price of bitcoin

We may use a quorum of oracles who have no idea about your contract, or that other oracles are being used

That's it for this first episode!

And if you want to learn more, you can visit our blog, we have articles on DLCs, self-custodial trading, and more!

https://10101.finance/blog/dlc-to-lightning-part-1

If you learned something, we'll appreciate any support, you can also share this thread with your friends!

Reply to this note

Please Login to reply.

Discussion

great! looking forward to the next one.

Just thinking if I saw it somewhere or I am mistaken that those DLC are perpetual futures πŸ€”

Hi Jakup!

We could talk about this in another episode, we've made FUTURES trades renewable through rollovers, meaning that you have the possibility to renew a future!

At this stage of development, you can renew your DLC by connecting during the rollover window on weekends (there's even a push notification for this in 10101 app!)

does it mean the futures will not be β€œresolved” at the original due date time? Will the renew do an extension of the original contract without a potential loss of a failed futures at the original due date time?

Yes, the existing future will be extended to a new due date. There will be a funding rate due to keep the position open, but beside that there are no changes to the original terms

what’s the rate?