Swisstronik & Ethereum transactions
Ethereum Transactions
When sending transactions in the Ethereum blockchain, there are several fields you need to fill out such as from
, to
, value
, nonce
, data
, etc... so the nodes can process and validate your transactions before adding them to the blockchain.
Swisstronik Transactions
Sending transactions in the Swisstronik blockchain is similar to Ethereum, with one crucial distinction: when the data field is not empty, the value of the data field must be encrypted. This encryption step is vital for maintaining confidentiality. By sending encrypted values to the nodes, we ensure that only the nodes can decrypt the data within the Intel SGX enclave, ensuring the secure validation of your transaction.
The data field is empty only when sending value between accounts (e.g., sending 1 SWTR from Alice to Bob). For transactions of this type, there is no need for any encryption.
For a deeper dive into transactions data
field on EVM-based blockchains, check out the article Decoding the βdataβ field in Ethereum Transactions
Last updated