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
Nathan Aw
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.
Sign up to join this communityCan 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?
Nathan Aw
Yes.
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.