I am new to smart contracts and ethereum I am using web3j to deploy contracts on the private network Following this as a guide https://github.com/web3j/web3j
In the below section of code, it asks for gas limit and gas price of the contract
Web3j web3 = Web3j.build(new HttpService()); // defaults to http://localhost:8545/ Credentials credentials = WalletUtils.loadCredentials("password", "/path/to/walletfile"); YourSmartContract contract = YourSmartContract.deploy( <web3j>, <credentials>, GAS_PRICE, GAS_LIMIT, <param1>, ..., <paramN>).send(); // constructor params
how should I determine the
before that, I was using ethereum wallet to deploy contract it automatically estimates the gas price and limit. I am a beginner i do not know gow to estimate gas price and limit without ethereum wallet ?