I come from an Ops and integrator perspective. While I try to “play a programmer on TV”, I have a long way to be able to say I am so.
So I was trying to set up a 3 computer SafeNet. The CLI seemed to be my entry point, at least with that, I could do some basic functions is the view I had.
I was using basic VMs running windows 10 on Azure. I tried to use the install.sh script found at sn_api/README.md at master · maidsafe/sn_api · GitHub
After some trial, error and research, I ended up needing to have the c++ dev tools installed to get the sn_ binaries to run. Seems a bit odd as I thought rust binaries could run without help, so I think this should be addressed in the binary publish step to include what is needed to run.
So following the CLI readme, I was able to get safe -V to run. Yay.
safe node install I get the install message ok and then safe node run-baby-fleming
and it’s 10 nodes are running.
I keep following the readme and add the test next and then
ivan@safe3 MINGW64 ~
$ safe networks check
Checking current setup network connection information…
Well, this is embarrassing.
sn_cli had a problem and crashed. To help us diagnose the problem you can send us a crash report.
So my point is that this is all still very confusing to me.
I have apps that I am overseeing being developed that are not currently FOR SafeNet, but would be really awesome to use SafeNet in particular for data storage.
I work in F# on dotnet. Say what you will, but dotnet is a huge ecosystem and supporting it will be extremely helpful in developers adopting SafeNet.
I am referencing this page a lot
I actually just found this Inter repository dependencies
So that still leaves me with questions.
I am willing to spend resources for this to be an easy process for me and others, but I want to spend wisely in that I do not want to work on something that is already being addressed.
Upon standard deployment, will a particular machine have 1 node or multiple nodes? I think it is 1 and the install.sh script is starting 10 so there is a local net.
Want I want is to have an installer that allows me to start it and it handles everything needed. I then want to be able to do configuration to chose to install a node or the number of nodes.
I want to be able to connect multiple machines to one SafeNet and have that be a simple process.
So that leads me to my next question of what is the minimum setup needed to have a node on one machine connect to another? What is the underlying routing needed in order for SafeNet to work? Meaning, two computers with IP4 in the same network mask connected through a switch. i.e. 184.108.40.206 and 220.127.116.11. TCP? Or even IP6.
But then when we get to one network through routers to another network (like on the current internet) what is needed to connect and run on the internet side in order for SafeNet to operate?
So once I understand how to make my own testnet then I need to figure out how my F# or dotnet app then accesses the SafeNet to say store it’s files.
The ffi seems to be the one option but that seems like it is old so now I see sn_csharp but I am still confused on where to access that.
So am I just confused at this in trying to get setup and how to do things. If I am able to lay this out and such, I am happy to publish posts or a blog or even update GitHub readme if I can create a clear picture.