How to create a robot to automatize transactions. (Feb/12)

Hello all!

Here is a tutorial for those who have no time to be sending NEM for everyone.

He explains how to create a script to automatically sending to a list of random address.

Already, the credits are the parana user, who explained how does this [url=https://forum.ournem.com/beta-launch-discussion/nem-beta-0-4-17/msg8449/#msg8449]link, and the Jaguar, which is the author of the script.

If not want to continue the following programs on your PC, just create a restore point before installing them or uninstall them manually when the testnet end.

First you need to download the program here Python, version 2.7: [url=https://www.python.org/downloads/]https://www.python.org/downloads/

Once installed, download this script and run it with python: [url=https://bootstrap.pypa.io/ez_setup.py]https://bootstrap.pypa.io/ez_setup.py
It is to download and install the easy_install tools automatically, just run.

Open the comand prompt or terminal and type (or copy&paste) the commands following:

Windows:
cd C:\Python27\Scripts

Linux:
cd /usr/local/lib/python2.7
easy_install requests

After all that you should be able to run the script bot.

Simply download here (Client 0.5.x) : https://drive.bitcasa.com/send/pumm4NEn9TM2_sY6cJc2C13qh86ML6qHm42eIdeiUfHx

*The addresses were caught [url=https://forum.ournem.com/beta-launch-discussion/post-your-nem-0-5-4-beta-address-here-to-receive-test-xem/]this topic before page 6

Use [url=http://portableapps.com/apps/development/notepadpp_portable]Notepad ++ to edit the lines of the credentials of the wallet account. (line 166 to 168)
Change the language of notepad ++ to python, for better organization.

If you want to edit other things, like as message(line 172), use instructions found in the code.

Default parameters what I put:

10-70 NEMs / transaction
Minimun fee
8 seconds between transactions (this time ensures that your transactions are confirmed, you can increase to not get congested network and your transactions are confirmed, the maximum processing is 120 transactions per block.)

Now, just run the script.py with a double click and the cmd/terminal Appears the follow:


*If returns 400, credentials are invalid or not have nem anymore

Anything answer below …

Cheers!