Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge efforts? #6

Open
heikoheiko opened this issue Feb 15, 2016 · 2 comments
Open

Merge efforts? #6

heikoheiko opened this issue Feb 15, 2016 · 2 comments

Comments

@heikoheiko
Copy link

There is also:
https://github.com/ethereum/pyethapp/blob/develop/pyethapp/rpc_client.py
which has support for python ABI contract proxies:
https://github.com/ethereum/pyethapp/blob/develop/pyethapp/rpc_client.py#L219

Any ideas on the best way to merge these efforts?

@jimkberry
Copy link

I found that the most important thing was to tease out dependence on pyethereum (which both ethjsonrpc and pyethapp/rcp_client require.) In practice a python Ethereum dapp really only wants the minimum amount of Ethereum required to talk to a node. It doesn't need all of the extra capability that is only used by Ethereum nodes.

Requiring pyethapp turned out to make it tricky for a lot of folks using OSX to install python dApps, and last time I checked it was impossible (ok, REALLY hard) under Windows. Unfortunately, at the moment "teasing it out" meant that some code needed to be duplicated (the abi module, for instance, as well as code to sign a transaction) which was not an awesome solution - but had the upside that suddenly the dApps were multi-platform.

Actually - I suspect the best starting place would be to separate pyethereum itself into a library containing only the stuff a client needs, and another containing the Ethereum node underpinnings too.

@kumavis
Copy link

kumavis commented Feb 15, 2016

just throwing this out there in case you haven't heard of it but @tcoulter has built https://github.com/ethereumjs/testrpc which attempts to serve the same goal

just another tool at your disposal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants