As I understand the smart contract is triggered by some action and executes another action based on input.
If I want to send the amount of coin to the target address in case of some action so, the smart contract is involved.
- External action will find a smart contract address in the blockchain.
- Smart Contract will execute by the compiler.
My question is if I develop a smart contract to send some money to some address in a certain case how these transactions will be validated by miners? Because since it is an automatic process signing transaction message by private key is not possible, since the private keys need to keep in a safe zone (device, hardware, etc.)
And does miner node put its signature for each execution scenario?