SlideShare una empresa de Scribd logo
1 de 5
Multisignatures
for
Cryptocurrency-backed Tokens*
Alexei Zamyatin, Dominik Harz, Joshua Lind,
Panayiotis Panayiotou, Arthur Gervais, William Knottenbelt
*An extension of the XCLAIM protocol.
XCLAIM: Cryptocurrency-backed Tokens:
1) Lock with Issuer
2) Prove lock to Chain relay
3) Issue tokens
ISSUER
(Non-trusted &
collateralized 3rd
party)
h7 = H(h5,h6)
h5 = H(h1,h2) h6 = H(h3,h4)
h4h3h2LOCK TX
Chain relay
verifies TX
inclusion proof and
informs treasury
Treasury contract
issues Bitcoin-backed
ERC20 tokens
In three steps to interoperability (E.g. Bitcoin-backed tokens on Ethereum)
Multisignature Locks: Improving Safety
Multisig
Lock
Prove
Confirm
Issue
Lock
Use e.g. Bitcoin 2-of-2 multisignatures to make theft by the Issuer impossible
State of Development
Working paper: „XCLAIM: Interoperability with Cryptocurrency-backed Tokens“
Implementation: Alpha version deployed on Ethereum Ropsten Testnet
3 Versions (without multisignatures):
• Trustless using custom implementation of BTC Relay
• 2 performance optimizations via Intel SGX
First demo @ Scaling Bitcoin 2018!
Challenges
Fungibility of
tokes cannot be
guaranteed
Substantial
amount of data
stored on
Ethereum
Fund freeze
still possible!
1.0 1.0
2.0
+ vs.
X
+
1.01.0
Optimizations
Issuer signs all TX only when token is
redeemed
(P2WSH - BIP141 Segregated
Witness required)
Reduce Waiting
Times
Reduce Costs /
Transactions
UTXO grouping scheme:
optimistic reduction of required TX to
O(1). However: interactive protocol!
(A, I)
(A, I) (B, I)
(C, I)(B, I)(D, I)
1.01.0
1.0 0.70.3
2.0
(A, I)
(D, I) (B, I)
0.31.0
2.0
(C, I)
0.7
BTC transactions = 3
BTC transactions = 1
BUT: Requires additional
signature from A!
Improve Incentives
against fund freezing
Additional collateral on
Bitcoin:
|
start
Collateralized
commit
Issue aborted
Insufficient
collateral
btc locked in
HTLC
btc locked
with Issuer
Trade
tokens
Redeem
requested
btc
released
Redeem failed,
eth reimbursed
Token States
NONE
PENDING
ISSUE
REIMBURSED
REDEEMED
PENDING
REDEEM
ISSUED
Trade
Ethereum
Chain
Relay
Treasury
Contract
2) Bob creates and signs 𝑇𝑟𝑒𝑑𝑒𝑒𝑚
𝑏𝑡𝑐
, which pays
him the correct amount of btc from the multisig
6) Issuer signs and publishes 𝑇𝑥 𝑟𝑒𝑑𝑒𝑒𝑚 (𝐵𝐼)
𝑏𝑡𝑐
spending
from 𝑇𝑥𝑙𝑜𝑐𝑘 (𝐵𝐼)
𝑏𝑡𝑐
paying Bob the correct amount of btc
4) The contract burns
the 𝑏𝑡𝑐 𝑒𝑡ℎ and emits an
“unlock” event
BOB ISSUER
3) Bob publishes 𝑇𝑏𝑢𝑟𝑛
𝑒𝑡ℎ
in which he marks his
𝑏𝑡𝑐 𝑒𝑡ℎ for redemption and provides 𝑇𝑟𝑒𝑑𝑒𝑒𝑚
𝑏𝑡𝑐
𝑝𝑘𝐼
𝑏𝑡𝑐𝑝𝑘 𝐵
𝑏𝑡𝑐
𝑝𝑘𝐼
𝑒𝑡ℎ
𝑝𝑘 𝐵
𝑒𝑡ℎ
1) Bob generates
Bitcoin key pair
5) Issuer sees
unlock event
X
X
XEthereum
Bitcoin
Chain
Relay
Treasury
Contract
Result: Bob replaces Alice in a new mutilsig with the Issuer, spending from the old
multisig output. State not yet updated publicly.
4) Contract makes Bob
owner of 𝑏𝑡𝑐 𝑒𝑡ℎ and allows
Alice to withdraw the
locked eth
ALICE BOB
5) Alice publishes 𝑇 𝑤𝑖𝑡 ℎ𝑑𝑟𝑎𝑤
𝑒𝑡ℎ
withdrawing 𝑒𝑡ℎ
𝑝𝑘 𝐵
𝑏𝑡𝑐𝑝𝑘 𝐴
𝑏𝑡𝑐
𝑝𝑘 𝐵
𝑒𝑡ℎ
𝑝𝑘 𝐴
𝑒𝑡ℎ
1) Alice creates and signs 𝑇𝑙𝑜𝑐𝑘 (𝐵𝐼)
𝑏𝑡𝑐
, which
replaces herself by Bob in the multisig lock
2) Alice publishes 𝑇𝑜𝑓𝑓𝑒𝑟
𝑒𝑡ℎ
, which invokes the token
transfer in the treasury contract.
3) Bob publishes 𝑇𝑡𝑟𝑎𝑑𝑒
𝑒𝑡ℎ
,
locking 𝑒𝑡ℎ in the treasury
Ethereum
Bitcoin
Chain
Relay
Treasury
Contract
3) Alice publishes 𝑇𝑝𝑟𝑜𝑜𝑓
𝑒𝑡ℎ
, submitting 𝑇𝑙𝑜𝑐𝑘
𝑏𝑡𝑐
for
verification to the chain relay functionality of the
contract
2) Alice publishes 𝑇𝑥𝑙𝑜𝑐𝑘 (𝐴𝐼)
𝑏𝑡𝑐
which locks btc in a multisig with
the Issuer
4) The chain relay verifies 𝑇𝑙𝑜𝑐𝑘
𝑏𝑡𝑐
is included
in Bitcoin’s main chain for at least 𝑡 𝑐𝑜𝑛𝑡𝑒𝑠𝑡
5) Confirms inclusion to
treasury
ALICE ISSUER
6) Contract issues 𝑏𝑡𝑐 𝑒𝑡ℎand
declares Alice as owner
𝑝𝑘𝐼
𝑏𝑡𝑐
𝑝𝑘 𝐴
𝑏𝑡𝑐
𝑝𝑘𝐼
𝑒𝑡ℎ𝑝𝑘 𝐴
𝑒𝑡ℎ
1) Alice generates
Ethereum key pair
Precond.: Issuer has
collateral locked in
treasury
RedeemIssue
Protocols
Bitcoin
More details
on the
poster…
…and in the
paper!
Cryptology eprint
archive 2018/643

Más contenido relacionado

Similar a Multisignatures for Cryptocurrency-backed Tokens

BLOCKCHAIN PPT.pptx
BLOCKCHAIN PPT.pptxBLOCKCHAIN PPT.pptx
BLOCKCHAIN PPT.pptxSohanaAmreen
 
Introduction to Blockchain Web3 Session
Introduction to Blockchain Web3 SessionIntroduction to Blockchain Web3 Session
Introduction to Blockchain Web3 SessionDSCIITPatna
 
Bitcoin, Banking and the Blockchain
Bitcoin, Banking and the BlockchainBitcoin, Banking and the Blockchain
Bitcoin, Banking and the Blockchainseancarmody
 
Bitcoin and Blockchain
Bitcoin and BlockchainBitcoin and Blockchain
Bitcoin and BlockchainChen Wu
 
Can we safely adapt the construction of permissionless blockchain to user dem...
Can we safely adapt the construction of permissionless blockchain to user dem...Can we safely adapt the construction of permissionless blockchain to user dem...
Can we safely adapt the construction of permissionless blockchain to user dem...I MT
 
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereum
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereumDappsmedia smartcontract _write_smartcontracts_on_console_ethereum
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereumTomoaki Sato
 
Ethereum Mining How To
Ethereum Mining How ToEthereum Mining How To
Ethereum Mining How ToNugroho Gito
 
The Bitcoin Rocketship @ BTC Miami 2015
The Bitcoin Rocketship @ BTC Miami 2015The Bitcoin Rocketship @ BTC Miami 2015
The Bitcoin Rocketship @ BTC Miami 2015Jeff Garzik
 
unit3consesence.pptx
unit3consesence.pptxunit3consesence.pptx
unit3consesence.pptxGopalSB
 
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad SarangNinad Sarang
 
Cryptocurrency-Bitcoin
Cryptocurrency-BitcoinCryptocurrency-Bitcoin
Cryptocurrency-BitcoinSatwikaHotwani
 
PRESENTATION.pptx
PRESENTATION.pptxPRESENTATION.pptx
PRESENTATION.pptxFaiZiTricks
 
Blockchain, Ethereum and Business Applications
Blockchain, Ethereum and Business ApplicationsBlockchain, Ethereum and Business Applications
Blockchain, Ethereum and Business ApplicationsMatthias Zimmermann
 
Blockchain. A Guide For Beginners
Blockchain. A Guide For BeginnersBlockchain. A Guide For Beginners
Blockchain. A Guide For BeginnersElifTech
 
Cryptocurrencies for Everyone (Dmytro Pershyn Technology Stream)
Cryptocurrencies for Everyone (Dmytro Pershyn Technology Stream)Cryptocurrencies for Everyone (Dmytro Pershyn Technology Stream)
Cryptocurrencies for Everyone (Dmytro Pershyn Technology Stream)IT Arena
 

Similar a Multisignatures for Cryptocurrency-backed Tokens (20)

Bitcoin
BitcoinBitcoin
Bitcoin
 
BLOCKCHAIN PPT.pptx
BLOCKCHAIN PPT.pptxBLOCKCHAIN PPT.pptx
BLOCKCHAIN PPT.pptx
 
Blockchain Corporate Style
Blockchain Corporate StyleBlockchain Corporate Style
Blockchain Corporate Style
 
Introduction to Blockchain Web3 Session
Introduction to Blockchain Web3 SessionIntroduction to Blockchain Web3 Session
Introduction to Blockchain Web3 Session
 
Bitcoin, Banking and the Blockchain
Bitcoin, Banking and the BlockchainBitcoin, Banking and the Blockchain
Bitcoin, Banking and the Blockchain
 
Bitcoin and Blockchain
Bitcoin and BlockchainBitcoin and Blockchain
Bitcoin and Blockchain
 
Can we safely adapt the construction of permissionless blockchain to user dem...
Can we safely adapt the construction of permissionless blockchain to user dem...Can we safely adapt the construction of permissionless blockchain to user dem...
Can we safely adapt the construction of permissionless blockchain to user dem...
 
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereum
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereumDappsmedia smartcontract _write_smartcontracts_on_console_ethereum
Dappsmedia smartcontract _write_smartcontracts_on_console_ethereum
 
bitcoin_presentation
bitcoin_presentationbitcoin_presentation
bitcoin_presentation
 
Ethereum Mining How To
Ethereum Mining How ToEthereum Mining How To
Ethereum Mining How To
 
The Bitcoin Rocketship @ BTC Miami 2015
The Bitcoin Rocketship @ BTC Miami 2015The Bitcoin Rocketship @ BTC Miami 2015
The Bitcoin Rocketship @ BTC Miami 2015
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
unit3consesence.pptx
unit3consesence.pptxunit3consesence.pptx
unit3consesence.pptx
 
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
 
Cryptocurrency-Bitcoin
Cryptocurrency-BitcoinCryptocurrency-Bitcoin
Cryptocurrency-Bitcoin
 
PRESENTATION.pptx
PRESENTATION.pptxPRESENTATION.pptx
PRESENTATION.pptx
 
Blockchain, Ethereum and Business Applications
Blockchain, Ethereum and Business ApplicationsBlockchain, Ethereum and Business Applications
Blockchain, Ethereum and Business Applications
 
Disertation cryptocurrency
Disertation cryptocurrencyDisertation cryptocurrency
Disertation cryptocurrency
 
Blockchain. A Guide For Beginners
Blockchain. A Guide For BeginnersBlockchain. A Guide For Beginners
Blockchain. A Guide For Beginners
 
Cryptocurrencies for Everyone (Dmytro Pershyn Technology Stream)
Cryptocurrencies for Everyone (Dmytro Pershyn Technology Stream)Cryptocurrencies for Everyone (Dmytro Pershyn Technology Stream)
Cryptocurrencies for Everyone (Dmytro Pershyn Technology Stream)
 

Último

SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxkessiyaTpeter
 
Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Nistarini College, Purulia (W.B) India
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡anilsa9823
 
Chemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfChemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfSumit Kumar yadav
 
Botany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsBotany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsSumit Kumar yadav
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...RohitNehra6
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )aarthirajkumar25
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...anilsa9823
 
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Lokesh Kothari
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...Sérgio Sacani
 
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCESTERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCEPRINCE C P
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Sérgio Sacani
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxUmerFayaz5
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bSérgio Sacani
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...Sérgio Sacani
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsAArockiyaNisha
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Patrick Diehl
 

Último (20)

SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
 
Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
 
Chemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfChemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdf
 
Botany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsBotany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questions
 
Engler and Prantl system of classification in plant taxonomy
Engler and Prantl system of classification in plant taxonomyEngler and Prantl system of classification in plant taxonomy
Engler and Prantl system of classification in plant taxonomy
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
 
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
 
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCESTERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
 
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptx
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based Nanomaterials
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?
 

Multisignatures for Cryptocurrency-backed Tokens

  • 1. Multisignatures for Cryptocurrency-backed Tokens* Alexei Zamyatin, Dominik Harz, Joshua Lind, Panayiotis Panayiotou, Arthur Gervais, William Knottenbelt *An extension of the XCLAIM protocol.
  • 2. XCLAIM: Cryptocurrency-backed Tokens: 1) Lock with Issuer 2) Prove lock to Chain relay 3) Issue tokens ISSUER (Non-trusted & collateralized 3rd party) h7 = H(h5,h6) h5 = H(h1,h2) h6 = H(h3,h4) h4h3h2LOCK TX Chain relay verifies TX inclusion proof and informs treasury Treasury contract issues Bitcoin-backed ERC20 tokens In three steps to interoperability (E.g. Bitcoin-backed tokens on Ethereum)
  • 3. Multisignature Locks: Improving Safety Multisig Lock Prove Confirm Issue Lock Use e.g. Bitcoin 2-of-2 multisignatures to make theft by the Issuer impossible
  • 4. State of Development Working paper: „XCLAIM: Interoperability with Cryptocurrency-backed Tokens“ Implementation: Alpha version deployed on Ethereum Ropsten Testnet 3 Versions (without multisignatures): • Trustless using custom implementation of BTC Relay • 2 performance optimizations via Intel SGX First demo @ Scaling Bitcoin 2018!
  • 5. Challenges Fungibility of tokes cannot be guaranteed Substantial amount of data stored on Ethereum Fund freeze still possible! 1.0 1.0 2.0 + vs. X + 1.01.0 Optimizations Issuer signs all TX only when token is redeemed (P2WSH - BIP141 Segregated Witness required) Reduce Waiting Times Reduce Costs / Transactions UTXO grouping scheme: optimistic reduction of required TX to O(1). However: interactive protocol! (A, I) (A, I) (B, I) (C, I)(B, I)(D, I) 1.01.0 1.0 0.70.3 2.0 (A, I) (D, I) (B, I) 0.31.0 2.0 (C, I) 0.7 BTC transactions = 3 BTC transactions = 1 BUT: Requires additional signature from A! Improve Incentives against fund freezing Additional collateral on Bitcoin: | start Collateralized commit Issue aborted Insufficient collateral btc locked in HTLC btc locked with Issuer Trade tokens Redeem requested btc released Redeem failed, eth reimbursed Token States NONE PENDING ISSUE REIMBURSED REDEEMED PENDING REDEEM ISSUED Trade Ethereum Chain Relay Treasury Contract 2) Bob creates and signs 𝑇𝑟𝑒𝑑𝑒𝑒𝑚 𝑏𝑡𝑐 , which pays him the correct amount of btc from the multisig 6) Issuer signs and publishes 𝑇𝑥 𝑟𝑒𝑑𝑒𝑒𝑚 (𝐵𝐼) 𝑏𝑡𝑐 spending from 𝑇𝑥𝑙𝑜𝑐𝑘 (𝐵𝐼) 𝑏𝑡𝑐 paying Bob the correct amount of btc 4) The contract burns the 𝑏𝑡𝑐 𝑒𝑡ℎ and emits an “unlock” event BOB ISSUER 3) Bob publishes 𝑇𝑏𝑢𝑟𝑛 𝑒𝑡ℎ in which he marks his 𝑏𝑡𝑐 𝑒𝑡ℎ for redemption and provides 𝑇𝑟𝑒𝑑𝑒𝑒𝑚 𝑏𝑡𝑐 𝑝𝑘𝐼 𝑏𝑡𝑐𝑝𝑘 𝐵 𝑏𝑡𝑐 𝑝𝑘𝐼 𝑒𝑡ℎ 𝑝𝑘 𝐵 𝑒𝑡ℎ 1) Bob generates Bitcoin key pair 5) Issuer sees unlock event X X XEthereum Bitcoin Chain Relay Treasury Contract Result: Bob replaces Alice in a new mutilsig with the Issuer, spending from the old multisig output. State not yet updated publicly. 4) Contract makes Bob owner of 𝑏𝑡𝑐 𝑒𝑡ℎ and allows Alice to withdraw the locked eth ALICE BOB 5) Alice publishes 𝑇 𝑤𝑖𝑡 ℎ𝑑𝑟𝑎𝑤 𝑒𝑡ℎ withdrawing 𝑒𝑡ℎ 𝑝𝑘 𝐵 𝑏𝑡𝑐𝑝𝑘 𝐴 𝑏𝑡𝑐 𝑝𝑘 𝐵 𝑒𝑡ℎ 𝑝𝑘 𝐴 𝑒𝑡ℎ 1) Alice creates and signs 𝑇𝑙𝑜𝑐𝑘 (𝐵𝐼) 𝑏𝑡𝑐 , which replaces herself by Bob in the multisig lock 2) Alice publishes 𝑇𝑜𝑓𝑓𝑒𝑟 𝑒𝑡ℎ , which invokes the token transfer in the treasury contract. 3) Bob publishes 𝑇𝑡𝑟𝑎𝑑𝑒 𝑒𝑡ℎ , locking 𝑒𝑡ℎ in the treasury Ethereum Bitcoin Chain Relay Treasury Contract 3) Alice publishes 𝑇𝑝𝑟𝑜𝑜𝑓 𝑒𝑡ℎ , submitting 𝑇𝑙𝑜𝑐𝑘 𝑏𝑡𝑐 for verification to the chain relay functionality of the contract 2) Alice publishes 𝑇𝑥𝑙𝑜𝑐𝑘 (𝐴𝐼) 𝑏𝑡𝑐 which locks btc in a multisig with the Issuer 4) The chain relay verifies 𝑇𝑙𝑜𝑐𝑘 𝑏𝑡𝑐 is included in Bitcoin’s main chain for at least 𝑡 𝑐𝑜𝑛𝑡𝑒𝑠𝑡 5) Confirms inclusion to treasury ALICE ISSUER 6) Contract issues 𝑏𝑡𝑐 𝑒𝑡ℎand declares Alice as owner 𝑝𝑘𝐼 𝑏𝑡𝑐 𝑝𝑘 𝐴 𝑏𝑡𝑐 𝑝𝑘𝐼 𝑒𝑡ℎ𝑝𝑘 𝐴 𝑒𝑡ℎ 1) Alice generates Ethereum key pair Precond.: Issuer has collateral locked in treasury RedeemIssue Protocols Bitcoin More details on the poster… …and in the paper! Cryptology eprint archive 2018/643