Can I play around with a safe network testnet?

Is there a live testnet which I can play around with?

2 Likes

You can play with a local one right now - Im putting together a quick screencast on how to run a Baby Fleming on your own box at home

EDIT : This will be for Linux - but very similar for Windows

4 Likes

The next one should be out this week. Maybe today or tomorrow depending on where you are located

2 Likes

This screencast will show me installing the safe cli , starting a local network and storing and retreiving a small directory

Peek 2021-05-04 00-50

Peek 2021-05-04 00-53

I need to play about with peek - Might try reducing the framerate -its only textā€¦

WORK IN PROGRESS

20 Likes

I need to re do this in short chunks . 4Mb is my max upload for the forum

youtube /vimeo and a link?

4 Likes

sorry busy with other stuff. Ill get on to it in an hour or so and redo it without typos

5 Likes

Now with sound!!!

After failing to upload to Giphy, here is the raw output of peek from last night. If I get time Iā€™ll redo this and hopefully be a bit smoother. An audio description would help.
This proves mostly that I have a LOT to learn about screencasting
Itā€™s probably best to regard this as me practising in public to get semi-competent for the release of T5

The commands used were:

ps aux |grep safe
clear
rm -rf ~/.safe
ps aux |grep safe
curl -so- https://sn-api.s3.amazonaws.com/install.sh | bash
safe -V
safe node install
safe auth install
safe node run-baby-fleming

safe auth start
safe auth create --test-coins
safe auth unlock --self-auth
safe auth status
10 Likes

@dirvine @StephenC Will we need safe auth install for T5? I see authd got updatedā€¦ I was under the impression that removing the need for authd was just a temporary simplification to get more engagement on the early testnets?

Super stuff Willie. In case you arenā€™t aware you can monitor all nodes in one command using vdash, and then move the display to show each one using back/forward arrows:

vdash ~/.safe/node/baby-fleming-nodes/sn-node-*/sn_node.log

2 Likes

Yes I had meant to ask you about that - That will be much ā€œcleanerā€ when I redo this properly

Thank you

1 Like

No, unless you want advanced uses like creating GUI etc

4 Likes

Quick note to anyone dabbling in testnets, baby-fleming etc

As well as clearing out existing files with rm -rf ~/.safe its a VERY good idea to check what safe processes you might have running from previous attempts

ps aux|grep safe
should show only the ps process itself - yes there is a way to do this so that doesnt show but its too complicate for me to remember - as long as you only see one line, you are fine. Likewise for sn_node and sn_authd (if applicable)

pkill -e safe
pkill -e sn_node
pkill sn_authd

followed by rm -rf ~/.safe should give you a clean environment to get started.

EDIT: Thanks to @Sascha and @JPL for spotting typos**.**

3 Likes

Missing a space after the rm?

3 Likes

Well spotted

1 Like

mine is stalling at ā€˜safe auth startā€™ any tips?

1 Like

The typo is still there. Please fix it. Iā€™m afraid it might confuse new users.

2 Likes

Whoops sorry - I only fixed the one at the bottom of the post

1 Like

That sentence needs a periodā€¦ :smirk:

2 Likes

In another terminal type
tail -f ~/.safe/authd/logs/sn_authd.log
and try again from the start in the original terminal - remember to

pkill -e safe
pkill -e sn_node
pkill sn_authd  
rm -rf ~/.safe

to ensure you have a clean environment, Paste the output from the sn_authd.log if you still have a problem.

2 Likes