SlideShare a Scribd company logo
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 Language
Ballerinalang
 
Socket programming using java
Socket programming using javaSocket programming using java
Socket programming using java
UC San Diego
 
Socket programming
Socket programmingSocket programming
Socket programming
chandramouligunnemeda
 
A 7 architecture sustaining line live
A 7 architecture sustaining line liveA 7 architecture sustaining line live
A 7 architecture sustaining line live
LINE Corporation
 
An Introduction to Twisted
An Introduction to TwistedAn Introduction to Twisted
An Introduction to Twisted
sdsern
 
JCConf 2020 Observing in Microservices
JCConf 2020 Observing in MicroservicesJCConf 2020 Observing in Microservices
JCConf 2020 Observing in Microservices
Matt Ho
 
Socket programming in Java (PPTX)
Socket programming in Java (PPTX)Socket programming in Java (PPTX)
Socket programming in Java (PPTX)UC San Diego
 
03 sockets
03 sockets03 sockets
03 sockets
Pavan Illa
 
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
Redis Labs
 
A 5 security x line platform
A 5 security x line platformA 5 security x line platform
A 5 security x line platform
LINE Corporation
 
Java socket programming
Java socket programmingJava socket programming
Java socket programming
Mohammed Abdalla Youssif
 
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
 
Ethereum blockchain dapps demo
Ethereum blockchain  dapps demoEthereum blockchain  dapps demo
Ethereum blockchain dapps demo
Hu Kenneth
 
Ethereum Solidity Fundamentals
Ethereum Solidity FundamentalsEthereum Solidity Fundamentals
Ethereum Solidity Fundamentals
Eno Bassey
 
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
BugSense
 
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
GreeceJS
 
Ethereum
EthereumEthereum
Ethereum
Brian Yap
 
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
Tim Burks
 
Ingredients for creating dapps
Ingredients for creating dappsIngredients for creating dapps
Ingredients for creating dapps
Stefaan 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 application
Anthony 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 stack
All Things Open
 
20221110 MetaCoin
20221110 MetaCoin20221110 MetaCoin
20221110 MetaCoin
Hu 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 dapps20171205
Hu Kenneth
 
Developing Blockchain Applications
Developing Blockchain Applications Developing Blockchain Applications
Developing Blockchain Applications
malikmayank
 
Ethereum
Ethereum Ethereum
Ethereum
rajatpk
 
Build dapps 1:3 dev tools
Build dapps 1:3 dev toolsBuild dapps 1:3 dev tools
Build dapps 1:3 dev tools
Martin Köppelmann
 
Ethereum - MetaMask&Remix&Smartcontract
Ethereum - MetaMask&Remix&SmartcontractEthereum - MetaMask&Remix&Smartcontract
Ethereum - MetaMask&Remix&Smartcontract
Hu 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 Workshop
Amritha Antony
 
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
Simplilearn
 

Similar to Ethereum dapps20180120 (20)

Ethereum Dapps
Ethereum Dapps Ethereum Dapps
Ethereum Dapps
 
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
 
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
 
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
 
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
 
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
 

More from Hu Kenneth

NFT Drop review.pdf
NFT Drop review.pdfNFT Drop review.pdf
NFT Drop review.pdf
Hu 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 collections
Hu Kenneth
 
Angular&node js upload file
Angular&node js upload fileAngular&node js upload file
Angular&node js upload file
Hu Kenneth
 
20201006 meta_coin 六角學院
20201006 meta_coin 六角學院20201006 meta_coin 六角學院
20201006 meta_coin 六角學院
Hu Kenneth
 
區塊鏈創新基地 - 區塊鏈
區塊鏈創新基地 - 區塊鏈區塊鏈創新基地 - 區塊鏈
區塊鏈創新基地 - 區塊鏈
Hu Kenneth
 
Stablecoin
StablecoinStablecoin
Stablecoin
Hu Kenneth
 
20190606 blockchain101
20190606 blockchain10120190606 blockchain101
20190606 blockchain101
Hu 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 v2
Hu Kenneth
 
Ethereum for developer 16th Nov 2018
Ethereum for developer 16th Nov 2018Ethereum for developer 16th Nov 2018
Ethereum for developer 16th Nov 2018
Hu 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 framework
Hu 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&Dapps
Hu Kenneth
 
Blockchain And dapps meetup introduction
Blockchain And dapps meetup introductionBlockchain And dapps meetup introduction
Blockchain And dapps meetup introduction
Hu Kenneth
 
Integration at the consumer end
Integration at the consumer endIntegration at the consumer end
Integration at the consumer end
Hu Kenneth
 
Kenneth simple bitcoinwebsite
Kenneth simple bitcoinwebsiteKenneth simple bitcoinwebsite
Kenneth simple bitcoinwebsite
Hu 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

May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
Tendenci - The Open Source AMS (Association Management Software)
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
kalichargn70th171
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
RISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent EnterpriseRISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent Enterprise
Srikant77
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
e20449
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 

Recently uploaded (20)

May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
RISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent EnterpriseRISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent Enterprise
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 

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