AIONostr: Difference between revisions

From Traxel Wiki
Jump to navigation Jump to search
Line 11: Line 11:
python3 -m venv bobenv
python3 -m venv bobenv
source ./bobenv/bin/activate
source ./bobenv/bin/activate
</pre>
Make a tunnel
<pre>
ssh -L 7777:127.0.0.1:7777 admin@52.11.172.130 -N
</pre>
Test success:
<pre>
$ python bob_test.py send -r ws://localhost:7777 --content "hello" --kind 1 --private-key nsec1dgg7d6e0g2484twl9ygntc24ueehm44frrc8rc93vcvun04gmp9qgufd4g
2d88da29787d5d2a9553a645dc65a976bc7022bca36ba004fbbb0862cd0ccfd7
nevent1qqszmzx699u86hf2j4f6v3wuvk5hd0rsy272x6aqqnamkzrze5xvl4cpzdmhxw309akx7cmpd35x7um58gmnwdehvc5hs3
</pre>
</pre>

Revision as of 21:55, 9 October 2023

Links

Install

Installing on a node that is already running Strfry, so basic system setup is done.

sudo apt install python3-venv
pip3 install virtualenv
git clone https://github.com/davestgermain/aionostr
cd aionostr
python3 -m venv bobenv
source ./bobenv/bin/activate

Make a tunnel

ssh -L 7777:127.0.0.1:7777 admin@52.11.172.130 -N

Test success:

$ python bob_test.py send -r ws://localhost:7777 --content "hello" --kind 1 --private-key nsec1dgg7d6e0g2484twl9ygntc24ueehm44frrc8rc93vcvun04gmp9qgufd4g
2d88da29787d5d2a9553a645dc65a976bc7022bca36ba004fbbb0862cd0ccfd7
nevent1qqszmzx699u86hf2j4f6v3wuvk5hd0rsy272x6aqqnamkzrze5xvl4cpzdmhxw309akx7cmpd35x7um58gmnwdehvc5hs3