0

Is it possible to use pyethapp as a python script interpreter so that account management operations and transactions may be automated.

1

for the accounts side of you question, the test_add_account method should give you a good overview of a possible implementation in your script.

for the transactions, the documentation about creating transactions explains it well, you use the eth object like this :

tx = eth.transact('d63b635a458b99f7e900477e2d261d5d13e45d59', value=100)

Now you can also look at the call method and send_transaction methods of their rpc client implementation, should you not want to use the console

| improve this answer | |
  • But is it possible to "stay away" from pyethapp in a sense that I define my own custom python code that is to be run over pyethapp. I've read that you can create a user service by placing a python file in ~/.config/pyethapp/contrib directory that gets run once pyethapp is run. Also, I have no ether so I am currently using a custom private block chain. +1 btw – Sebi May 31 '16 at 11:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.