티스토리 뷰
ethereum 개발자 블로그
https://gwonsungjun.github.io/blockchain/2018/06/01/geth/
https://blog.naver.com/pjt3591oo/221318840959
http://ihpark92.tistory.com/45
* react, geth, web3js로 프라이빗 이더리움 블록체인앱(dApp) 만들기
https://bernardokang.blog.me/221299125867
* [Truffle, React.js] 과일 가게 dApp 만들기 - 샘플
https://steemit.com/ethereum/@dangen/truffle-react-js-dapp-1-2
https://steemit.com/ethereum/@dangen/truffle-react-js-dapp-2-3
* web3.js doc
https://web3js.readthedocs.io/en/1.0/web3-utils.html#utils-tobn
---
* 투표 (샘플 개발)
https://github.com/bear2u/til/blob/master/blockchain/zastrin/chapter2/step1.md
* 크립토좀비 요약
http://javaexpert.tistory.com/927
* DAPP 간단 강의
http://javaexpert.tistory.com/category/스터디/DAPP
* REACT
https://1ilsang.blog.me/221124607389
* 간단 강의
이더리움 개발 책 요약 및 평가 포스팅
https://opentutorials.org/course/2869/20677
https://steemit.com/coinkorea/@etainclub/smart-contract-5
How to Run an Ethereum Node in GCP
https://gist.github.com/cryptogoth/ee67803f66af7db095062d50b22e3a6f
https://gist.github.com/cryptogoth/f64723a152bf44544409fc988001554e
Geth 1.8.2 in docker : fatal error: runtime: out of memory
https://github.com/ethereum/go-ethereum/issues/16377
Making Web3.js work asynchronously with JavaScript Promises and await
https://shawntabrizi.com/crypto/making-web3-js-work-asynchronously-javascript-promises-await/
ex
https://busy.org/@pangol/dapp-4-private-network-remix-geth-rpc
http://www.mins01.com/mh/tech/read/1134?page=1&tq=&q=&ct=
about bootnode
https://github.com/ethereum/go-ethereum/wiki/Setting-up-private-network-or-local-cluster
trouble shoot
synchronization failed when admin.addpeer
-> setting static nodes https://github.com/ethereum/go-ethereum/wiki/Connecting-to-the-network#static-nodes
geth install
sudo apt-get install ethereum
geth commands
geth --datadir "/home/jay_lee/ethereum/data" init "/home/jay_lee/ethereum/CustomGenesis.json"
nohup geth --identity "PrivateNetwork" --datadir "/home/jay_lee/ethereum/data" --port "30303" --mine --minerthreads 1 --rpc --rpcaddr 0.0.0.0 --rpcport "8545" --rpccorsdomain "*" --nodiscover --networkid 15 --nat "any" --rpcapi "admin,db,eth,debug,miner,net,shh,txpool,personal,web3" &
geth --identity "PrivateNetwork" --datadir "/home/jay_lee/ethereum/data" --port "30303" --rpc --rpcaddr 0.0.0.0 --rpcport "8545" --rpccorsdomain "*" --nodiscover --networkid 15 --nat "any" --rpcapi "admin,db,eth,debug,miner,net,shh,txpool,personal,web3"
geth --dev --datadir "/home/jay_lee/ethereum/data" --rpc --rpcaddr 35.234.23.14 --rpcport "8545" --rpcapi "admin,db,eth,debug,miner,net,shh,txpool,personal,web3" --port 30303 --nodiscover --networkid 15 console
geth --dev --datadir "D:\ethereum\test" --rpc --rpcaddr 35.234.23.14 --rpcport "8545" --rpcapi "admin,db,eth,debug,miner,net,shh,txpool,personal,web3" --port 30303 --nodiscover --networkid 15 console
geth --datadir "D:\ethereum\test" --rpc --rpcaddr 35.234.23.14 --rpcport "8545" --rpcapi "admin,db,eth,debug,miner,net,shh,txpool,personal,web3" --port 3030 --nodiscover --networkid 2525 console
geth attach rpc:http://35.234.23.14:8545
web3.net.peerCount
miner.setEtherbase(eth.accounts[1])
web3.fromWei(eth.getBalance(eth.coinbase), "ether")
personal.unlockAccount(eth.accounts[0],"Alpha",0)
personal.newAccount("Alpha")
mist.exe --rpc http://35.234.23.14:8545
geth --datadir "D:\ethereum\test" init "D:\ethereum\CustomGenesis.json"
geth --datadir "D:\ethereum\test" --port "30303" --mine --minerthreads 1 --rpc --rpcaddr 0.0.0.0 --rpcport "8545" --rpccorsdomain "*" --nodiscover --networkid 15 --nat "any" --rpcapi "admin,db,eth,debug,miner,net,shh,txpool,personal,web3"
admin.addPeer("enode://3b61edc9941183ddf7ddc430b55d8c56b12281306344402f8dc81f62c6b2d9b9c7502076fd8d08175aa90d11be00ce143c4f588a97c23a2f4dd695373fe3be9d@35.234.23.14:30303")
geth attach rpc:http://localhost:8545
http://35.234.23.14:8545
http://35.234.23.14:3000
static-node.json
https://github.com/ethereum/go-ethereum/wiki/Connecting-to-the-network#static-nodes
[ "enode://f4642fa65af50cfdea8fa7414a5def7bb7991478b768e296f5e4a54e8b995de102e0ceae2e826f293c481b5325f89be6d207b003382e18a8ecba66fbaf6416c0@33.4.2.1:30303", "enode://pubkey@ip:port" ]
gcp 관련 prerequisite
sudo apt-get install build-essential
$ sudo apt-get install python-software-properties
$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test
$ sudo apt-get update
$ sudo apt-get install gcc-4.8 g++-4.8
$ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8
$ npm install -g node-gyp
npm install --save web3 --python=python2.7
geth upgrade
sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo add-apt-repository -y ppa:ethereum/ethereum-dev
sudo apt-get update
sudo apt-get upgrade
web3.js
// Here's how we would access our contract: var abi = /* abi generated by the compiler */ var ZombieFactoryContract = web3.eth.contract(abi) var contractAddress = /* our contract address on Ethereum after deploying */ var ZombieFactory = ZombieFactoryContract.at(contractAddress) // `ZombieFactory` has access to our contract's public functions and events
'Links > Tips' 카테고리의 다른 글
가난한 개발자를 위한 GCP Free Tier 활용방법 (0) | 2018.10.16 |
---|---|
윈도우 용량 확보하기 - Windows/Installer 옮기기 (0) | 2018.09.24 |
남자 백팩 인기 순위 (0) | 2018.08.28 |
Jira (0) | 2018.08.24 |
애자일 부터 DevOps 까지 (0) | 2018.08.23 |
- Total
- Today
- Yesterday
- 예수를 자랑하자
- html5
- 정신병원에서 뛰쳐나온 디자인
- 땅의 의미
- jsonp
- Tim Tebow
- 하나님을 자랑하라
- 큐티
- 작고깊은모임
- 창세기
- Dimension
- deep copy
- cors
- 골방기도
- 벧엘
- ant build
- 일어나 홍해를 건너자
- How Google Works
- 하나님과 동행하는 삶
- 행동유도성
- 앤트 빌드
- affordance
- 강명식
- 아이맥스 명당
- shallow copy
- 에릭 슈미트
- 매일성경
- 성경읽기
- 요셉
- 앨런 쿠퍼
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |