I have launched a new community network with vaults from home. It is based on the code of last week Maidsafe IGD test and has the same limitations: no browsing yet, only one section, no possibility to become an elder and a vault can only store new created chunks.
To try to avoid the same fate, I have deactivated free balance creation. User wanting to add data to the network must ask @Traktion or @neo for a safe key containing 0.000002 coins. Once again, they have kindly accepted to manage the keys.
Only forum level 2 members can apply for a such key. This process is very similar to the invites system used in first community network.
The value seems small but in fact it allows 2000 put operations which means potentially 2GB data upload. In comparison this is twice the put balance allowed in Alpha 2 and first community networks.
When a user is given such a key he can create an account paid by the key and log to this account with following commands:
./safe-authd start
./safe auth create-acc --sk <given key>
./safe auth login --self-auth
Users wanting to read data donāt need to create an account. Same for user wanting to provide a vault.
The vault and the cli are provided in both source code and binary form. Binaries have been generated for the following targets:
Is participating in the community network and the Baby Fleming tests mutually exclusive, or could the same machine run your vault/CLI and also participate in BF?
It works!!! well kindaā¦ I had to try various of the supplied IP addresses until this error went away
willie@gagarin:~/projects/maidsafe/VfH-tfa$ ./safe auth create-acc --sk cdb5ba4413aseceret-bits-go-here22923394c2c11
Passphrase:
Password:
Sending account creation request to authdā¦
[2020-06-15T21:32:47Z ERROR safe] safe-cli error: [Error] AuthdClientError - Failed to establish connection with authd: [Error] ClientError - Failed to establish connection with remote QUIC endpoint: timed out
But when i edited the config file to use 135.181.26.49 I got inā¦
willie@gagarin:~/projects/maidsafe/VfH-tfa$ ./safe auth create-acc --sk cdb5ba4413a8c93dd3e646efcb2ahemm4444444444476477222923394c2c11
Passphrase:
Password:
Sending account creation request to authd...
Account was created successfully!
willie@gagarin:~/projects/maidsafe/VfH-tfa$ ./safe auth login --self-auth
Passphrase:
Password:
Sending login action request to authd...
Logged in successfully
Authorising CLI application...
Awaiting for authorising response from authd...
SAFE CLI app was successfully authorised
Credentials were stored in /home/willie/.local/share/safe-cli/credentials
This does not return to the prompt - I had to open a new terminal and continue thereā¦
I had created a new network name before I tried to logon
Yes, this happens to me too. I just do ctrl-c because everything is done at this point (the CLI is authorized and the credentials are stored in a config file).
I tried start a vault but since I wasnāt able to change my router I am still getting the error message regarding IGD.
I havenāt learned how to put data as a client yet from the CLI but that is my next mission.
One issue I have this go around and with the shared section testnet was when I was trying to create an account it just says that is sending a request to authd (I think, itās not right in front of me at the moment) and it doesnāt advance past that point so I never get a response on whether the account was created or not. Not sure if anyone else experiences this or if anyone has any tips. -n00b to CLI on a Mac.
I will gladly add a vault ! I can only make it from a public IP, though, so it may not be that interesting with regard to testing IGD ( Iām on a capped 4G internet plan at home )
I need to figure out how to make the community network live ( or not ) on the same machine as the maidsafe one. @tfa If I understand good, you created a modified auth , which does not allow balance creation ( thus the key ) .
So I suppose I should first uninstall the maidsafe official cli, auth and vault, then install from the links you provided ?
Is the community vault code different than the maidsafe one ?
Hereās how I did it on linux. Mac will be very similar, if you are on Windows, then you might get a few hintsā¦
Yes - slightly
No need to uninstall - hopefully we will all be updating that code sooner rather than later. I made a sub-dir in my ~/projects/maidsafe folder willie@gagarin:~/projects/maidsafe$ mkdir VfH-tfa
then I saved and extracted both files from @tfa 's github to that folder
I added a new network - call it anything you like - I chose VfH-tfa Vaults from Home - tfa safe networks add VfH-tfa ~/.config/safe_vault/vault_connection_info.config
then I edited ~/.config/safe_vault/vault_connection_info.config to contain just one line
ā135.181.26.49:5483ā
@tfa gives a number of IP addresses you can try. I had no success with the first couple I tried but the one above Works For Me. Whichever IP address you use, (and we should all try NOT to use the same one) must specify port 5483.
then run ./safe networks ā make sure you are in your new directory and you put ā./ā in front of the safe command to ensure you are using the local version of safe and safe-authd you just downloaded.
Your output should include
Thanks @Southside for your comprehensive procedure.
Yes, safe-vault and safe-api are slightly different and were made incompatible with those from Maidsafe (the main differences are mentioned in the OP).
OK Iām up and running. Not sure my vaults are though, output is stuck on INFO 2020-06-16T22:02:06.745344719+01:00 [/cargo/git/checkouts/quic-p2p-2ed24583cc4479e8/1f47bb8/src/lib.rs:292] Could not send the IGD response: sending on a disconnected channel - "SendError(..)"
and I canāt find the vaults in any of the usual places. Where should they be on Linux?
Edit: in /tmp/ yes?