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 628 times, 1 visits today)

You might be interested in

LEAVE YOUR COMMENT

Your email address will not be published.

eos
EOS (EOS) 1,32 5,54%
aave
Aave (AAVE) 104,45 0,66%
the-graph
The Graph (GRT) 0,127144 3,38%
kusama
Kusama (KSM) 54,94 3,51%
waves
Waves (WAVES) 5,75 1,76%
dash
Dash (DASH) 51,57 1,13%
bitcoin
Bitcoin (BTC) 23.273,91 1,13%
ethereum
Ethereum (ETH) 1.823,35 1,65%
cardano
Cardano (ADA) 0,546064 0,15%
tether
Tether (USDT) 0,980026 0,40%
xrp
XRP (XRP) 0,365037 0,38%
solana
Solana (SOL) 41,88 2,38%
polkadot
Polkadot (DOT) 8,56 0,73%
usd-coin
USD Coin (USDC) 0,979051 0,28%
dogecoin
Dogecoin (DOGE) 0,082672 8,73%
uniswap
Uniswap (UNI) 8,08 2,36%
litecoin
Litecoin (LTC) 59,37 0,37%
chainlink
Chainlink (LINK) 8,26 2,77%
bitcoin-cash
Bitcoin Cash (BCH) 132,92 0,75%
algorand
Algorand (ALGO) 0,345357 1,55%
matic-network
Polygon (MATIC) 0,910790 2,83%
stellar
Stellar (XLM) 0,119039 0,94%
cosmos
Cosmos Hub (ATOM) 11,14 0,30%
filecoin
Filecoin (FIL) 8,12 1,60%
tron
TRON (TRX) 0,068055 1,10%
ethereum-classic
Ethereum Classic (ETC) 39,21 2,77%
dai
Dai (DAI) 0,980026 0,46%
tezos
Tezos (XTZ) 1,81 1,86%
monero
Monero (XMR) 166,08 3,97%