Blockchain Hackathon
- Code editor:
Participants are free to choose any code editor that they are most familiar with. However, the 2 tools are recommended: Visual Studio Code: https://code.visualstudio.com/ Sublime: https://www.sublimetext.com/
- NodeJS
Participants should download & install latest version of NodeJS on their respected machines: https://nodejs.org/en/download/current/ Select the suitable executable file for your platform and download
- Truffle framework
After installed NodeJS, Participants should proceed to install Truffle framework: http://truffleframework.com/
In short:
npm install -g truffle
To create a project using Truffle framework:
Create empty project folder
Use your IDE to open that folder
In the Command line interface, type
truffle init
Aside from using an offline IDE with Truffle framework, Participants can also try the online Remix editor:
https://ethereum.github.io/browser-solidity/#version=soljson-v0.4.18+commit.9cf6e910.js
- TestRPC
TestRPC is a sandbox environment that enable developers to deploy & test their smart contracts at the early stage of development.
npm install -g ethereumjs-testrpc
--> npm install -g ganache-cli
To start TestRPC
testrpc
To start with some pre-funded account(s)
testrpc --account=”private_key,balance”
testrpc --account=”private_key,balance” [--account=”private_key,balance”]
- Wallet : Rinkerby Network on MyEtherWallet
Private key: bc38c9c15a83387e6544299373083c1583426218dd0d97840292f55dad09a6a1
Address: 0xEdaF7259cADb03a7e3C3DC5cA9a69A9A2bd17681
- Account:
- [email protected] 123
- [email protected] 123
- [email protected] 123