Questions tagged [pyethereum]

Ethereum's core Python library implementation

Filter by
Sorted by
Tagged with
6
votes
2answers
7k views

How to apply pyethrecover.py on v3 .json/transfor v3 .json to .v1

I'm trying to get pyethrecover.py running via Python on one of my .json files that were created by Ethereum-wallet for Mac. It seems that my .json file is v3 and the pyethrecover.py only works for v1 ...
4
votes
1answer
4k views

Verifying personal.sign signature with pyethereum

I'm trying to verify a signed message from Metamask with pyethereum. I can not seem to recover the correct address from the signature. Lack of documentation isn't helping matters. On the client ...
6
votes
2answers
1k views

How can I change the gas price or the gas limit when testing with pyethereum?

I've got some code that's ultimately destined to run on a private network. I'm testing it with the lovely pyethereum, doing things like: from ethereum import tester as t class testMyContract(...
5
votes
3answers
9k views

Are there any implementations of smart contracts in Python?

I want to implement some smart contracts and I am strongest in python.
1
vote
1answer
8k views

How can I generate a wallet in python?

Im trying to write a python script that can generate a new wallet for that user, but I need to be able to keep the private key. I followed this : Stack overflow answer And got these results: import ...
5
votes
2answers
1k views

(Python) eth_getFilterChanges --> data --> how to decode?

Edit: solved, scroll down. How to decode filter results? A contract is emitting this Event event Send(address from, address to, uint value) With ethjsonrpc and its eth_getFilterChanges I am ...
3
votes
1answer
3k views

How to send a transaction to myetherapi.com with Web3.py

I am having trouble interacting with myetherapi.com using web3.py. I am able to create a few functions that were working, like get_eth_balance() below. But to send transactions like send_eth(), I just ...
3
votes
3answers
1k views

How to sync pyethapp (python ethereum client) with the mainnet?

I just installed pyethapp. However, I'm unable to sync the blockchain. Here is what I get when I run the client: 0 ✓ user@host ~ $ pyethapp run Failed to import scrypt. This is not a fatal error but ...
1
vote
0answers
207 views

Multithreading in web3.js [duplicate]

Is it possible to run concurrent tasks using web3.js and an Ethereum client? For example, say we have the following code to iterate through a number of blocks: var startBlockNumber = 0; var ...