Blockchain 智能合约交易发生时谁付款?

Blockchain 智能合约交易发生时谁付款?,blockchain,ethereum,mining,ether,Blockchain,Ethereum,Mining,Ether,我们制定了一份智能合同,计划在以太坊区块链上部署 我们的问题是 1) Who pays for each transaction made by the smart contract? 2) Who gets the currency? 3) Who gets profited? 4) Is there a way that developer(in this case is a group of us) always gets a part of eth after the transac

我们制定了一份智能合同,计划在以太坊区块链上部署

我们的问题是

1) Who pays for each transaction made by the smart contract? 
2) Who gets the currency?
3) Who gets profited? 
4) Is there a way that developer(in this case is a group of us) always gets a part of eth after the transaction? 
1) 谁为智能合约的每笔交易付款

部署合同时,您需要支付部署费用。当人们使用你的合同时,他们会为使用它付费

2) 谁得到货币

矿工们。他们开采并收取交易费用,其中包括执行合同的“天然气”成本

3) 谁获利

看答案2

4) 有没有一种方式可以让开发者(在本例中是我们的一组人)在交易后始终获得eth的一部分


否。

谁为智能合约的每笔交易付款

Ans-例如,如果我们持有一份智能合同,该合同可能是一个程序,如果有人使用该程序从我们的帐户中消耗了一些天然气,那么用户将用一些eth向我们支付天然气消耗。 一、 e用户为我们的智能合约上的交易支付费用

谁得到货币?谁获利

Ans-如果您是部署智能合约并创建区块链的人,并且如果您有足够的乙醚(例如100),则您指定了一名矿工通过设置gaslimit来开采区块链。 他根据公式(天然气消耗量*天然气价格)获得工作报酬。如果你还有什么不同,那就是你的了

帐户用户和矿工都可能获得利润,有时甚至只获得利润

开发人员是否有办法始终获得eth的一部分

Ans-如果开发者自己在自己的帐户(公共网络)中部署智能合约,并且如果在上面进行任何交易,我将获得利润,这是唯一的方法