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 714 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) 1,02 2,96%
aave
Aave (AAVE) 116,41 0,15%
the-graph
The Graph (GRT) 0,371495 3,91%
kusama
Kusama (KSM) 44,50 0,86%
waves
Waves (WAVES) 3,52 4,60%
dash
Dash (DASH) 35,47 1,49%
bitcoin
Bitcoin (BTC) 64.678,09 1,01%
ethereum
Ethereum (ETH) 3.269,88 1,17%
cardano
Cardano (ADA) 0,592104 1,59%
tether
Tether (USDT) 0,924805 0,00%
xrp
XRP (XRP) 0,567204 1,64%
solana
Solana (SOL) 171,34 1,33%
polkadot
Polkadot (DOT) 8,72 1,95%
usd-coin
USDC (USDC) 0,925730 0,01%
dogecoin
Dogecoin (DOGE) 0,196122 5,71%
uniswap
Uniswap (UNI) 11,65 0,91%
terra-luna
Terra Luna Classic (LUNC) 0,000142 1,11%
litecoin
Litecoin (LTC) 86,85 2,10%
chainlink
Chainlink (LINK) 17,44 3,28%
bitcoin-cash
Bitcoin Cash (BCH) 532,92 2,83%
algorand
Algorand (ALGO) 0,251171 0,27%
matic-network
Polygon (MATIC) 0,914956 3,23%
stellar
Stellar (XLM) 0,129690 2,57%
cosmos
Cosmos Hub (ATOM) 11,24 3,39%
filecoin
Filecoin (FIL) 8,66 1,82%
tron
TRON (TRX) 0,110823 0,19%
ethereum-classic
Ethereum Classic (ETC) 29,61 0,95%
dai
Dai (DAI) 0,925730 0,26%
tezos
Tezos (XTZ) 1,31 1,19%
monero
Monero (XMR) 125,56 1,66%