SlideShare a Scribd company logo
1 of 37
2017/11/28
Kenneth Hu (full stack developer)
Kenneth.hu@Hotmail.com
 I am a software developer for 11+ years
 I am developer , not trader.
 I am enthusiast, not expert.
 Blockchain, AR, ChatBot
 Email: Kenneth.hu@Hotmail.com
 Founder of Blockchain&Dapps meetup
 Founder of Singapore IOTA meetup
Ivan Kukanov
 Pure DApp:
IPFS/Swarm/AWS/GCE
Client
(Web, mobile)
Miner
Ethereum Network
Server API
 Sibling DApp:
Miner
Ethereum Network
Client
(Web, mobile)
IPFS/Swarm/AWS/GCE Internet
 Protected DApp:
Server API
Miner
Ethereum Network
Client
(Web, mobile)
IPFS/Swarm/AWS/GCE
Internet
 Write Solidity Code
 Deploy Solidity code to Ethereum
 Write front end code (Web, IOS, Android)
 High level languages
 Solidity
 Serpent
 Lisp Like Lanaguage
 Development management tools
 Truffle Mist
 Embark Geth
 Dapple Parity
 MetaMask Web3.js
 Testnode with RPC interface ( remote procedure call (RPC) protocol)
 Javascript testprc
 Python testnode
KOVAN
Ethereum Wallet
RINKEBY
Mainnet
ROPSTEN
Network Network ID Note
Main 1
Morden 2 deprecated
ropsten 3
Rinkeby 4
Kovan 42
Client Language Developers
go-ethereum Go Ethereum Foundation
Parity Rust Ethcore
cpp-ethereum C++ Ethereum Foundation
pyethapp Python Ethereum Foundation
ethereumjs-lib Javascript Ethereum Foundation
Ethereum(J) Java <ether.camp>
ruby-ethereum Ruby Jan Xie
ethereumH Haskell BlockApps
http://ethdocs.org/en/latest/ethereum-clients/choosing-a-client.html#why-are-there-multiple-ethereum-clients
|Namespace Usage
Admin Geth node management
Debug Geth node debugging
Personal Account management
Txpool Transaction pool inspection
Net
web3
 >geth [options] command [command options] [args…]
 Testnet
 Geth –testnet Rinkeby
 TestRPC
 Geth attach http://localhost:8545
 Command practice
 Personal.listAccounts
 eth.getBalance(personal.listAccounts[0])
 Eth.syncing

https://github.com/ethereum/go-ethereum/wiki/Command-Line-Options
 How to use METAMASK
 Create Account
 Import Accounts
 Private key
 JSON File
 Network
 Get Testcoin from testnet
 Transfer ether
 Types of wallet accounts
 Single owner & MultiSig contract account
 Has an address
 Private key protected by password
 Has an address but NO private key
 Hold/Run code
 Associated with accounts(s)
 Lists incoming transactions
Account
Contract Account
 One Account creates & owns
 One Account creates
 Multiple owners
 M-of-N type wallets
 N = Number of owners
 M = Required to confirm transaction
Single Owner
Contract Account
MultiSig
Contract
Daily limit : 2
Sig required : 2
Kenneth
Alice
Creates Import Contract
Send 2 Ethers Send 2 Ethers
Send 3 Ethers to Ivan Prompts
Approves
Transfer 3 Ethers
 Smart contract = Token = crypto currency
 ERC20 : It is a specification standard for tokens
 Buy tokens with Ethers
 Check the balance of tokens
 Transfer tokens to others
{Address of contract}
REMIX
Blockchain
 IDE – Remix
 Library – Web3.js
 Dapp browsers– MetaMask
 Smart Contract Language - Solidity
 Simulator - testRPC
 ChainCode– go-ethereum/Geth
 Command : testrpc
 Ethereum : Value token
 User invoking the transaction pays for the execution.
 Measures : kWH used Measures : Gallions of water used
 Gas is the unit in which EVM resource usage is measured.
Library Language
Web3.js JavaScript
web3J Java
Nethereum C# .NET
Ethereum-ruby Ruby
http://ethdocs.org/en/latest/connecting-to-
clients/index.html?highlight=Connecting%20to%20Ethereum%20Clients
 Remix is a suite of tools to interact with the Ethereum blockchain in order to debug
transactions, stored in this Git repository.
 How to use remix with MetaMAsk
 How to compile smart contract
 How to call functions of smart contract
 Join the discussion with us!!
 WebSite : http://sgblockchain.sg/
 FaceBook : https://www.facebook.com/groups/140517386608407
 linkedin : https://www.linkedin.com/groups/10359719
 Slack : https://goo.gl/iXLFi8
 Meetup : https://www.meetup.com/BlockChain-Dapps-Technology/
 Share anything with us!!
 https://github.com/EtherSingapore/talks
 Dapps Demo site :
 WebSite : http://www.kennethhu.net/example/ethereum/index.html
 Video : https://youtu.be/9dWxJcLajGY
 Github : https://github.com/kennethhutw/Ethereum-Dapps
Please write your feedback
for this workshop on my
meetup. Thanks
Kenneth

More Related Content

What's hot

[ApacheCon NA 2019] Re-inventing Middleware in a Programming Language
[ApacheCon NA 2019] Re-inventing Middleware in a Programming Language[ApacheCon NA 2019] Re-inventing Middleware in a Programming Language
[ApacheCon NA 2019] Re-inventing Middleware in a Programming LanguageBallerinalang
 
Socket programming using java
Socket programming using javaSocket programming using java
Socket programming using javaUC San Diego
 
A 7 architecture sustaining line live
A 7 architecture sustaining line liveA 7 architecture sustaining line live
A 7 architecture sustaining line liveLINE Corporation
 
An Introduction to Twisted
An Introduction to TwistedAn Introduction to Twisted
An Introduction to Twistedsdsern
 
JCConf 2020 Observing in Microservices
JCConf 2020 Observing in MicroservicesJCConf 2020 Observing in Microservices
JCConf 2020 Observing in MicroservicesMatt Ho
 
Socket programming in Java (PPTX)
Socket programming in Java (PPTX)Socket programming in Java (PPTX)
Socket programming in Java (PPTX)UC San Diego
 
Atom The Redis Streams-Powered Microservices SDK: Dan Pipemazo
Atom The Redis Streams-Powered Microservices SDK: Dan PipemazoAtom The Redis Streams-Powered Microservices SDK: Dan Pipemazo
Atom The Redis Streams-Powered Microservices SDK: Dan PipemazoRedis Labs
 
A 5 security x line platform
A 5 security x line platformA 5 security x line platform
A 5 security x line platformLINE Corporation
 
A Short Java Socket Tutorial
A Short Java Socket TutorialA Short Java Socket Tutorial
A Short Java Socket TutorialGuo Albert
 

What's hot (12)

[ApacheCon NA 2019] Re-inventing Middleware in a Programming Language
[ApacheCon NA 2019] Re-inventing Middleware in a Programming Language[ApacheCon NA 2019] Re-inventing Middleware in a Programming Language
[ApacheCon NA 2019] Re-inventing Middleware in a Programming Language
 
Socket programming using java
Socket programming using javaSocket programming using java
Socket programming using java
 
Socket programming
Socket programmingSocket programming
Socket programming
 
A 7 architecture sustaining line live
A 7 architecture sustaining line liveA 7 architecture sustaining line live
A 7 architecture sustaining line live
 
An Introduction to Twisted
An Introduction to TwistedAn Introduction to Twisted
An Introduction to Twisted
 
JCConf 2020 Observing in Microservices
JCConf 2020 Observing in MicroservicesJCConf 2020 Observing in Microservices
JCConf 2020 Observing in Microservices
 
Socket programming in Java (PPTX)
Socket programming in Java (PPTX)Socket programming in Java (PPTX)
Socket programming in Java (PPTX)
 
03 sockets
03 sockets03 sockets
03 sockets
 
Atom The Redis Streams-Powered Microservices SDK: Dan Pipemazo
Atom The Redis Streams-Powered Microservices SDK: Dan PipemazoAtom The Redis Streams-Powered Microservices SDK: Dan Pipemazo
Atom The Redis Streams-Powered Microservices SDK: Dan Pipemazo
 
A 5 security x line platform
A 5 security x line platformA 5 security x line platform
A 5 security x line platform
 
Java socket programming
Java socket programmingJava socket programming
Java socket programming
 
A Short Java Socket Tutorial
A Short Java Socket TutorialA Short Java Socket Tutorial
A Short Java Socket Tutorial
 

Similar to Ethereum dapps20180120

Ethereum Dapps
Ethereum Dapps Ethereum Dapps
Ethereum Dapps Hu Kenneth
 
Encode x NEAR: Technical Overview of NEAR 1
Encode x NEAR: Technical Overview of NEAR 1Encode x NEAR: Technical Overview of NEAR 1
Encode x NEAR: Technical Overview of NEAR 1KlaraOrban
 
Ethereum blockchain dapps demo
Ethereum blockchain  dapps demoEthereum blockchain  dapps demo
Ethereum blockchain dapps demoHu Kenneth
 
Ethereum Solidity Fundamentals
Ethereum Solidity FundamentalsEthereum Solidity Fundamentals
Ethereum Solidity FundamentalsEno Bassey
 
The JavaScript toolset for development on Ethereum
The JavaScript toolset for development on EthereumThe JavaScript toolset for development on Ethereum
The JavaScript toolset for development on EthereumGreeceJS
 
Javascript toolset for Ethereum Smart Contract development
Javascript toolset for Ethereum Smart Contract developmentJavascript toolset for Ethereum Smart Contract development
Javascript toolset for Ethereum Smart Contract developmentBugSense
 
CocoaConf: The Language of Mobile Software is APIs
CocoaConf: The Language of Mobile Software is APIsCocoaConf: The Language of Mobile Software is APIs
CocoaConf: The Language of Mobile Software is APIsTim Burks
 
Ingredients for creating dapps
Ingredients for creating dappsIngredients for creating dapps
Ingredients for creating dappsStefaan Ponnet
 
Build your own Blockchain with the right tool for your application
Build your own Blockchain with the right tool for your applicationBuild your own Blockchain with the right tool for your application
Build your own Blockchain with the right tool for your applicationAnthony Chow
 
DevEx in Ethereum - a look at the developer stack
DevEx in Ethereum - a look at the developer stackDevEx in Ethereum - a look at the developer stack
DevEx in Ethereum - a look at the developer stackAll Things Open
 
20221110 MetaCoin
20221110 MetaCoin20221110 MetaCoin
20221110 MetaCoinHu Kenneth
 
Building decentralized applications (dapps) on Ethereum - Eva Shon, & Igor Li...
Building decentralized applications (dapps) on Ethereum - Eva Shon, & Igor Li...Building decentralized applications (dapps) on Ethereum - Eva Shon, & Igor Li...
Building decentralized applications (dapps) on Ethereum - Eva Shon, & Igor Li...WithTheBest
 
Ethereum dapps20171205
Ethereum dapps20171205Ethereum dapps20171205
Ethereum dapps20171205Hu Kenneth
 
Developing Blockchain Applications
Developing Blockchain Applications Developing Blockchain Applications
Developing Blockchain Applications malikmayank
 
Ethereum
Ethereum Ethereum
Ethereum rajatpk
 
Ethereum - MetaMask&Remix&Smartcontract
Ethereum - MetaMask&Remix&SmartcontractEthereum - MetaMask&Remix&Smartcontract
Ethereum - MetaMask&Remix&SmartcontractHu Kenneth
 
Ethereum Devcon1 Report (summary writing)
Ethereum Devcon1 Report (summary writing)Ethereum Devcon1 Report (summary writing)
Ethereum Devcon1 Report (summary writing)Tomoaki Sato
 
EPIC Knowledge Society - Blockchain Developer Workshop
EPIC Knowledge Society - Blockchain Developer WorkshopEPIC Knowledge Society - Blockchain Developer Workshop
EPIC Knowledge Society - Blockchain Developer WorkshopAmritha Antony
 

Similar to Ethereum dapps20180120 (20)

Ethereum Dapps
Ethereum Dapps Ethereum Dapps
Ethereum Dapps
 
Encode x NEAR: Technical Overview of NEAR 1
Encode x NEAR: Technical Overview of NEAR 1Encode x NEAR: Technical Overview of NEAR 1
Encode x NEAR: Technical Overview of NEAR 1
 
Ethereum blockchain dapps demo
Ethereum blockchain  dapps demoEthereum blockchain  dapps demo
Ethereum blockchain dapps demo
 
Ethereum Solidity Fundamentals
Ethereum Solidity FundamentalsEthereum Solidity Fundamentals
Ethereum Solidity Fundamentals
 
The JavaScript toolset for development on Ethereum
The JavaScript toolset for development on EthereumThe JavaScript toolset for development on Ethereum
The JavaScript toolset for development on Ethereum
 
Javascript toolset for Ethereum Smart Contract development
Javascript toolset for Ethereum Smart Contract developmentJavascript toolset for Ethereum Smart Contract development
Javascript toolset for Ethereum Smart Contract development
 
Ethereum
EthereumEthereum
Ethereum
 
CocoaConf: The Language of Mobile Software is APIs
CocoaConf: The Language of Mobile Software is APIsCocoaConf: The Language of Mobile Software is APIs
CocoaConf: The Language of Mobile Software is APIs
 
Ingredients for creating dapps
Ingredients for creating dappsIngredients for creating dapps
Ingredients for creating dapps
 
Build your own Blockchain with the right tool for your application
Build your own Blockchain with the right tool for your applicationBuild your own Blockchain with the right tool for your application
Build your own Blockchain with the right tool for your application
 
DevEx in Ethereum - a look at the developer stack
DevEx in Ethereum - a look at the developer stackDevEx in Ethereum - a look at the developer stack
DevEx in Ethereum - a look at the developer stack
 
20221110 MetaCoin
20221110 MetaCoin20221110 MetaCoin
20221110 MetaCoin
 
Building decentralized applications (dapps) on Ethereum - Eva Shon, & Igor Li...
Building decentralized applications (dapps) on Ethereum - Eva Shon, & Igor Li...Building decentralized applications (dapps) on Ethereum - Eva Shon, & Igor Li...
Building decentralized applications (dapps) on Ethereum - Eva Shon, & Igor Li...
 
Ethereum dapps20171205
Ethereum dapps20171205Ethereum dapps20171205
Ethereum dapps20171205
 
Developing Blockchain Applications
Developing Blockchain Applications Developing Blockchain Applications
Developing Blockchain Applications
 
Ethereum
Ethereum Ethereum
Ethereum
 
Build dapps 1:3 dev tools
Build dapps 1:3 dev toolsBuild dapps 1:3 dev tools
Build dapps 1:3 dev tools
 
Ethereum - MetaMask&Remix&Smartcontract
Ethereum - MetaMask&Remix&SmartcontractEthereum - MetaMask&Remix&Smartcontract
Ethereum - MetaMask&Remix&Smartcontract
 
Ethereum Devcon1 Report (summary writing)
Ethereum Devcon1 Report (summary writing)Ethereum Devcon1 Report (summary writing)
Ethereum Devcon1 Report (summary writing)
 
EPIC Knowledge Society - Blockchain Developer Workshop
EPIC Knowledge Society - Blockchain Developer WorkshopEPIC Knowledge Society - Blockchain Developer Workshop
EPIC Knowledge Society - Blockchain Developer Workshop
 

More from Hu Kenneth

NFT Drop review.pdf
NFT Drop review.pdfNFT Drop review.pdf
NFT Drop review.pdfHu Kenneth
 
AMA: all you need to know about Launching successful NFT collections
AMA: all you need to know about Launching successful NFT collectionsAMA: all you need to know about Launching successful NFT collections
AMA: all you need to know about Launching successful NFT collectionsHu Kenneth
 
Angular&node js upload file
Angular&node js upload fileAngular&node js upload file
Angular&node js upload fileHu Kenneth
 
20201006 meta_coin 六角學院
20201006 meta_coin 六角學院20201006 meta_coin 六角學院
20201006 meta_coin 六角學院Hu Kenneth
 
區塊鏈創新基地 - 區塊鏈
區塊鏈創新基地 - 區塊鏈區塊鏈創新基地 - 區塊鏈
區塊鏈創新基地 - 區塊鏈Hu Kenneth
 
20190606 blockchain101
20190606 blockchain10120190606 blockchain101
20190606 blockchain101Hu Kenneth
 
2019 03 18_kenneth_simplebitcoinwebsite
2019 03 18_kenneth_simplebitcoinwebsite 2019 03 18_kenneth_simplebitcoinwebsite
2019 03 18_kenneth_simplebitcoinwebsite Hu Kenneth
 
2019 blockchain&dapps v2
2019 blockchain&dapps v22019 blockchain&dapps v2
2019 blockchain&dapps v2Hu Kenneth
 
Ethereum for developer 16th Nov 2018
Ethereum for developer 16th Nov 2018Ethereum for developer 16th Nov 2018
Ethereum for developer 16th Nov 2018Hu Kenneth
 
20180707 blockchain
20180707 blockchain 20180707 blockchain
20180707 blockchain Hu Kenneth
 
20180714 workshop - Ethereum decentralized application with truffle framework
20180714 workshop - Ethereum decentralized application with truffle framework20180714 workshop - Ethereum decentralized application with truffle framework
20180714 workshop - Ethereum decentralized application with truffle frameworkHu Kenneth
 
20180711 Metamask
20180711 Metamask 20180711 Metamask
20180711 Metamask Hu Kenneth
 
20180711 blockchain presentation in Blockchain&Dapps
20180711 blockchain presentation in Blockchain&Dapps20180711 blockchain presentation in Blockchain&Dapps
20180711 blockchain presentation in Blockchain&DappsHu Kenneth
 
Blockchain And dapps meetup introduction
Blockchain And dapps meetup introductionBlockchain And dapps meetup introduction
Blockchain And dapps meetup introductionHu Kenneth
 
Integration at the consumer end
Integration at the consumer endIntegration at the consumer end
Integration at the consumer endHu Kenneth
 
Kenneth simple bitcoinwebsite
Kenneth simple bitcoinwebsiteKenneth simple bitcoinwebsite
Kenneth simple bitcoinwebsiteHu Kenneth
 
2017/12/28 分享南進國家工作
2017/12/28 分享南進國家工作2017/12/28 分享南進國家工作
2017/12/28 分享南進國家工作Hu Kenneth
 
M202 MongoDB Advanced Deployment and Operations
M202 MongoDB Advanced Deployment and OperationsM202 MongoDB Advanced Deployment and Operations
M202 MongoDB Advanced Deployment and OperationsHu Kenneth
 
M102 MongoDB for DBAs
M102 MongoDB for DBAsM102 MongoDB for DBAs
M102 MongoDB for DBAsHu Kenneth
 

More from Hu Kenneth (20)

NFT Drop review.pdf
NFT Drop review.pdfNFT Drop review.pdf
NFT Drop review.pdf
 
AMA: all you need to know about Launching successful NFT collections
AMA: all you need to know about Launching successful NFT collectionsAMA: all you need to know about Launching successful NFT collections
AMA: all you need to know about Launching successful NFT collections
 
Angular&node js upload file
Angular&node js upload fileAngular&node js upload file
Angular&node js upload file
 
20201006 meta_coin 六角學院
20201006 meta_coin 六角學院20201006 meta_coin 六角學院
20201006 meta_coin 六角學院
 
區塊鏈創新基地 - 區塊鏈
區塊鏈創新基地 - 區塊鏈區塊鏈創新基地 - 區塊鏈
區塊鏈創新基地 - 區塊鏈
 
Stablecoin
StablecoinStablecoin
Stablecoin
 
20190606 blockchain101
20190606 blockchain10120190606 blockchain101
20190606 blockchain101
 
2019 03 18_kenneth_simplebitcoinwebsite
2019 03 18_kenneth_simplebitcoinwebsite 2019 03 18_kenneth_simplebitcoinwebsite
2019 03 18_kenneth_simplebitcoinwebsite
 
2019 blockchain&dapps v2
2019 blockchain&dapps v22019 blockchain&dapps v2
2019 blockchain&dapps v2
 
Ethereum for developer 16th Nov 2018
Ethereum for developer 16th Nov 2018Ethereum for developer 16th Nov 2018
Ethereum for developer 16th Nov 2018
 
20180707 blockchain
20180707 blockchain 20180707 blockchain
20180707 blockchain
 
20180714 workshop - Ethereum decentralized application with truffle framework
20180714 workshop - Ethereum decentralized application with truffle framework20180714 workshop - Ethereum decentralized application with truffle framework
20180714 workshop - Ethereum decentralized application with truffle framework
 
20180711 Metamask
20180711 Metamask 20180711 Metamask
20180711 Metamask
 
20180711 blockchain presentation in Blockchain&Dapps
20180711 blockchain presentation in Blockchain&Dapps20180711 blockchain presentation in Blockchain&Dapps
20180711 blockchain presentation in Blockchain&Dapps
 
Blockchain And dapps meetup introduction
Blockchain And dapps meetup introductionBlockchain And dapps meetup introduction
Blockchain And dapps meetup introduction
 
Integration at the consumer end
Integration at the consumer endIntegration at the consumer end
Integration at the consumer end
 
Kenneth simple bitcoinwebsite
Kenneth simple bitcoinwebsiteKenneth simple bitcoinwebsite
Kenneth simple bitcoinwebsite
 
2017/12/28 分享南進國家工作
2017/12/28 分享南進國家工作2017/12/28 分享南進國家工作
2017/12/28 分享南進國家工作
 
M202 MongoDB Advanced Deployment and Operations
M202 MongoDB Advanced Deployment and OperationsM202 MongoDB Advanced Deployment and Operations
M202 MongoDB Advanced Deployment and Operations
 
M102 MongoDB for DBAs
M102 MongoDB for DBAsM102 MongoDB for DBAs
M102 MongoDB for DBAs
 

Recently uploaded

5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 

Recently uploaded (20)

5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 

Ethereum dapps20180120

  • 1. 2017/11/28 Kenneth Hu (full stack developer) Kenneth.hu@Hotmail.com
  • 2.  I am a software developer for 11+ years  I am developer , not trader.  I am enthusiast, not expert.  Blockchain, AR, ChatBot  Email: Kenneth.hu@Hotmail.com  Founder of Blockchain&Dapps meetup  Founder of Singapore IOTA meetup
  • 3.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.  Pure DApp: IPFS/Swarm/AWS/GCE Client (Web, mobile) Miner Ethereum Network
  • 10. Server API  Sibling DApp: Miner Ethereum Network Client (Web, mobile) IPFS/Swarm/AWS/GCE Internet
  • 11.  Protected DApp: Server API Miner Ethereum Network Client (Web, mobile) IPFS/Swarm/AWS/GCE Internet
  • 12.  Write Solidity Code  Deploy Solidity code to Ethereum  Write front end code (Web, IOS, Android)
  • 13.
  • 14.  High level languages  Solidity  Serpent  Lisp Like Lanaguage  Development management tools  Truffle Mist  Embark Geth  Dapple Parity  MetaMask Web3.js  Testnode with RPC interface ( remote procedure call (RPC) protocol)  Javascript testprc  Python testnode
  • 16. Network Network ID Note Main 1 Morden 2 deprecated ropsten 3 Rinkeby 4 Kovan 42
  • 17. Client Language Developers go-ethereum Go Ethereum Foundation Parity Rust Ethcore cpp-ethereum C++ Ethereum Foundation pyethapp Python Ethereum Foundation ethereumjs-lib Javascript Ethereum Foundation Ethereum(J) Java <ether.camp> ruby-ethereum Ruby Jan Xie ethereumH Haskell BlockApps http://ethdocs.org/en/latest/ethereum-clients/choosing-a-client.html#why-are-there-multiple-ethereum-clients
  • 18. |Namespace Usage Admin Geth node management Debug Geth node debugging Personal Account management Txpool Transaction pool inspection Net web3
  • 19.  >geth [options] command [command options] [args…]  Testnet  Geth –testnet Rinkeby  TestRPC  Geth attach http://localhost:8545  Command practice  Personal.listAccounts  eth.getBalance(personal.listAccounts[0])  Eth.syncing  https://github.com/ethereum/go-ethereum/wiki/Command-Line-Options
  • 20.
  • 21.  How to use METAMASK  Create Account  Import Accounts  Private key  JSON File  Network  Get Testcoin from testnet
  • 22.  Transfer ether  Types of wallet accounts  Single owner & MultiSig contract account
  • 23.  Has an address  Private key protected by password  Has an address but NO private key  Hold/Run code  Associated with accounts(s)  Lists incoming transactions Account Contract Account
  • 24.  One Account creates & owns  One Account creates  Multiple owners  M-of-N type wallets  N = Number of owners  M = Required to confirm transaction Single Owner Contract Account
  • 25. MultiSig Contract Daily limit : 2 Sig required : 2 Kenneth Alice Creates Import Contract Send 2 Ethers Send 2 Ethers Send 3 Ethers to Ivan Prompts Approves Transfer 3 Ethers
  • 26.  Smart contract = Token = crypto currency  ERC20 : It is a specification standard for tokens  Buy tokens with Ethers  Check the balance of tokens  Transfer tokens to others {Address of contract}
  • 27.
  • 28.
  • 29. REMIX Blockchain  IDE – Remix  Library – Web3.js  Dapp browsers– MetaMask  Smart Contract Language - Solidity  Simulator - testRPC  ChainCode– go-ethereum/Geth
  • 30.  Command : testrpc
  • 31.  Ethereum : Value token
  • 32.  User invoking the transaction pays for the execution.  Measures : kWH used Measures : Gallions of water used  Gas is the unit in which EVM resource usage is measured.
  • 33. Library Language Web3.js JavaScript web3J Java Nethereum C# .NET Ethereum-ruby Ruby http://ethdocs.org/en/latest/connecting-to- clients/index.html?highlight=Connecting%20to%20Ethereum%20Clients
  • 34.  Remix is a suite of tools to interact with the Ethereum blockchain in order to debug transactions, stored in this Git repository.  How to use remix with MetaMAsk  How to compile smart contract  How to call functions of smart contract
  • 35.
  • 36.  Join the discussion with us!!  WebSite : http://sgblockchain.sg/  FaceBook : https://www.facebook.com/groups/140517386608407  linkedin : https://www.linkedin.com/groups/10359719  Slack : https://goo.gl/iXLFi8  Meetup : https://www.meetup.com/BlockChain-Dapps-Technology/  Share anything with us!!  https://github.com/EtherSingapore/talks  Dapps Demo site :  WebSite : http://www.kennethhu.net/example/ethereum/index.html  Video : https://youtu.be/9dWxJcLajGY  Github : https://github.com/kennethhutw/Ethereum-Dapps
  • 37. Please write your feedback for this workshop on my meetup. Thanks Kenneth

Editor's Notes

  1. Mobile Wallet
  2. Exchange
  3. http://www.kennethhu.net/example/ethereum/index.html
  4. https://g2ex.github.io/2017/09/12/ethereum-guidance/
  5. Introduce Ethereum wallet
  6. Contract account is not free pay for gas