1

I have followed tutorial and setup private Blockchain using geth:

https://medium.com/infrageth/practical-steps-for-go-ethereum-setup-27b8d64903fc

I have used

web3py

python library for creating web services I have created own

genesis.json

  • So my question is we are giving local address and assigning some balances so what are these balances
  • Is it that only through local address we can send transaction because i have generated address
  • I have tried to send transaction using web3 api and also i am not able to get balance even i have transferred eth i can see balance in

https://etherscan.io/

but not through api. so i am confused how is it working any help will be greatly appreciated

my send transaction code is :

        send_transaction = my_provider.eth.sendTransaction(
            {'from': checksum_sendaddress, 'to': checksum_recvaddress, 'value': amt})

My code is executed successfully and it will generate txhash successfully but when I am adding this hash to site https://etherscan.io/ the transaction is not shown

  • Hi! Web3.py is a library for Python programmers. Can you be more specific what have you tried (show us the code you have written) and then more specific how it failed (was the result incorrect, was there an error). – Mikko Ohtamaa Mar 1 at 9:01
  • I have used below code to send transaction – user9862376 Mar 1 at 9:26
  • In the question you mention a private blockchain. EtherScan service is for public Ethereum blockchain. EtherScan cannot show transactions for your private chain. Was this your question? – Mikko Ohtamaa Mar 1 at 10:11
  • If you wish to use EtherScan service to check your transactions, I suggest doing testing and prototying using Kovan or Goerli test networks where you can get free test ETH. – Mikko Ohtamaa Mar 1 at 10:12
  • In the question you mention a private blockchain. EtherScan service is for public Ethereum blockchain. EtherScan cannot show transactions for your private chain. Was this your question? yes exactly @MikkoOhtamaa – user9862376 Mar 1 at 10:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.