Swisstronik vs Ethereum
Swisstronik is generally compatible with Ethereum, the EVM, and all of the user and developer tooling that you already use. There are a few breaking changes, but we think that you'll like them:
Swisstronik implements the Ethereum Virtual Machine (EVM) within Intel SGX to enhance the privacy of transaction data and smart contracts. This design ensures that full nodes and validators are unable to access any detailed information about transactions, ensuring the confidentiality of transactional information.
The contract state variables are only visible and accessible within the contract itself, limiting access to only public methods and getters(such as
external view
orpublic view
functions). Even full nodes and validators cannot access raw contract data.Transactions and calls are end-to-end encrypted within the Intel SGX Enclave, ensuring confidentiality. The transaction data is exclusively accessible to the transaction sender and the associated contract, providing robust privacy protection.
Since transaction execution happens inside Intel SGX Enclave, RPC methods such as
debug_traceTransaction
,debug_traceBlockByNumber
, etc. are disabled.The contract state is encrypted, resulting in the RPC method
eth_getStorageAt()
returning encrypted values. Transactions and calls with non-emptydata
fields are also encrypted since the node will attempt to decrypt its data within the Intel SGX Enclave. The only exception to encryption is contract deployment, which allows for deployed contract verification.
In addition to confidentiality, you get a few extra benefits including the ability to generate private entropy and make signatures on-chain
Last updated