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 717 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,763898 5,74%
aave
Aave (AAVE) 84,28 0,86%
the-graph
The Graph (GRT) 0,244984 0,90%
kusama
Kusama (KSM) 27,50 0,10%
waves
Waves (WAVES) 2,24 0,42%
dash
Dash (DASH) 28,60 2,38%
bitcoin
Bitcoin (BTC) 60.124,43 0,59%
ethereum
Ethereum (ETH) 2.932,83 0,01%
cardano
Cardano (ADA) 0,439750 0,39%
tether
Tether (USDT) 0,934446 0,09%
xrp
XRP (XRP) 0,494614 1,10%
solana
Solana (SOL) 134,62 1,50%
polkadot
Polkadot (DOT) 6,41 0,41%
usd-coin
USDC (USDC) 0,934425 0,11%
dogecoin
Dogecoin (DOGE) 0,140634 0,21%
uniswap
Uniswap (UNI) 7,29 0,69%
terra-luna
Terra Luna Classic (LUNC) 0,000104 7,32%
litecoin
Litecoin (LTC) 79,85 2,61%
chainlink
Chainlink (LINK) 13,90 0,65%
bitcoin-cash
Bitcoin Cash (BCH) 445,65 0,28%
algorand
Algorand (ALGO) 0,195396 4,00%
matic-network
Polygon (MATIC) 0,672884 2,34%
stellar
Stellar (XLM) 0,106143 0,07%
cosmos
Cosmos Hub (ATOM) 7,76 1,16%
filecoin
Filecoin (FIL) 5,58 0,53%
tron
TRON (TRX) 0,109294 2,79%
ethereum-classic
Ethereum Classic (ETC) 25,13 3,15%
dai
Dai (DAI) 0,934103 0,11%
tezos
Tezos (XTZ) 0,945841 1,01%
monero
Monero (XMR) 112,37 0,48%