Can a Dapp (leveraging web3.js) respond to an API evocation from an external system which in turn calls an EOA and then evoke a contract on the blockchain?
- External system calls a Dapp
- Dapp calls a smart contract via an EOA
Dapp, server, bot signs a transaction from EOA. Contract responds. The external world is outside the scope of the smart contract.
EOAs that are recognized and authorized to perform certain functions are inside the scope of the smart contract. For example, a whitelist of trusted bots.
Hope it helps.