I am trying to deploy my SimpleStorage.sol contract to a ganache local chain by making a transaction using python. It seems to have trouble connecting to the chain. It seems to be connected to the ganache chain because it prints the nonce, but when I build and try to print the transaction here is the entire traceback call I am
Tag: ethereum
ParserError: Source file requires different compiler version
I tried all that you mentioned in the discussion here (in other questions) and at https://github.com/smartcontractkit/full-blockchain-solidity-course-py/discussions/522 , however it is not solving the issue for me, I also noticed that the current compiler version remains (current compiler is 0.6.12+commit.27d51765.Windows.msvc). But when I right click and select Solidty:Compiler information, it shows 0.8.0. from output: Not sure if that is related to
web3 python ethereum raw transaction
im getting this error while trying to send ethereum using my local geth node. here is how i build the tx My ethereum account has more than 2 ETH available What am I doing wrong? Answer The node error does not lie, so the node does not think you have 2 ETH available. You can easily check with web3.eth.getBalance() how
How to access a smart contract function protected by access rights using Web3py?
I have a smart contract address for security tokens, and certain functions of it are protected by access rights, for which I have an address to access those functions, however I am not able to figure out, how to call that function by specifying the rights. Can someone tell me, how do I provide the access right address? Answer To
Historical ethereum prices – Coinbase API
Using the python coinbase API– The functions– get_buy_price, get_sell_price, get_spot_price, get_historical_data, etc… all seem to return bitcoin prices only. Is there a way of querying Ethereum prices? It would seem that currency_pair = ‘BTC-USD’ could be changed to something akin to currency_pair = ‘ETH-USD’ although this has no effect. I would expect that the API simply doesn’t support this, except