揭露行动的适当费用是多少?
3 个回答
- 投票数
-
- 2019-03-16
陈述的问题使不同的事情混淆.
"公开"操作是在链上写入与隐式帐户的公共密钥哈希关联的公共密钥的操作.与此操作相关的费用由发送者决定,尽管大多数面包师执行默认的最低费用(在这种情况下,当前为1267µꜩ).
通过将令牌发送到隐式地址来创建新帐户不是"公开"操作,因为此操作不需要公钥.但是,它确实会触发在链上创建隐式帐户.存储费用必须支付,并且不是交易费用的一部分.尽管它受到发件人指定的上限的限制,但还是直接从进行交易的帐户中扣除.实际发生的存储成本的默认值为0.257 XTZ.
The question as stated confuses different things.
A "reveal" operation is an operation that writes on the chain the public key associated with a public key hash for an implicit account. The fee associated with this operation is up for the sender to decide, though most bakers implement default minimum fees (in this case it is currently 1267µꜩ).
The creation of a new account by sending tokens to an implicit address is not a "reveal" operation as the public key needs not be known in this operation. However, it does trigger the creation of an implicit account on the chain. Storage cost has to be paid, and it is not a part of the transaction fee. It is deducted directly from the account making the transaction, though it is subject to a cap specified by the sender. The default value for the storage cost incurred is indeed 0.257 XTZ.
-
谢谢你们俩.实际上,我的意图是指定一笔费用,以支付向其发送令牌时创建新帐户的费用.Thank you both. My intention is, indeed, specify a fee to cover the costs of a creation of a new account when sending tokens to it.
- 1
- 2019-03-16
- Luiz Milfont
-
- 2019-03-16
将新帐户添加到全局状态(带有
--burn-cap
的tezos-client
)的费用为0.257 XTZ.原始刻录的计算方式为
Tez_repr.(cost_per_byte *? (Int64.of_int origination_size))
.cost_per_byte
为0.001 XTZ.这是1000个互斥锁和1,000,000 mutez == 1 tez
.origination_size
是257.由于创建一个全新帐户的最终成本为257,000互斥或0.257tez.
这是在
proto_alpha/lib_protocol/fee_storage.ml
,proto_alpha/lib_protocol/constants_repr.ml
和proto_alpha/lib_protocol/qty_repr.ml
中定义的The fee for adding a new account to the global state (
--burn-cap
withtezos-client
) is 0.257 XTZ.The origination burn is calculated as
Tez_repr.(cost_per_byte *? (Int64.of_int origination_size))
.cost_per_byte
is 0.001 XTZ. It is 1000 mutez and1,000,000 mutez == 1 tez
.origination_size
is 257.Due to that the resulting cost for an origination of a completely new account is 257,000 mutez or 0.257 tez.
This is defined in
proto_alpha/lib_protocol/fee_storage.ml
,proto_alpha/lib_protocol/constants_repr.ml
, andproto_alpha/lib_protocol/qty_repr.ml
-
这是不正确的,原始刻录不是交易费用的一部分.That's incorrect, the origination burn is not part of the transaction fee.
- 1
- 2019-03-16
- Arthur B
-
是的,你是对的.我已经编辑了以上答案,以澄清我所描述的费用是向该州添加新帐户的费用.Yes, you are correct. I have edited the above answer to clarify that the fee that I describe there is for adding a new account to the state.
- 0
- 2019-03-16
- adrian
-
我建议将术语分开:"费用"表示已付给面包师."燃烧"是指被摧毁.I suggest keeping the terminology separate: "Fee" means paid to the baker. "Burn" means destroyed.
- 2
- 2019-03-16
- Tom
-
- 2019-06-04
在雅典(proto004),请在此处获取最新费用
https://github.com/keefertaylor/TezosKit/blob/master/docs/AthensProtocolFees.md
In athens (proto004) the updated fees are available here
https://github.com/keefertaylor/TezosKit/blob/master/docs/AthensProtocolFees.md
将资金转入未公开的Tezos帐户时,必须支付"公开费用".