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

You might be interested in

LEAVE YOUR COMMENT

Your email address will not be published.

eos
EOS (EOS) 1,17 7,46%
aave
Aave (AAVE) 96,58 6,91%
the-graph
The Graph (GRT) 0,138794 7,43%
kusama
Kusama (KSM) 60,00 9,03%
waves
Waves (WAVES) 5,78 6,71%
dash
Dash (DASH) 53,46 1,27%
bitcoin
Bitcoin (BTC) 22.779,59 4,23%
ethereum
Ethereum (ETH) 1.664,67 6,11%
cardano
Cardano (ADA) 0,506594 5,41%
tether
Tether (USDT) 0,987168 0,30%
xrp
XRP (XRP) 0,363821 3,70%
solana
Solana (SOL) 40,38 4,83%
polkadot
Polkadot (DOT) 8,77 4,37%
usd-coin
USD Coin (USDC) 0,982485 0,15%
dogecoin
Dogecoin (DOGE) 0,068719 2,53%
uniswap
Uniswap (UNI) 8,16 9,31%
litecoin
Litecoin (LTC) 58,62 6,61%
chainlink
Chainlink (LINK) 8,34 1,95%
bitcoin-cash
Bitcoin Cash (BCH) 134,01 7,34%
algorand
Algorand (ALGO) 0,344851 6,46%
matic-network
Polygon (MATIC) 0,880871 5,30%
stellar
Stellar (XLM) 0,120692 7,43%
cosmos
Cosmos Hub (ATOM) 11,18 5,15%
filecoin
Filecoin (FIL) 8,08 10,50%
tron
TRON (TRX) 0,068126 2,37%
ethereum-classic
Ethereum Classic (ETC) 36,03 5,57%
dai
Dai (DAI) 0,991101 0,75%
tezos
Tezos (XTZ) 1,79 5,73%
monero
Monero (XMR) 156,64 4,90%