<blockquote>
  <p>A node that runs a smart contract will be paid with GAS.</p>
</blockquote>

<p>This is incorrect. The miner who mines the block containing the transaction interacting with a contract is the one who is paid with ETH, which is <code>gas consumed * gas price</code>.</p>

<blockquote>
  <p>How is this node selected? </p>
</blockquote>

<p>Through the mining process.</p>

<blockquote>
  <p>Or multiple nodes are running the same smart contract just to make sure somehow?</p>
</blockquote>

<p>Even after the block is mined, every node on the network that receives it will independently validate the contract execution. If the miner lies about the outcome of the execution, the block will be deemed invalid.</p>

CC BY-SA 4.0
2018-07-04T07:36:14.663Z
2018-07-04T07:36:14.663Z
Raghav Sood
<p>A node that runs a smart contract will be paid with GAS. How is this node selected? I guess this node should be trustworthy. Or multiple nodes are running the same smart contract just to make sure somehow? </p>

<ethereum><smartcontracts>
How is a node selected to run Smart Contract in Ethereum
kee
# How is a node selected to run Smart Contract in Ethereum

(Asked by: username_0 on 2018-07-04)

A node that runs a smart contract will be paid with GAS. How is this node selected? I guess this node should be trustworthy. Or multiple nodes are running the same smart contract just to make sure somehow?

**Tags:** ethereum, smartcontracts


---

## 1 answers

### Answer by username_1 on 2018-07-04. Score: 4 | Accepted answer

> A node that runs a smart contract will be paid with GAS.

This is incorrect. The miner who mines the block containing the transaction interacting with a contract is the one who is paid with ETH, which is `gas consumed * gas price`.

> How is this node selected?

Through the mining process.

> Or multiple nodes are running the same smart contract just to make sure somehow?

Even after the block is mined, every node on the network that receives it will independently validate the contract execution. If the miner lies about the outcome of the execution, the block will be deemed invalid.


---

