-
Notifications
You must be signed in to change notification settings - Fork 1
make dapp rest api
kimhunjin edited this page May 29, 2018
·
2 revisions
- os (windows10)
- node.js (v8.11)
- npm (v5.6)
- python (v3.6.5)
- c++
- solidity (v0.4.18)
- MetaMask (chrome extension tool)
npm install express-generator -g // install express framework
-
add a MetaMask in the chrome extension tool.
-
sign up MetaMask
Warning : Do not forget your password and meta mask seed
-
sign in MetaMask
-
join infura (infura)
remember your code (started with https://rinkeby.infura.io/~~)
-
join faucet (faucet)
-
sign in your twitter
-
posted your ethereum address
Requesting faucet funds into on the #Rinkeby #Ethereum test network. -
copy the post's URL and paste in faucet
express myapp // make my app with express
cd myapp
npm install // package install
npm install truffle-hdwallet-provider --save // using truffle
npm install web3 --save // using web3.js
cd router
vi index.js