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 708 times, 2 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,707406 0,49%
aave
Aave (AAVE) 85,11 1,36%
the-graph
The Graph (GRT) 0,261369 20,34%
kusama
Kusama (KSM) 42,73 2,16%
waves
Waves (WAVES) 2,11 0,25%
dash
Dash (DASH) 27,57 2,15%
bitcoin
Bitcoin (BTC) 47.801,42 0,29%
ethereum
Ethereum (ETH) 2.734,41 0,67%
cardano
Cardano (ADA) 0,554170 1,23%
tether
Tether (USDT) 0,924124 0,04%
xrp
XRP (XRP) 0,502088 0,70%
solana
Solana (SOL) 96,77 0,32%
polkadot
Polkadot (DOT) 6,90 0,84%
usd-coin
USDC (USDC) 0,924108 0,18%
dogecoin
Dogecoin (DOGE) 0,078174 0,61%
uniswap
Uniswap (UNI) 6,87 2,40%
terra-luna
Terra Luna Classic (LUNC) 0,000114 2,59%
litecoin
Litecoin (LTC) 63,41 0,12%
chainlink
Chainlink (LINK) 17,19 0,57%
bitcoin-cash
Bitcoin Cash (BCH) 243,34 0,13%
algorand
Algorand (ALGO) 0,177408 2,55%
matic-network
Polygon (MATIC) 0,884339 1,91%
stellar
Stellar (XLM) 0,106981 1,00%
cosmos
Cosmos Hub (ATOM) 9,16 1,00%
filecoin
Filecoin (FIL) 6,85 3,58%
tron
TRON (TRX) 0,128910 0,09%
ethereum-classic
Ethereum Classic (ETC) 24,03 1,37%
dai
Dai (DAI) 0,924377 0,04%
tezos
Tezos (XTZ) 1,03 2,99%
monero
Monero (XMR) 115,31 2,55%