hyperledger-archives / indy-sdk

indy-sdk
https://wiki.hyperledger.org/display/indy
Apache License 2.0
669 stars 735 forks source link

How to build a production network? #2454

Closed Ning-Qing closed 2 years ago

Ning-Qing commented 2 years ago

Create a pool in container A with only one node in the pool

generate_indy_pool_transactions --nodes=1 --clients=5 --nodeNum=1 start_indy_node Node1 0.0.0.0 9701 0.0.0.0 9702

Create a node in container B

init_indy_node Node2 0.0.0.0 9701 0.0.0.0 9702 start_indy_node Node2 0.0.0.0 9701 0.0.0.0 9702

Use indy-cli in container A and use Steward to add nodes

ledger node target=HJsE33JARsLFriCfw6etAkjrHgXwkDZD8d3mucoUWoBZ client_port=9704 client_ip=172.22.93.139 alias=Node2 node_ip=172.22.93.139 node_port=9703 services=VALIDATOR blskey=3riyWmVNFTEmuHEWHjoaGzGFV5c32dsuJBRpjJqtjYwjKWqe1GfdWSQXMSP45phkojF4dCqiaTpPtbmQfyKF7a4m2NXJnuVmoq9AvGcp44gnzyY4GFwi24A2pFKxnCxxzB2CZJu9X8RDVtu4wqSv3Ys8ZTVyHyFtK1jWELemLJkCJFy blskey_pop=RXkfiJQ3Vsyxi6nZysDJ2eTmwx6NcEX8SCLWLhF95f8vwescyEGppKAXrPUFRNbGLiYpdW1mxQEmVVxiNNv2jCAkvbntNsdgt83h1FGTDnVdQSsUcqMCkrYhDkFixJ1eC6w74ncu9fLUwwRvGDw8YF1ZQx9JLGkvmwXi5v81B3D7nw docker inet is 172.22.86.104,Ports 9701 and 9702 of container B are mapped to 9703 and 9704

Failed to add node

Transaction response has not been received

So how to create a pool where nodes can be added

WadeBarnes commented 2 years ago

This question should be asked over here; https://github.com/hyperledger/indy-node/issues

Regardless, here are some resources:

If you are using the network for development and testing I'd recommend using:

If you're intent on building the network from scratch there are these resources:

Ning-Qing commented 2 years ago

thanks

WadeBarnes commented 2 years ago

https://github.com/hyperledger/indy-node/blob/master/docs/source/NewNetwork/NewNetwork.md