introduccion al blockchain 2018 05 07 - GrupoSabra/demos-y-presentaciones GitHub Wiki
Setup de la testnet
Artículo original
https://arctouch.com/blog/how-to-set-up-ethereum-blockchain/
Resumen de comandos
sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum
geth --datadir .ethereum/ account new
> Address: e7d5db47befe107568c24f58270dce414adb52ef
geth --datadir .ethereum/ account new
> Address: 3e5e985ab7629d74926e73de46e85995b97e2e60
puppeth
2. Configure new genesis
2. Clique - proof-of-authority
2. Manage existing genesis
2. Export genesis configuration
geth --datadir .ethereum/ init demotestnet.json
geth --nodiscover --networkid 777 --datadir .ethereum/ --mine --rpc --rpcapi eth,personal,net,web3 --rpcaddr 10.4.0.5 --unlock e7d5db47befe107568c24f58270dce414adb52ef --password psw.txt
Notas
- Agregar "personal" en el switch “--rpcapi” para poder interactuar con la billetera del nodo
- Agregar el switch “--password” apuntando a un archivo con la password en texto plano de la cuenta especificada en “Which accounts are allowed to seal?”
Herramientas de desarrollo
- Visual Studio Community 2017: https://www.visualstudio.com/downloads/
- Visual Studio Code: https://code.visualstudio.com/
- "solidity" extension para Visual Studio Code: https://marketplace.visualstudio.com/items?itemName=JuanBlanco.solidity