Published on March 5, 2014
ethereum Write Your Own Contracts Joris Bontje! @mids106
What can you do with them?
Contracts lives on the Ethereum block chain Have own Ethereum address and balance Can send and receive transactions “Activated” when you send a transaction to it
Turing complete language Fee per CPU step (extra for storage, tx, crypto) 2^256 Storage entries Scripts can modify their own code(!)
EtherScript TXVALUE PUSH 25 PUSH 10 PUSH 18 EXP MUL LE NOT PUSH 34 JMPI STOP PUSH 34 JMP PUSH 0 TXDATA SLOAD NOT PUSH 0 TXDATA PUSH 1000 LT NOT MUL NOT NOT PUSH 34 JMPI STOP PUSH 1 TXDATA PUSH 0 TXDATA SSTORE
CLL: C-Like Language if tx.value <= 25 * 10^18: stop elif contract.storage[tx.data] or tx.data < 1000: stop contract.storage[tx.data] = tx.data
LLL: Lisp-Like Language (seq (unless (>= (txvalue) (* 20 (basefee))) (stop)) (if (txdatan) (seq (sstore (txsender) (- (sload (txsender)) (txdata 0))) (mktx (txsender) (txdata 0) 0) ) (sstore (txsender) (+ (sload (txsender)) (- (txvalue) (* 20 (basefee))) ) ) ) )
NameReg in Action
Scary Screenshot AlethZero v0.3.4 - 2014-02-14
Future Contract Editor?
Ethereum whitepaper https://github.com/ethereum/wiki/wiki/%5BEnglish%5D-WhitePaper Code examples & Simulators https://github.com/jorisbontje/cll-sim/ https://github.com/k1n0k0/ethereum-simulator/ CLL https://github.com/ethereum/wiki/wiki/%5BEnglish%5D-CLL LLL https://github.com/ethereum/cpp-ethereum/wiki/LLL%20Tutorial https://github.com/ethereum/cpp-ethereum/wiki/LLL %20Examples
Les changements sur le marché du distressed aux Etats-Unis et en Europe
Main Sections of the Report 1) Nifty Technical View 2) 4 Large Cap Trade Ide...
This presentation consits the yearly results of Kinepolis Group
Want to watch this again later? Sign in to add this video to a playlist. Joris Bontje presents how to write your own smart contracts with ...
... World contract on the ethereum command line. If you don't know how to ... on to write further contracts, ... contract has to implement its own ...
You are responsible for your own ... assets built on Ethereum, as well as write, ... Ethereum, you can create a contract that will hold a ...
Ethereum: Write your own smart contracts ... Zaki Manian talks about security problems with the domain name system and how the Ethereum blockchain can help.
... how to build your own transparent bank on the blockchain ... to use the Ethereum Wallet to create your own ... Contracts tab you’ll ...
... or write your own, and run it on Bitcoin with Counterparty. ... Further reading on the Ethereum contract language(s) is available here: Ethereum White ...
Once my smart contract is active on the Ethereum, ... "If you’d rather use your own machine, you probably noticed ... Can an Ethereum contract be updated ...
Tutorial 1: Your first contract. KenK ... we'll write a simple contract that functions ... understand that will help you master ethereum contracts: ...
Writing Smart Contracts FAQ ... need a separate app if you've chosen to write in this ... implementation in Ethereum: Amusing marriage contract: