Hyperledger Indy Network Setup | Add New Nodes to the Network with Docker | Hands-on Tutorial
Автор: Akshay Kurhekar
Загружено: 2025-02-22
Просмотров: 401
Описание:
This video provides a hands-on tutorial for scaling a Hyperledger Indy network from four nodes to seven nodes using Docker (0:07-0:13). The presenter, Akshay Kurhekar, explains the importance of adding more nodes for fault tolerance based on the 3F+1 consensus formula (1:23).
Here's a breakdown of the key steps involved:
Understanding Fault Tolerance (1:23-3:46): The video explains how the 3F+1 formula determines the minimum number of nodes required for a desired fault tolerance capacity. For instance, four nodes allow for one faulty node, while seven nodes allow for two faulty nodes (2:34).
Scaling Plan Overview (3:42-4:08): The plan involves expanding the network from four to seven nodes using Ubuntu 20.04, Node.js, Docker, and Docker Compose.
Repository and File Overview (4:21-4:56): The presenter introduces the repository containing documentation, CLI tools, and troubleshooting guides, with a focus on the "add new nodes" section.
Configuration Steps (4:56-16:25): The tutorial goes through detailed steps, including:
Getting the Docker host IP and documenting it (5:01).
Setting up the .env file with seven node IPs (6:49).
Updating the generate_transactions script (8:26).
Updating the start nodes script to handle nodes 5, 6, and 7 (10:00).
Adding new node configuration sections (11:22).
Making Docker Compose changes for nodes 5-7 (12:34).
Updating the manage file to enable start and sync commands for new nodes (15:14).
Rebuild and Verification (16:40-22:26): The video demonstrates how to rebuild and restart the network, followed by verifying the build success, container startup, and consensus through logs and docker ps commands. It also shows how to inspect the ledger to confirm sync and domain transactions.
Transaction Verification (22:26-24:15): The tutorial concludes by demonstrating how to write a simple transaction (creating and registering a DID) to test the ledger, confirming its visibility.
The video also touches on future work, such as writing schemas, credential definitions, and using Indy SDK or agent frameworks (24:25).
❤️❤️ Community Group📑❤️❤️
Join a group: https://t.me/+TA5t-NO3K2g1ZTM1
00:00 – Introduction
Who I am, what this video is about (scaling Hyperledger Indy network from 4 nodes to 7 nodes).
00:36 – Channel Intro & Engagement
Like, Share, Subscribe reminder and quick overview of today’s topic.
01:23 – Why Add More Nodes? (Fault Tolerance)
Explaining consensus, fault tolerance, and the 3F+1 formula for minimum nodes.
02:34 – Understanding Node Capacity
How 4 nodes allow 1 faulty node, and why 7 nodes allow 2 faulty nodes.
03:42 – Scaling Plan
Expanding from 4 nodes to 7 nodes using Ubuntu 20.04, Node.js, Docker & Docker Compose.
04:21 – Repository Overview
Docs, CLI tools, troubleshooting, and today’s focus: adding new nodes.
05:01 – Step 1: Get Docker Host IP
Finding Docker host IP, documenting steps in setup-steps.md.
06:49 – Step 2: ENV File Setup
Creating .env file with 7 node IPs.
08:26 – Step 3: Update Transaction Script
Editing generate_transactions file for 7 nodes.
10:00 – Step 4: Update Start Nodes Script
Expanding script to handle nodes 5, 6, 7.
11:22 – Step 5: Add Node Sections
Defining new node configs (working dir, logs, ports).
12:34 – Step 6: Docker Compose Changes
Adding ports and service definitions for nodes 5–7.
15:14 – Step 7: Manage File Updates
Enabling start & sync commands for new nodes.
16:40 – Step 8: Rebuild & Restart
Removing old images, rebuilding containers, and restarting the network.
17:27 – Step 9: Check Logs
Verifying build success, container startup, and consensus logs.
19:13 – Step 10: Verify Containers
Checking running containers (docker ps), confirming 7 nodes + web server.
20:49 – Step 11: Ledger Verification
Inspecting logs, confirming ledger sync and domain transactions.
22:26 – Step 12: Write Transactions
Creating and registering a DID to test the ledger.
23:56 – Demo: DID Registered Successfully
Confirming DID is visible on the ledger.
24:25 – Wrap-Up & Future Work
Writing schemas, credential definitions, using Indy SDK or agent frameworks.
Playlists ❤️🔔:
• Top Blockchain Technology Projects Ideas 💡
• Solidity Programming ❤️ | Detailed Course ...
• Cryptography in Blockchain
• Blockchain Basics in Hindi
• Плейлист
❤️🚀 Social Handle❤️🌐
You can Follow me on:
IinkedIn : / akshay-kurhekar-64438a168
Instagram: / akshay_kurhekar
Dev Community: https://dev.to/akshaykurhekar
So, what are you waiting for? Hit the subscribe 🔔 button, share 🔊 this video with your friends, and don't forget to smash that like 👍 button.
I'll see you in the next video. Until then, ❤️JAI HIND! ❤️
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: