Les contrats (ethereum)
Conférence « Droit et Blockchain »
Un Contrat = engagement entre parties
X €
Un « Smart » Contrat = contrat programmé / automatisé
Exécute X €
Bitcoin : langage voulu limité
For () do …While () do ……
Ethereum : « Turing complete »
Ethereum : « Gas powered »
http://gavwood.com/paper.pdf
Ethereum : Coût transaction / appel contrat
120 000 gas
Ethereum : EVM
Call
120 000 gas
1 gas = 000000022769355411 Eth
Moy Réseau : PrixGm
Prix Gas ?
PrixGuser
Ethereum : EVM
Not Ok
Prix gas Utilisateur insuffisant || Gas transmis insuffisant
Ethereum = !!! Coût exécution contrat
???
10 eth / call
Ethereum : langage programmation
Solidity « »
Serpent
LLL
https://solidity.readthedocs.io/
Ethereum : The DAO
- Levée de fonds- Création de tokens- Envoi de tokens- Gestion des propales- Votes des propales- …
Ethereum : The DAO
https://live.ether.camp/account/bb9bc244d798123fde783fcc1c72d3bb8c189413