In code examples, and short scripts, it's a real PITA to show the ramp-up needed to get web3 working. It conveys that things are going to be tedious (an unfair first impression, I hope):
from web3 import Web3, IPCProvider
w3 = Web3(IPCProvider())
Instead, I would love to have an autoconfigured web3, especially for some default cases, like localhost on 8545, and the geth IPC file.
from web3.auto import w3
This could try to connect to IPC in common locations and then localhost:8545
Or if you are running both IPC and HTTP, and want to give it a hint, that might look like:
from web3.auto.http import w3
__This issue now has a funding of 0.01 ETH (3.02 USDT) attached to it.__ To view or claim this funding, click here.
@gitcoinbot 馃彥 this is gonna be interesting.
@Sebohe just in case you didn't notice, once you've got #344 done and merged there is a bounty you can collect: https://gitcoin.co/funding/details?url=https://github.com/pipermerriam/web3.py/issues/302
It looks like this issue has been merged in already, so the issue can be closed out.
@owocki I tried to "accept funding claim" and got:
No active funding found at this address. Are you sure this is an active funded issue?
I closed the issue first and tried it, then reopened and tried it. Both with the same result. Can you pay it out (or tell me how to do it correctly?).
@carver sorry. that error message is wrong. its erroring out because i submitted the bounty from one of my wallet accounts and only the submitter can accept the bounty. im accepting it now (and will update the error copy by EOW)
also @Sebohe i just made an executive decision that you work here is worth more than 0.01 ETH ( we funded the bounty very early in the project, before the real funding came in), so i'm going to tip you more than the bounty amount to close this out.
鈿★笍 A tip worth 0.05 ETH has been granted to @Sebohe for this issue. 鈿★笍
Nice work @Sebohe, check your email for further instructions. | Send a Tip
Most helpful comment
also @Sebohe i just made an executive decision that you work here is worth more than 0.01 ETH ( we funded the bounty very early in the project, before the real funding came in), so i'm going to tip you more than the bounty amount to close this out.