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 568 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,97 1,70%
aave
Aave (AAVE) 126,14 0,72%
the-graph
The Graph (GRT) 0,360755 4,62%
kusama
Kusama (KSM) 146,47 4,07%
waves
Waves (WAVES) 8,53 1,25%
dash
Dash (DASH) 81,85 2,72%
bitcoin
Bitcoin (BTC) 32.492,94 1,61%
ethereum
Ethereum (ETH) 2.124,99 0,26%
cardano
Cardano (ADA) 0,912101 1,27%
tether
Tether (USDT) 0,885535 0,34%
xrp
XRP (XRP) 0,530480 0,54%
solana
Solana (SOL) 79,45 1,03%
polkadot
Polkadot (DOT) 15,82 1,96%
usd-coin
USD Coin (USDC) 0,885535 0,52%
dogecoin
Dogecoin (DOGE) 0,123585 0,66%
uniswap
Uniswap (UNI) 8,98 1,49%
terra-luna
Terra (LUNA) 46,23 10,42%
litecoin
Litecoin (LTC) 94,01 0,16%
chainlink
Chainlink (LINK) 13,31 1,50%
bitcoin-cash
Bitcoin Cash (BCH) 253,06 0,19%
algorand
Algorand (ALGO) 0,831325 4,71%
matic-network
Polygon (MATIC) 1,43 5,56%
stellar
Stellar (XLM) 0,169583 1,10%
cosmos
Cosmos (ATOM) 25,65 5,79%
filecoin
Filecoin (FIL) 16,72 2,27%
tron
TRON (TRX) 0,049986 1,69%
ethereum-classic
Ethereum Classic (ETC) 21,63 3,01%
dai
Dai (DAI) 0,885535 0,46%
tezos
Tezos (XTZ) 2,57 1,19%
monero
Monero (XMR) 126,24 0,01%