3

In truffle, a dapp is deployed using the port of running geth node (in testnet). Then how will another machine node will communicate to that dapp because it is impossible to run a node on same port with different machine?

1 Answer 1

4

When you deploy an app with Truffle, you are actually deploying a contract and the font end is a simple html/css website which can interact with the contract instance.

Technically, you are not touching the actual ethereum node, it is running somewhere else and any other app can communicate with the geth instance with no issues.

10
  • Thanks, you mean we need to have similar dapp at both the end? And also tell me that the communicating nodes should be peers or not?
    – BlockA
    Commented May 10, 2016 at 6:57
  • Please @niksmac respond soon
    – BlockA
    Commented May 11, 2016 at 6:31
  • Another dapp can communicate to the same contract you deployed right?
    – niksmac
    Commented May 11, 2016 at 6:48
  • it means @niksmac the communicating node will not have any own contract. It will be just communicating with the contract deployed by first node?
    – BlockA
    Commented May 11, 2016 at 7:23
  • 1
    not necessarily, nodes are peers when they are connected in between, no relation to DApp.
    – niksmac
    Commented May 12, 2016 at 8:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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