Hello guys!
I would like to create multiple instance of ipfs. I have a scenario where I need to create multiple ipfs on the same machine.
It could be easy if Im running on linux where I can do the following:
1- creating new node with new path. and executing the 2nd ipfs by this command:
IPFS_PATH=~/.ipfs2 ipfs init
2-Change Address Configs
"Addresses": {
"Addresses": {
"API": "/ip4/127.0.0.1/tcp/5002",
"Gateway": "/ip4/127.0.0.1/tcp/8081",
"Swarm": [
"/ip4/0.0.0.0/tcp/4002",
"/ip6/::/tcp/4002"
]
}
but in windows it seems different for me. I could manage creating a path automatically by exeucing set command in cmd but I always got the same error when I try to re-execute ipfs init .
how can I point to the new command ipfs init to the second node, third node and so on?? another thing, how can I execute different daemons...
I am sure it would be a trick for that but cant get it
appreciate your help guys in advance.
Regards.