As far as I can tell nothing to do with the URL or address of the original faucet.
./faucet claim-genesis
./faucet server &
./safe wallet get-faucet 127.0.0.1:8000
That allowed me to obtain coins, though now I am curious if its actually going to allow me to spend it on the network when uploading… looks like the chunking took place… currently uploading 60 out of 9411 chunks for ubuntu.iso.
Update:
Interesting, it didn’t charge me for the 2 extra chunks:
"ubuntu.iso" 80d88c666263718d9ee271acdf38710065d4cc235837eed7fa7314f0a53d8080
Among 9411 chunks, found 9409 already existed in network, uploaded the leftover 2 chunks in 35 minutes 46 seconds
**************************************
* Payment Details *
**************************************
Made payment of 0.000000000 for 2 chunks
Made payment of 0.000000000 for royalties fees
New wallet balance: 200.000000000
Attempted a new random 10 mb file:
safe-node-142:# ./safe files upload .../32bc7c49-a40d-4a2c-bbb8-3a773b33d00a.txt
Logging to directory: "/.../.local/share/safe/client/logs/log_2024-02-24_18-31-54"
Built with git version: 07afae78 / HEAD / 07afae78
Instantiating a SAFE client...
Connecting to the network with 1 peers
⠄ Connecting to The SAFE Network... Metrics server on http://0.0.0.0:36475/metrics
🔗 Connected to the Network Starting to chunk ".../32bc7c49-a40d-4a2c-bbb8-3a773b33d00a.txt" now.
Chunking 1 files...
Uploading 20 chunks
**************************************
* Uploaded Files *
* *
* These are not public by default. *
* Reupload with `-p` option *
* to publish the datamaps. *
**************************************
"32bc7c49-a40d-4a2c-bbb8-3a773b33d00a.txt" 3f0289b641184dc1957a9247d3db938e2227dc4b235b220e0fb84f206a0d18c7
Among 20 chunks, found 0 already existed in network, uploaded the leftover 20 chunks in 2 minutes 17 seconds
**************************************
* Payment Details *
**************************************
Made payment of 0.000049976 for 20 chunks
Made payment of 0.000008810 for royalties fees
New wallet balance: 199.999941214
Is this some sort of double spend here or whatever may be the term? Assuming I am not even suppose to have some of the genesis coin supply in a local faucet wallet and then being able to transfer it to my own local wallet and then being able to spend it against the network?
Seems I was also able to retrieve the uploaded 10MB file successfully:
safe-node-142:# ./safe files download dummy.txt 3f0289b641184dc1957a9247d3db938e2227dc4b235b220e0fb84f206a0d18c7
Logging to directory: "/.../.local/share/safe/client/logs/log_2024-02-24_18-54-38"
Built with git version: 07afae78 / HEAD / 07afae78
Instantiating a SAFE client...
Connecting to the network with 1 peers
⠄ Connecting to The SAFE Network...
Metrics server on http://0.0.0.0:35841/metrics
🔗 Connected to the Network
Downloading "dummy.txt" from 3f0289b641184dc1957a9247d3db938e2227dc4b235b220e0fb84f206a0d18c7 with batch-size 16
Saved "dummy.txt" at /.../.local/share/safe/client/dummy.txt
safe-node-142:# cat /.../.local/share/safe/client/dummy.txt | md5sum
5ead157b00a705094a9df4ae71b44bae -
safe-node-142:# cat /.../32bc7c49-a40d-4a2c-bbb8-3a773b33d00a.txt | md5sum
5ead157b00a705094a9df4ae71b44bae -
Further Updates:
Ran the safe wallet audit
command and it threw out the following errors:
safe-node-142:# ./safe wallet audit
Logging to directory: "/.../.local/share/safe/client/logs/log_2024-02-24_18-45-53"
Built with git version: 07afae78 / HEAD / 07afae78
Instantiating a SAFE client...
Connecting to the network with 1 peers
⠄ Connecting to The SAFE Network...
Metrics server on http://0.0.0.0:35399/metrics
🔗 Connected to the Network
Auditing the Currency, note that this might take a very long time...
Error:
0: Failed to verify transfer validity in the network Failed to verify transfer validity in the network failed to get spend at SpendAddress(153cdd): GetRecordError(SplitRecord { result_map_count: 2 })
Location:
sn_cli/src/subcommands/wallet/audit.rs:47