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 718 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,731873 3,89%
aave
Aave (AAVE) 77,70 6,94%
the-graph
The Graph (GRT) 0,274639 3,71%
kusama
Kusama (KSM) 26,74 5,09%
waves
Waves (WAVES) 2,15 3,93%
dash
Dash (DASH) 27,00 2,90%
bitcoin
Bitcoin (BTC) 56.433,88 3,19%
ethereum
Ethereum (ETH) 2.705,29 3,94%
cardano
Cardano (ADA) 0,414575 3,79%
tether
Tether (USDT) 0,927350 0,02%
xrp
XRP (XRP) 0,466941 2,78%
solana
Solana (SOL) 135,38 4,99%
polkadot
Polkadot (DOT) 6,26 4,64%
usd-coin
USDC (USDC) 0,927186 0,02%
dogecoin
Dogecoin (DOGE) 0,134102 4,16%
uniswap
Uniswap (UNI) 6,62 4,93%
terra-luna
Terra Luna Classic (LUNC) 0,000096 4,44%
litecoin
Litecoin (LTC) 74,82 3,24%
chainlink
Chainlink (LINK) 12,65 4,58%
bitcoin-cash
Bitcoin Cash (BCH) 398,00 4,99%
algorand
Algorand (ALGO) 0,169939 5,44%
matic-network
Polygon (MATIC) 0,631283 2,11%
stellar
Stellar (XLM) 0,098585 2,19%
cosmos
Cosmos Hub (ATOM) 8,06 4,83%
filecoin
Filecoin (FIL) 5,24 4,75%
tron
TRON (TRX) 0,117614 0,63%
ethereum-classic
Ethereum Classic (ETC) 24,70 3,81%
dai
Dai (DAI) 0,927237 0,02%
tezos
Tezos (XTZ) 0,843535 4,06%
monero
Monero (XMR) 122,55 0,20%