SlideShare a Scribd company logo
1 of 33
Download to read offline
State of Smart Contract
Technologies
Federico Tenga
federico@chainside.net
Co-founder at Chainside
How contracts are usually enforced
How contracts are usually enforced
● Ethics
How contracts are usually enforced
● Ethics
● Social pressure / desire of preserving reputation
How contracts are usually enforced
● Ethics
● Social pressure / desire of preserving reputation
● Violence / third party enforcement (e.g. call the cops)
A smart contract is a trustless computer protocol
designed to enforce of the terms of a contract
Smart contract ancestors
Blockchain Smart Contracts
● Contract enforcement is guaranteed by code executed
redundantly by a distributed network
● The code describes the spending conditions of unspent funds on
the blockchain
When do we need a smart contract?
When do we need a smart contract?
When we have a trust problem.
When we do NOT need smart contracts
When we do NOT need smart contracts
● When we just want automation
When we do NOT need smart contracts
● When we just want automation
● When we are just looking for distributed storage/computation
When we do NOT need smart contracts
● When we just want automation
● When we are just looking for distributed storage/computation
● When you are OK with trusted third parties or you need them
anyway for other aspects of the contract that the SC cannot
cover
Bitcoin vs Ethereum
Non-turing complete
stack based language
Limited expressivity
Formally verifiable
Turing complete
language
High expressivity
Non formally verifiable
A complex system that works is invariably found
to have evolved from a simple system that
worked.
A complex system designed from scratch never
works and cannot be patched up to make it
work.
Gall’s Law
Desired features of a smart contract
Desired features of a smart contract
● The behaviour is predictable by all parties involved
Desired features of a smart contract
● The behaviour is predictable by all parties involved
● The cost of breaking it is superior to the value of the
contract
Desired features of a smart contract
● The behaviour is predictable by all parties involved
● The cost of breaking it is superior to the value of the
contract
● No exploitable vulnerabilities
Bitcoin smart contract
popular use cases
Group wallets
BITCOIN
TRANSACTION
Enforcing that at least
two out of three
members of a group
have to agree to create
a valid transaction
blockchain
Alice
Bob
Carol
2 <pubKeyAlice>
<pubKeyBob>
<pubKeyCarol> 3
CHECKMULTISIG
Script
Heritage wallets
BITCOIN
TRANSACTION
Enforcing that a
transaction must be
signed either by Eve OR
by Alice after waiting 4
years
blockchain
Eve Alice
IF
<pubKeyEve>
CHECKISIG
ELSE
<4 y> CLTV DROP
<pubKeyAlice>
CHECKSIG
ENDIF
Script
Secure storage
BITCOIN
TRANSACTION
Enforcing that a transaction
must be sign by either three
devices in different
locations OR a recovery key
deposited in the bank after
waiting six months
blockchain
Home Bank
IF
3 <pubKeyHome>
<pubKeyPhone>
<pubKeyOffice> OP_3
CHECKMULTISIG
ELSE
<6 m> CLTV DROP
<pubKeyBank>
CHECKSIG
ENDIF
Script
Office
Phone
Off-chain payments
With advanced
smart contracts it is
possible to create
channels for
trustless off-chain
payments, and link
them into a network
(a.k.a. Lightning
Network)
G
Some stats
PRIVACY
Improving smart contracts
EXPRESSIVITY USABILITY
Smart contracts look
different from normal
transactions
Current Bitcoin
scripting language is
limited
Most wallet providers
do not offer smart
contract capabilities
PRIVACY
Improving smart contracts
EXPRESSIVITY USABILITY
Smart contracts look
different from normal
transactions
MAST, Taproot,
Schnoor , etc
Current Bitcoin
scripting language is
limited
Simplicity, new
OP_Codes, etc
Most wallet providers
do not offer smart
contract capabilities
Dev tools, UI/UX
improvements
Dev Tools: btcpy
https://github.com/
chainside/btcpy
What the future will look like
● Used only for very specific needs (not everywhere)
● Indistinguishable from normal transaction, most SC
performed off-chain
● Seamlessly integrated in services’ UI

More Related Content

What's hot

Can smart Contracts Exist without The Blockchain
Can smart Contracts Exist without The Blockchain Can smart Contracts Exist without The Blockchain
Can smart Contracts Exist without The Blockchain Blockchain Council
 
OVERVIEW OF SMART CONTRACT & ADOPTION
OVERVIEW OF SMART CONTRACT  &  ADOPTIONOVERVIEW OF SMART CONTRACT  &  ADOPTION
OVERVIEW OF SMART CONTRACT & ADOPTIONLokesh Gupta
 
Smart Contract & Ethereum
Smart Contract & EthereumSmart Contract & Ethereum
Smart Contract & EthereumAkshay Singh
 
Event Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez Sacristán
Event Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez SacristánEvent Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez Sacristán
Event Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez SacristánJuan Ignacio Pérez Sacristán
 
Nikit shingari talks about digital apps investments
Nikit shingari talks about digital apps investmentsNikit shingari talks about digital apps investments
Nikit shingari talks about digital apps investmentsNikit Shingari
 
What Is A Smart Contract, And How Does It Work
What Is A Smart Contract, And How Does It Work What Is A Smart Contract, And How Does It Work
What Is A Smart Contract, And How Does It Work Blockchain Council
 
20170620 MEETUP intro to blockchain and smart contracts (1)
20170620 MEETUP intro to blockchain and smart contracts (1)20170620 MEETUP intro to blockchain and smart contracts (1)
20170620 MEETUP intro to blockchain and smart contracts (1)Brussels Legal Hackers
 
Introduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsIntroduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsTechracers
 
Gharar Free ReBittance – Powered by Blockchain
Gharar Free ReBittance – Powered by BlockchainGharar Free ReBittance – Powered by Blockchain
Gharar Free ReBittance – Powered by BlockchainLokesh Gupta
 
Crypto currency secrets
Crypto currency secretsCrypto currency secrets
Crypto currency secretsSahir
 
Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins
Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoinsContracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins
Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoinsRipple Labs
 
Blockchain analysis: 2016-11-23 MeetUp FinTech Marketpay.io - LemonPay.me
Blockchain analysis: 2016-11-23 MeetUp FinTech Marketpay.io - LemonPay.meBlockchain analysis: 2016-11-23 MeetUp FinTech Marketpay.io - LemonPay.me
Blockchain analysis: 2016-11-23 MeetUp FinTech Marketpay.io - LemonPay.meJuan Ignacio Pérez Sacristán
 
Blockchain And Cryptocurrency : How Blockchain And Cryptocurrency Relate To E...
Blockchain And Cryptocurrency : How Blockchain And Cryptocurrency Relate To E...Blockchain And Cryptocurrency : How Blockchain And Cryptocurrency Relate To E...
Blockchain And Cryptocurrency : How Blockchain And Cryptocurrency Relate To E...Blockchain Council
 
Blockchain, smart contracts and use cases for the Legal Hackers
Blockchain, smart contracts and use cases for the Legal HackersBlockchain, smart contracts and use cases for the Legal Hackers
Blockchain, smart contracts and use cases for the Legal HackersKoen Vingerhoets
 
Cryptocurrency solving problems
Cryptocurrency solving problems Cryptocurrency solving problems
Cryptocurrency solving problems Suman Nayak
 

What's hot (20)

Can smart Contracts Exist without The Blockchain
Can smart Contracts Exist without The Blockchain Can smart Contracts Exist without The Blockchain
Can smart Contracts Exist without The Blockchain
 
OVERVIEW OF SMART CONTRACT & ADOPTION
OVERVIEW OF SMART CONTRACT  &  ADOPTIONOVERVIEW OF SMART CONTRACT  &  ADOPTION
OVERVIEW OF SMART CONTRACT & ADOPTION
 
Smart contracts
Smart contractsSmart contracts
Smart contracts
 
Smart Contract & Ethereum
Smart Contract & EthereumSmart Contract & Ethereum
Smart Contract & Ethereum
 
Event Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez Sacristán
Event Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez SacristánEvent Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez Sacristán
Event Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez Sacristán
 
Nikit shingari talks about digital apps investments
Nikit shingari talks about digital apps investmentsNikit shingari talks about digital apps investments
Nikit shingari talks about digital apps investments
 
What Is A Smart Contract, And How Does It Work
What Is A Smart Contract, And How Does It Work What Is A Smart Contract, And How Does It Work
What Is A Smart Contract, And How Does It Work
 
20170620 MEETUP intro to blockchain and smart contracts (1)
20170620 MEETUP intro to blockchain and smart contracts (1)20170620 MEETUP intro to blockchain and smart contracts (1)
20170620 MEETUP intro to blockchain and smart contracts (1)
 
Introduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsIntroduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart Contracts
 
Gharar Free ReBittance – Powered by Blockchain
Gharar Free ReBittance – Powered by BlockchainGharar Free ReBittance – Powered by Blockchain
Gharar Free ReBittance – Powered by Blockchain
 
Crypto currency secrets
Crypto currency secretsCrypto currency secrets
Crypto currency secrets
 
Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins
Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoinsContracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins
Contracts Across Coins - Smart Contracts for Bitcoin, Ripple and the altcoins
 
Blockchain 2.0
Blockchain 2.0Blockchain 2.0
Blockchain 2.0
 
Blockchain analysis: 2016-11-23 MeetUp FinTech Marketpay.io - LemonPay.me
Blockchain analysis: 2016-11-23 MeetUp FinTech Marketpay.io - LemonPay.meBlockchain analysis: 2016-11-23 MeetUp FinTech Marketpay.io - LemonPay.me
Blockchain analysis: 2016-11-23 MeetUp FinTech Marketpay.io - LemonPay.me
 
Blockchain And Cryptocurrency : How Blockchain And Cryptocurrency Relate To E...
Blockchain And Cryptocurrency : How Blockchain And Cryptocurrency Relate To E...Blockchain And Cryptocurrency : How Blockchain And Cryptocurrency Relate To E...
Blockchain And Cryptocurrency : How Blockchain And Cryptocurrency Relate To E...
 
Blockchain, smart contracts and use cases for the Legal Hackers
Blockchain, smart contracts and use cases for the Legal HackersBlockchain, smart contracts and use cases for the Legal Hackers
Blockchain, smart contracts and use cases for the Legal Hackers
 
Blockchain for Gambling
Blockchain for Gambling Blockchain for Gambling
Blockchain for Gambling
 
Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum) Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum)
 
Cryptocurrency solving problems
Cryptocurrency solving problems Cryptocurrency solving problems
Cryptocurrency solving problems
 
Blockchain Organiseren
Blockchain OrganiserenBlockchain Organiseren
Blockchain Organiseren
 

Similar to State Smart Contract Technologies

Smart contractjp smartcontract_about
Smart contractjp smartcontract_aboutSmart contractjp smartcontract_about
Smart contractjp smartcontract_aboutTomoaki Sato
 
The Benefits Of Smart Contracts Development Explored And Explained
The Benefits Of Smart Contracts Development Explored And Explained The Benefits Of Smart Contracts Development Explored And Explained
The Benefits Of Smart Contracts Development Explored And Explained Flexsin
 
Smart contract development (1).pdf
Smart contract development (1).pdfSmart contract development (1).pdf
Smart contract development (1).pdfBlockchainX
 
Demystifying Smart Contracts
Demystifying Smart ContractsDemystifying Smart Contracts
Demystifying Smart ContractsBernard Peh
 
Smart contract development top considerations
Smart contract development   top considerationsSmart contract development   top considerations
Smart contract development top considerationsDevelopcoins
 
Session 3 introduction blockchain by franco 22 januari
Session 3   introduction blockchain by franco 22 januariSession 3   introduction blockchain by franco 22 januari
Session 3 introduction blockchain by franco 22 januariArthur Janse
 
Blockchain and Smart Contracts
Blockchain and Smart ContractsBlockchain and Smart Contracts
Blockchain and Smart ContractsFinancial Poise
 
What is smart contract and how does it work
What is smart contract and how does it work What is smart contract and how does it work
What is smart contract and how does it work Global Tech Council
 
Smart contracts
Smart contractsSmart contracts
Smart contractsCoinGape
 
Blockchain Intro + Myths
Blockchain Intro + MythsBlockchain Intro + Myths
Blockchain Intro + MythsAPIGarage
 
The Studio On Air : blockchain & AI
The Studio On Air : blockchain & AIThe Studio On Air : blockchain & AI
The Studio On Air : blockchain & AIKoen Vingerhoets
 
Smart Contract: QA Role for Decentralized Platform
Smart Contract: QA Role for Decentralized PlatformSmart Contract: QA Role for Decentralized Platform
Smart Contract: QA Role for Decentralized PlatformMarco Andrade
 
Blockchain, bitcoin
Blockchain, bitcoinBlockchain, bitcoin
Blockchain, bitcoinSathish VJ
 
All You Need To Know About Transactions in Blockchain
All You Need To Know About Transactions in BlockchainAll You Need To Know About Transactions in Blockchain
All You Need To Know About Transactions in BlockchainBlockchain Council
 
Deatherage presentation blockchain, cryptocurrency, smart contracts and the l...
Deatherage presentation blockchain, cryptocurrency, smart contracts and the l...Deatherage presentation blockchain, cryptocurrency, smart contracts and the l...
Deatherage presentation blockchain, cryptocurrency, smart contracts and the l...Scott Deatherage
 

Similar to State Smart Contract Technologies (20)

Smart contractjp smartcontract_about
Smart contractjp smartcontract_aboutSmart contractjp smartcontract_about
Smart contractjp smartcontract_about
 
Blockchain in a Nutshell
Blockchain in a NutshellBlockchain in a Nutshell
Blockchain in a Nutshell
 
The Benefits Of Smart Contracts Development Explored And Explained
The Benefits Of Smart Contracts Development Explored And Explained The Benefits Of Smart Contracts Development Explored And Explained
The Benefits Of Smart Contracts Development Explored And Explained
 
Smart contract development (1).pdf
Smart contract development (1).pdfSmart contract development (1).pdf
Smart contract development (1).pdf
 
Demystifying Smart Contracts
Demystifying Smart ContractsDemystifying Smart Contracts
Demystifying Smart Contracts
 
Smart contract development top considerations
Smart contract development   top considerationsSmart contract development   top considerations
Smart contract development top considerations
 
Session 3 introduction blockchain by franco 22 januari
Session 3   introduction blockchain by franco 22 januariSession 3   introduction blockchain by franco 22 januari
Session 3 introduction blockchain by franco 22 januari
 
Blockchain and Smart Contracts
Blockchain and Smart ContractsBlockchain and Smart Contracts
Blockchain and Smart Contracts
 
What is smart contract and how does it work
What is smart contract and how does it work What is smart contract and how does it work
What is smart contract and how does it work
 
Smart contracts
Smart contractsSmart contracts
Smart contracts
 
Blockchain Intro + Myths
Blockchain Intro + MythsBlockchain Intro + Myths
Blockchain Intro + Myths
 
Blockchain External.pdf
Blockchain External.pdfBlockchain External.pdf
Blockchain External.pdf
 
The Studio On Air : blockchain & AI
The Studio On Air : blockchain & AIThe Studio On Air : blockchain & AI
The Studio On Air : blockchain & AI
 
Smart contract and smart contracts oracles
Smart contract and smart contracts oracles Smart contract and smart contracts oracles
Smart contract and smart contracts oracles
 
Smart Contract: QA Role for Decentralized Platform
Smart Contract: QA Role for Decentralized PlatformSmart Contract: QA Role for Decentralized Platform
Smart Contract: QA Role for Decentralized Platform
 
Blockchain, bitcoin
Blockchain, bitcoinBlockchain, bitcoin
Blockchain, bitcoin
 
Smart contract and smart contract oracles
Smart contract and smart contract oraclesSmart contract and smart contract oracles
Smart contract and smart contract oracles
 
Smart contract and smart contract oracles
Smart contract and smart contract oraclesSmart contract and smart contract oracles
Smart contract and smart contract oracles
 
All You Need To Know About Transactions in Blockchain
All You Need To Know About Transactions in BlockchainAll You Need To Know About Transactions in Blockchain
All You Need To Know About Transactions in Blockchain
 
Deatherage presentation blockchain, cryptocurrency, smart contracts and the l...
Deatherage presentation blockchain, cryptocurrency, smart contracts and the l...Deatherage presentation blockchain, cryptocurrency, smart contracts and the l...
Deatherage presentation blockchain, cryptocurrency, smart contracts and the l...
 

More from Federico Tenga

Decentralised Applications on Bitcoin
Decentralised Applications on BitcoinDecentralised Applications on Bitcoin
Decentralised Applications on BitcoinFederico Tenga
 
Smart Contracts Technical Overview - Meetup Roma - 17/09/19
Smart Contracts Technical Overview - Meetup Roma - 17/09/19Smart Contracts Technical Overview - Meetup Roma - 17/09/19
Smart Contracts Technical Overview - Meetup Roma - 17/09/19Federico Tenga
 
Sustainability of a multi blockchain ecosystem
Sustainability of a multi blockchain ecosystemSustainability of a multi blockchain ecosystem
Sustainability of a multi blockchain ecosystemFederico Tenga
 
The Use of Bitcoin for Portfolio Optimization
The Use of Bitcoin for Portfolio OptimizationThe Use of Bitcoin for Portfolio Optimization
The Use of Bitcoin for Portfolio OptimizationFederico Tenga
 
Bitcoin Fork Wars: from xt to 2 x
Bitcoin Fork Wars: from xt to 2 xBitcoin Fork Wars: from xt to 2 x
Bitcoin Fork Wars: from xt to 2 xFederico Tenga
 
Bitcoin and blockchain talk - Pavia
Bitcoin and blockchain talk - PaviaBitcoin and blockchain talk - Pavia
Bitcoin and blockchain talk - PaviaFederico Tenga
 
Slide Federico Tenga - Conferenza Blockchain Roma 17-06-16
Slide Federico Tenga - Conferenza Blockchain Roma 17-06-16Slide Federico Tenga - Conferenza Blockchain Roma 17-06-16
Slide Federico Tenga - Conferenza Blockchain Roma 17-06-16Federico Tenga
 

More from Federico Tenga (9)

Decentralised Applications on Bitcoin
Decentralised Applications on BitcoinDecentralised Applications on Bitcoin
Decentralised Applications on Bitcoin
 
Smart Contracts Technical Overview - Meetup Roma - 17/09/19
Smart Contracts Technical Overview - Meetup Roma - 17/09/19Smart Contracts Technical Overview - Meetup Roma - 17/09/19
Smart Contracts Technical Overview - Meetup Roma - 17/09/19
 
Sustainability of a multi blockchain ecosystem
Sustainability of a multi blockchain ecosystemSustainability of a multi blockchain ecosystem
Sustainability of a multi blockchain ecosystem
 
Blockchain for IoT
Blockchain for IoTBlockchain for IoT
Blockchain for IoT
 
Bitcoin Revolution
Bitcoin RevolutionBitcoin Revolution
Bitcoin Revolution
 
The Use of Bitcoin for Portfolio Optimization
The Use of Bitcoin for Portfolio OptimizationThe Use of Bitcoin for Portfolio Optimization
The Use of Bitcoin for Portfolio Optimization
 
Bitcoin Fork Wars: from xt to 2 x
Bitcoin Fork Wars: from xt to 2 xBitcoin Fork Wars: from xt to 2 x
Bitcoin Fork Wars: from xt to 2 x
 
Bitcoin and blockchain talk - Pavia
Bitcoin and blockchain talk - PaviaBitcoin and blockchain talk - Pavia
Bitcoin and blockchain talk - Pavia
 
Slide Federico Tenga - Conferenza Blockchain Roma 17-06-16
Slide Federico Tenga - Conferenza Blockchain Roma 17-06-16Slide Federico Tenga - Conferenza Blockchain Roma 17-06-16
Slide Federico Tenga - Conferenza Blockchain Roma 17-06-16
 

Recently uploaded

Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 

Recently uploaded (20)

Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 

State Smart Contract Technologies

  • 1. State of Smart Contract Technologies Federico Tenga federico@chainside.net Co-founder at Chainside
  • 2. How contracts are usually enforced
  • 3. How contracts are usually enforced ● Ethics
  • 4. How contracts are usually enforced ● Ethics ● Social pressure / desire of preserving reputation
  • 5. How contracts are usually enforced ● Ethics ● Social pressure / desire of preserving reputation ● Violence / third party enforcement (e.g. call the cops)
  • 6. A smart contract is a trustless computer protocol designed to enforce of the terms of a contract
  • 8. Blockchain Smart Contracts ● Contract enforcement is guaranteed by code executed redundantly by a distributed network ● The code describes the spending conditions of unspent funds on the blockchain
  • 9. When do we need a smart contract?
  • 10. When do we need a smart contract? When we have a trust problem.
  • 11. When we do NOT need smart contracts
  • 12. When we do NOT need smart contracts ● When we just want automation
  • 13. When we do NOT need smart contracts ● When we just want automation ● When we are just looking for distributed storage/computation
  • 14. When we do NOT need smart contracts ● When we just want automation ● When we are just looking for distributed storage/computation ● When you are OK with trusted third parties or you need them anyway for other aspects of the contract that the SC cannot cover
  • 15. Bitcoin vs Ethereum Non-turing complete stack based language Limited expressivity Formally verifiable Turing complete language High expressivity Non formally verifiable
  • 16. A complex system that works is invariably found to have evolved from a simple system that worked. A complex system designed from scratch never works and cannot be patched up to make it work. Gall’s Law
  • 17. Desired features of a smart contract
  • 18. Desired features of a smart contract ● The behaviour is predictable by all parties involved
  • 19.
  • 20. Desired features of a smart contract ● The behaviour is predictable by all parties involved ● The cost of breaking it is superior to the value of the contract
  • 21.
  • 22. Desired features of a smart contract ● The behaviour is predictable by all parties involved ● The cost of breaking it is superior to the value of the contract ● No exploitable vulnerabilities
  • 23.
  • 25. Group wallets BITCOIN TRANSACTION Enforcing that at least two out of three members of a group have to agree to create a valid transaction blockchain Alice Bob Carol 2 <pubKeyAlice> <pubKeyBob> <pubKeyCarol> 3 CHECKMULTISIG Script
  • 26. Heritage wallets BITCOIN TRANSACTION Enforcing that a transaction must be signed either by Eve OR by Alice after waiting 4 years blockchain Eve Alice IF <pubKeyEve> CHECKISIG ELSE <4 y> CLTV DROP <pubKeyAlice> CHECKSIG ENDIF Script
  • 27. Secure storage BITCOIN TRANSACTION Enforcing that a transaction must be sign by either three devices in different locations OR a recovery key deposited in the bank after waiting six months blockchain Home Bank IF 3 <pubKeyHome> <pubKeyPhone> <pubKeyOffice> OP_3 CHECKMULTISIG ELSE <6 m> CLTV DROP <pubKeyBank> CHECKSIG ENDIF Script Office Phone
  • 28. Off-chain payments With advanced smart contracts it is possible to create channels for trustless off-chain payments, and link them into a network (a.k.a. Lightning Network)
  • 30. PRIVACY Improving smart contracts EXPRESSIVITY USABILITY Smart contracts look different from normal transactions Current Bitcoin scripting language is limited Most wallet providers do not offer smart contract capabilities
  • 31. PRIVACY Improving smart contracts EXPRESSIVITY USABILITY Smart contracts look different from normal transactions MAST, Taproot, Schnoor , etc Current Bitcoin scripting language is limited Simplicity, new OP_Codes, etc Most wallet providers do not offer smart contract capabilities Dev tools, UI/UX improvements
  • 33. What the future will look like ● Used only for very specific needs (not everywhere) ● Indistinguishable from normal transaction, most SC performed off-chain ● Seamlessly integrated in services’ UI