mirror of
https://github.com/aljazceru/dlc-intro.git
synced 2025-12-19 15:04:25 +01:00
...
This commit is contained in:
@@ -5,4 +5,4 @@ They offer a way to implement financial smart contracts on Bitcoin and what is m
|
|||||||
|
|
||||||
Outline:
|
Outline:
|
||||||
|
|
||||||
First we need go through some [Eliptic Curve Cryptography Basics](ecc101.md). Then we tackle [Schnorr Signature Scheme](./schnorr.md) and finally explain [Discreet Log Contracts](./dlc.md)
|
First we need go through some [Eliptic Curve Cryptography Basics](ecc101.md). Then we tackle [Schnorr Signature Scheme](./schnorr.md) and finally explain [Discreet Log Contracts](./dlc.md).
|
||||||
4
dlc.md
4
dlc.md
@@ -37,7 +37,7 @@ so
|
|||||||
|
|
||||||
R is the published value, O is Olivias public key
|
R is the published value, O is Olivias public key
|
||||||
|
|
||||||
this values (points on the eliptic curve) are called ** yptors**
|
this values (points on the eliptic curve) are called **encryptors**
|
||||||
|
|
||||||
### Channel
|
### Channel
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ Before that block is transmitted to the blockchain Alice and Bob make sure each
|
|||||||
|
|
||||||
#### Contract
|
#### Contract
|
||||||
|
|
||||||
Alice bets on "heads" and creates an output from that UTXO that can be spent using the private key for some public key Ai that is defined as A + sHEADS * G
|
Alice bets on "heads" and creates an output from that UTXO that can be spent using the private key for some public key Ai that is defined as **A + sHEADS * G**.
|
||||||
|
|
||||||
That is her public key but skewed with an encryptor (sHEADS * G) which is publicly known (depending on R from Olivia). She signs the transaction, but without Bob's signature that can't be broadcasted to the network.
|
That is her public key but skewed with an encryptor (sHEADS * G) which is publicly known (depending on R from Olivia). She signs the transaction, but without Bob's signature that can't be broadcasted to the network.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user