Skip to content

A CLI for demonstration of concepts in the "Mastering Ethereum" book by Andreas M. Antonopoulos

License

Notifications You must be signed in to change notification settings

amlord/ethereumbook-concepts-demo

Repository files navigation

Mastering Ethereum Book - Concepts Demo CLI

A CLI for demonstration of concepts in the "Mastering Ethereum" book by Andreas M. Antonopoulos

Basic Functionality

(Parity node not required to be running)

  1. Generate CSPRN (cryptographically secure pseudo-random number)
  2. Generate Private Key
  3. Derive Public Key from Private Key
  4. Elliptic Curve Check
  5. Derive Ethereum Address
  6. Ethereum Address Checksum (EIP-55)
  7. Generate Mnemonic (BIP-39)
  8. Derive Hierarchical Deterministic (HD) Wallet Accounts (BIP-44)

Advanced Functionality

(To run these options, first start the Parity cluster)

  1. Get Parity Network Status
  2. Transfer Funds to Account (from admin account)
  3. Get Transaction by Hash
  4. Get Account Balance
  5. Create Raw Signed Transaction (transfer of funds)
  6. Send Raw Transaction to Network

Running the CLI

Node Version

This CLI uses node v10.14.2, some functionality may not work with lower versions.

If you're using NVM, simply run:

nvm use

Otherwise, check which version you're using:

node -v

...and upgrade if necessary.

Install

yarn install

Run

Start the CLI:

yarn start

Test

Run test suite:

yarn test

Lint

Run code formatter:

yarn lint

About

A CLI for demonstration of concepts in the "Mastering Ethereum" book by Andreas M. Antonopoulos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published