Konubinix' opinionated web of thoughts

Tezos Operations

fleeting

tezos reveal

sign operations, Alice needs to first reveal the public key edpkuk…3X behind the hash, so that other users can verify her signatures.

https://tezos.gitlab.io/introduction/howtouse.html

Reveal is the first operation that need to be sent from a new address. This will reveal the public key associated to an address so that everyone can verify the signature for the operation and any future operations.

{
    "kind": "reveal",
    "source": $contract_id,
    "fee": $mutez,
    "counter": $positive_bignum,
    "gas_limit": $positive_bignum,
    "storage_limit": $positive_bignum,
    "public_key": $Signature.Public_key
}

https://tezosguides.com/wallet_integration/basics/operations/

The public_key value is the public key that we want to reveal. The other values are set in a similar way as for the transaction operation.

https://tezosguides.com/wallet_integration/basics/operations/

often batched together with another operation

https://tezosguides.com/wallet_integration/basics/operations/

tezos transaction

A simple transaction of 1 XTZ could look something like this in JSON:

[
  {
    "kind":"transaction",
    "source":"tz1WmhTgcckoDagACbXAxatWMKy7yesY349p",
    "fee":"1350",
    "counter":"1527770",
    "gas_limit":"10600",
    "storage_limit":"277",
    "amount":"1000000",
    "destination":"tz1aC53WoYEvdazinMMh8WfQZ5TPijeFfCUC"
  }
]

https://tezosguides.com/wallet_integration/basics/operations/

Operations on Tezos. These are more commonly known as Transactions on other blockchains and in Tezos are a subset of operations.

https://opentezos.com/tezos-basics/operations

Tezos, transactions are transfers of tokens and smart contracts calls

https://opentezos.com/tezos-basics/operations

{ “kind”:“reveal”, “source”:“tz1WmhTgcckoDagACbXAxatWMKy7yesY349p”, “fee”:“0”, “counter”:“1527770”, “gas_limit”:“10000”, “storage_limit”:“0”, “public_key”:“edpkva47oZEvUyhonx13xfBBVckJDYHWXHUZmdoz7gxiZE8tW45FjK” }

https://tezosguides.com/wallet_integration/basics/operations/

Here, the fee is equal to 0

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µꜩ).

https://tezos.stackexchange.com/questions/786/what-is-the-adequate-fee-for-a-reveal-operation

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

https://tezos.stackexchange.com/questions/786/what-is-the-adequate-fee-for-a-reveal-operation

Notes linking here