My current method of deploying smart contracts in geth is by generating the
abi files of the corresponding
sol and then loading the
abi files of the contract into geth using the commands:
But the issue I am facing with this is that every time I close geth and open it again, the contracts have to be re-deployed again as the existing contracts seem to be missing.
Is there anyway to ensure a permanent deployment of contracts? Or am I missing any critical step?