271
General Discussion / Re: Test Net for Advanced Users
« on: September 04, 2015, 02:27:01 pm »The brave among you can try to interface with the cli_wallet with
https://github.com/xeroc/python-graphenelib
and run the examples/flood.py script.
you have to run the cli_wallet(!!!) with
-H 127.0.0.1:8092
and unlock your wallet.
Again: Do not try to interface with the witness_node, but instead use the cli_wallet and make sure to have it unlocked!!
How to install xeroc's flooding script
Open screen
Code: [Select]
screen
Run cli wallet with -H 127.0.0.1:8092
Code: [Select]
./cli_wallet -w test_wallet --chain-id ecbde738ba0b319cb4d266e613b200d010da8b37313c20aec03f9c8e2d9b35e3 -H 127.0.0.1:8092
unlock your wallet
Detach screen
Code: [Select]
Ctr A Ctr D
Install python dependencies
Code: [Select]
sudo apt-get install python3-setuptools
sudo easy_install3 pip
sudo pip3 install autobahn
sudo pip3 install requests
Clone and build python graphene api
Code: [Select]
cd ~
git clone https://github.com/xeroc/python-graphenelib.git
cd python*
python3 setup.py install --user
Edit the flood script to configure your user
Code: [Select]
cd examples
nano flood.py
edit client.transfer("putyouruserhere
exit save
Run the flood script
Code: [Select]
python3 flood.py