1

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?

  1. External system calls a Dapp
  2. Dapp calls a smart contract via an EOA

Nathan Aw

1

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.

| improve this answer | |
  • Thanks! One question - Does dApp in a permissioned blockchain such as quorum means introducing single point of failure? If the node js dapp fails I wont be able to move forward – Nathan Aw Apr 10 '18 at 6:26
  • You'd want to make it appropriately reliable. – Rob Hitchens Apr 10 '18 at 13:57
  • thanks! how to sir? – Nathan Aw Apr 10 '18 at 14:30
  • Time to bring some infrastructure people into the room and tell them you want to build a fault-tolerant service that will watch something and sign transactions. – Rob Hitchens Apr 10 '18 at 15:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.