soft-shake.ch - Domotique et robotique avec le micro Framework .NET
Free workshop - blockchain smart contract with solidity
1. Créer des smart contract
avec solidity
#blockchain #ethereum #solidity
2.
3. Smart contract
“Les smart contrats sont des programmes autonomes qui, une fois démarrés,
exécutent automatiquement des conditions définies au préalable.
Ils fonctionnement comme toute instruction conditionnelle de type « if – then ».”
Blockchain France
4. Solidity
“Solidity is a contract-oriented, high-level language whose syntax is similar to that
of JavaScript and it is designed to target the Ethereum Virtual Machine.”
Solidity
5. Outils
Browser solidity
Browser-based IDE with integrated compiler and Solidity runtime environment
without server-side components.
“Hello world” avec le browser solidity
6. Programme du workshop
Développer ces smart contract :
1. Enregistrer une chaîne de caractère sur le registre de la blockchain
2. Transfert d'Ether entre deux comptes
3. Système de vote avec procuration
4. ...création de son propre smart contract custom :)
Allez sur https://ethereum.github.io/browser-solidity/#version=soljson-v0.4.4+commit.4633f3de.js
Faire une démo du hello world avec une variable et une fonction greeter()
Compiler le contrat et interagir avec l’interface