Closed mapapuche closed 3 years ago
Hey @mapapuche, that example in the docs is a bit confusing. Instead of w3.eth.coinbase
, just enter the address of the account you want to send the transaction from. I'll clarify the docs then close this issue. Let me know if you have any follow-up questions.
If that is the entirety of your code, it looks like you have some conceptual gaps to fill in. I wrote a guide here for getting started with Ethereum and Web3.py: https://snakecharmers.ethereum.org/a-developers-guide-to-ethereum-pt-1/.
Ok thank you. will read it now
PS : just notice a fun fact, my name is Valentin Garreau ;)
Wild. Hello long lost cousin 😄
This issue will be closed once the docs change PR gets merged in, but you're still welcome to ask questions. Feel free to open a new issue if its something totally unrelated.
Your guide is nice. Now i have the buy token working well, i'm asking myself new question lol. Did you have a guide about how to sell token ? In the guide at the end of part 2 you start to talk about it but there is no example about how to sell token to get back eth
Thanks @mapapuche. My next blog post will explore contracts, including tokens, but it's still in development. I don't have another resource in mind, but ethereum.org has a lot of great tutorials and other resources. Maybe that's a good place to explore next: https://ethereum.org/en/developers/tutorials/.
pip freeze
outputWhat was wrong?
Hello, i'm trying web3.py to my new project. When i try to send a transaction with the example of the doc i got an error.
There error :
Please include any of the following that are applicable:
Here my code :
I'm using infura as node.