Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 722 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 722 Bytes

DLT Implementation and Internals Step-by-Step

Lesson 03

Pre-requisites

Node >= 15.12.0

npm install

TODO 04

Instructions

UML

Open separate terminal for each of the given below:

  • node -r esm index.mjs 8001 wa
  • node -r esm index.mjs 8002 ok
  • node -r esm index.mjs 8003 je

Commands

  • balance - To check the node balance
  • ledger - To check the list of all transactions executed so far
  • send <userIntitials> e.g. send wa - To send 1 WBE token to another user
  • pending - To check the list of all pending transactions, waiting for recipient to approve
  • approve <txnNumber> e.g. approve 20 To approve transaction requiring recipient approval

Output