folaht
July 12, 2022, 9:30pm
1
The config file is gone and replaced by some kind of unreadable public key.
How do I know if all the address are added in it?
When I create a first node now, the network name automatically becomes the name of the random key.
Is there a way to use sn_node to set the network name?
2 Likes
I expect the documentation will shortly catch up with the code. Lets give it a week or two and see if this new arrangement remains stable.
3 Likes
Josh
July 13, 2022, 12:18am
3
You can use networks add
to name your network in the same way as we did with the config.
safe networks add folaht [path to your prefix-map]
If thats what you are after?
2 Likes
folaht
July 13, 2022, 8:01am
4
I like things clean. How do I delete the PublicKey network?
[folaht@pjehrsohmehj .safe]$ safe networks
+----------+-----------------------+--------------------------------------------------------+
| Networks | | |
|----------+-----------------------+--------------------------------------------------------|
| Current | Network name | Network map info |
|----------+-----------------------+--------------------------------------------------------|
| * | PublicKey(0e59..3a7d) | Local: "/home/folaht/.safe/prefix_maps/klik_sjefolaht" |
|----------+-----------------------+--------------------------------------------------------|
| * | tata | Local: "/home/folaht/.safe/prefix_maps/klik_sjefolaht" |
+----------+-----------------------+--------------------------------------------------------+
[update]
I’ve got it.
mv ~/.safe/prefix_maps/$(ls ~/.safe/prefix_maps -Art | tail -1) ~/.safe/prefix_maps/my_networkname.pub
rm ~/.safe/cli/config.json
(curl keyfile to ufile.io)
safe networks add my_networkname https://ufule.io/path/to/file
7 Likes
OR
safe networks remove PublicKey(0e59..3a7d)
should work as well. May need to cutnpaste the whole PublicKey string though…
2 Likes
system
Closed
September 10, 2022, 9:31pm
6
This topic was automatically closed after 60 days. New replies are no longer allowed.