Ethereum Asked by Pt.AR on August 26, 2021
Started Geth using following command
geth --identity "testpvtnode" --rpc --rpcport "8545" --rpccorsdomain "*" --datadir <pvtnetdatapath> --port "30303" --rpcapi db,eth,net,web3,personal --networkid 123 console 2>> Logfile
Accessing the deployed contract through an UI created by referring the following links – (counter, Stack Exchange Question related to UI creation)
I have successfully created the UI and interacted with SmartContract, but the functions are not working properly(able to call the function and transaction done successfully,but counter value is not updating) after I restarted the Geth instance.
Please note : The private net is on my pc( did not set as a server)
I think you need to mine your transactions using : miner.start()
you should wait for a while once mined you can stop mining process using miner.stop()
But before doing that you should load miner
api using in geth command line :
--rpcapi db,eth,net,web3,personal,miner
Answered by Badr Bellaj on August 26, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP