Learn BlockChain Development with me #4: Getting started with ethereumjs-testrpc
In this post, I will share about what you need to know to get started your ethereum network at local host. ethereumjs-rpc
is a simulation of ethereum protocol which is really fast.
Requirement
- Node
- NPM
You can read my post on installation of Node, NPM and Yarn.
Installation
npm install -g ethereumjs-testrpc
or yarn global add etherumjs-testrpc
Start the shell
Run testrpc
in the console.
- It will generate 10 accounts with private keys and each of them has 100 ether.
- It also opens up a port at
localhost:8545
. - The mnemonic key you can save it so that the next time when you want to generate the same thing, just use that Mnemonic key.
Use Mnemonic key to start testrpc
My mnemonic key is
near custom pear
soccer example kiss
stage fly super
theory spread need
So, I can run in the console with the following command:
testrpc -m "near custom pear soccer example kiss stage fly super theory spread need"G
very nice step by step guide. got chance wait till you are back so can ask you more.
Thanks denion. I also learn it on the way haha. You can ask me anytime, you don't need to wait me back 😂