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

Is there a way to run a private network with just the pyethapp console? #19

Open
KForgette238 opened this issue May 18, 2018 · 0 comments

Comments

@KForgette238
Copy link

I already have pyethapp installed and would just like to open a private network manually. I found the mining command in the simple docker yaml file and am running it in the pyethapp console as follows:

pyethapp -c eth.network_id=1337 -b 'enode://288b97262895b1c7ec61cf314c2e2004407d0a5dc77566877aad1f2a36659c8b698f4b56fd06c4a0c0bf007b4cfb3e7122d907da3b005fa90e724441902eb19e@localhost:30303' -m 50 -c eth.genesis_hash=d4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3 run --fake

I modified the genesis hash to be what pyethapp was expecting but now I'm getting the following error:

ipaddress.AddressValueError: 'localhost' does not appear to be an IPv4 or IPv6 address. Did you pass in a bytes (str in Python 2) instead of a unicode object?
INFO:jsonrpc starting IPCRPCServer ipcpath=/tmp/pyethapp.ipc
INFO:jsonrpc starting JSONRPCServer port=4000
INFO:p2p.peermgr waiting for bootstrap

I've tried replacing bootstrap with localhost and vice versa but get the same error. Could you provide some feedback? Thanks.

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

1 participant