Blockchain in Javascript – Angular Frontend (Part 5)

Blockchains are hard to understand, so let’s visualize their inner workings by building a front-end application in Angular. I’ll show you how to visualize blocks on the chain and the transactions inside them. We’ll also make a UI to create new transactions and to mine new blocks.

All of this is based on the Javascript blockchain implementation that we made in the previous 4 parts: SavjeeCoin!

☞ Live demo of what we’re going to build in this video:
https://savjee.github.io/savjeecoin-frontend/

☞ Parts in this tutorial:
00:00 Introduction – What we’re going to build
03:06 Installing dependencies & creating project
06:00 Creating a nice header
08:10 Implementing the Blockchain service
13:44 Visualizing blocks on the chain: create BlockchainViewer & BlockView component
21:52 Visualizing transactions with TransactionsTable component
29:13 Making a settings page (to configure difficulty & mining reward)
33:56 Creating new transactions with CreateTransaction page
41:50 Creating the “Pending transactions” page
47:20 Full demo: creating transactions, mining blocks and seeing them on the chain

☞ Source code is available on GitHub: https://github.com/Savjee/savjeecoin-frontend

(Visited 683 times, 1 visits today)

You might be interested in

LEAVE YOUR COMMENT

Your email address will not be published. Required fields are marked *

eos
EOS (EOS) 0,629343 24,26%
aave
Aave (AAVE) 48,81 12,17%
the-graph
The Graph (GRT) 0,088881 14,67%
kusama
Kusama (KSM) 19,92 17,31%
waves
Waves (WAVES) 1,22 18,78%
dash
Dash (DASH) 27,43 23,78%
bitcoin
Bitcoin (BTC) 23.794,40 3,67%
ethereum
Ethereum (ETH) 1.614,81 5,57%
cardano
Cardano (ADA) 0,222322 24,00%
tether
Tether (USDT) 0,927440 0,01%
xrp
XRP (XRP) 0,459914 6,17%
solana
Solana (SOL) 13,55 23,39%
polkadot
Polkadot (DOT) 4,13 11,30%
usd-coin
USD Coin (USDC) 0,926895 0,02%
dogecoin
Dogecoin (DOGE) 0,055320 12,35%
uniswap
Uniswap (UNI) 3,66 14,24%
terra-luna
Terra Luna Classic (LUNC) 0,000081 11,38%
litecoin
Litecoin (LTC) 71,47 12,71%
chainlink
Chainlink (LINK) 4,66 16,18%
bitcoin-cash
Bitcoin Cash (BCH) 93,24 9,43%
algorand
Algorand (ALGO) 0,098911 14,61%
matic-network
Polygon (MATIC) 0,536880 26,33%
stellar
Stellar (XLM) 0,075331 6,69%
cosmos
Cosmos Hub (ATOM) 7,22 16,82%
filecoin
Filecoin (FIL) 3,10 18,29%
tron
TRON (TRX) 0,063493 12,06%
ethereum-classic
Ethereum Classic (ETC) 13,43 15,01%
dai
Dai (DAI) 0,927061 0,01%
tezos
Tezos (XTZ) 0,662599 14,54%
monero
Monero (XMR) 126,50 4,54%