Challenge: Back-End Javascript
Use Polkadot-JS to write a command line utility that displays information about the latest block on Kusama, Polkadot or any other Substrate-based chain. Bonus: include an option to search for a block by number (height) and/or hash.
Required:
- Node.js
- Yarn
To run:
git clone https://timthomasdev/polkadot-backend-js-challenge.git
cd polkadot-backend-js-challenge
yarn
node main.js