Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Did anyone have a script coded for..  (Read 265 times)

0 Members and 1 Guest are viewing this topic.

Online Shentist

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 1605
    • View Profile
    • metaexchange
  • BTS: shentist
Did anyone have a script coded for..
« on: May 13, 2015, 06:32:57 AM »

i am looking for a script to automated transfer x assets to x accounts with x memo

something to get via a .txt file would be good. Did someone has something like this?

so in the .txt will be something like "shentist;100 BTS; welcome" and this for x accounts.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12275
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Did anyone have a script coded for..
« Reply #1 on: May 13, 2015, 06:40:45 AM »
i am looking for a script to automated transfer x assets to x accounts with x memo

something to get via a .txt file would be good. Did someone has something like this?

so in the .txt will be something like "shentist;100 BTS; welcome" and this for x accounts.
This is similar to what my sharedrop script is doing. Though my sharedrop script is CONSTRUCTING a transaction that withdraws X amount of an asset and distributes X/N amount ot N newly generated addresses. However, it DOES NOT support memo at the current stage, yet!

https://github.com/xeroc/bitshares-pytools/blob/master/sharedrop/sharedrop.py
The required python package python-bitsharestools
https://github.com/xeroc/python-bitsharestools
does the construction and signing of the transaction
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline jamesc

Re: Did anyone have a script coded for..
« Reply #2 on: May 19, 2015, 01:44:44 AM »
i am looking for a script to automated transfer x assets to x accounts with x memo

something to get via a .txt file would be good. Did someone has something like this?

so in the .txt will be something like "shentist;100 BTS; welcome" and this for x accounts.
Check - - help. There's a command line option to read commands from a file.   I've never used it so I have no idea if it will work or not. It may be possible to open the wallet and make transfers from a text file.

Online Shentist

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 1605
    • View Profile
    • metaexchange
  • BTS: shentist
Re: Did anyone have a script coded for..
« Reply #3 on: May 19, 2015, 08:57:57 PM »
thanks both

i tried jcalfees suggestion (because i can*t code myself)

i found

"execute script "

in the wallet. so i created a *.txt file and put something into like "transfer 1 BTS shentist someonelse"

i am pretty sure i did everything wrong!?

 

Google+