Skip to content

supamongkonR/blockchain-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blockchain-network

private-blockchin

How to use

create subnetwork

docker network create --driver bridge testNet

Check ip

docker inspect testNet         

Change network ip in docker-compose in each node directory besu/node1, tessera/node1/config to new subnetwork ip by sequently

networks:
      testNet:
        ipv4_address: 172.24.0.10

And add new subnetwork in docker-compose with new subnetwork ip

networks:
  testNet:
    ipam:
      config:
        - subnet: 172.24.0.0/16

Delete subnet

docker network prune

Start network

docker-compose up -d 

Stop network

docker-compose stop

About

private-blockchin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published