Question: I have been following Solidity, Blockchain, and Smart Contract Course – Beginner to Expert Python Tutorial (https://www.youtube.com/watch?v=M576WGiDBdQ&t=28658s). At a certain point in the tutorial (around hour 9), the following line of code exists: My understanding is that interfaces get ...

Question: I have been following Solidity, Blockchain, and Smart Contract Course – Beginner to Expert Python Tutorial (https://www.youtube.com/watch?v=M576WGiDBdQ&t=28658s). instead of copying a ton of code, I’m trying to generalize my question as follows: consider the following code snippet: I understand ...

Question: Issue description: Brownie tests containing either or producing an error, when the request by design fails (is reverted). On GitHub: https://github.com/n4n0b1t3/brownie.reverts.example Expected behavior: The test should either fail or succeed, depending on the outcome of the transaction. Noticeable: When ...

Question: I have problem connected to python. I want to compile solidity files using python. But getting error. **first python where I get error and second solidity its’ fine ** enter image description here enter image description here Answer: There ...

Question: Hey so I’m trying to install eth-brownie with pipx using the command: pipx install eth-brownie Unfortunatly this gives me an error message which I’m having a lot of trouble understanding. I know I should be able to install it ...

Question: Inside Contract.sol I have defined In a python file, let C_adrs be the address of a deployed instance of Contract.sol. I want to print the 0th entry of the id_array of the deployed instance. For some reason, the following ...