Swisstronik Docs
  • 🇨🇭About Swisstronik
    • What is Swisstronik?
    • Swisstronik vs Ethereum
    • Useful links
  • 🌐General
    • Intel SGX
    • Governance
      • On-Chain Proposal
      • Formatting a Proposal
      • Submitting a Proposal
      • Governable Parameters
    • Community Pool
    • Accounts
    • Transactions
    • Gas and Fees
    • Coin & Tokens
  • ⚒️Development
    • Endpoints
    • Connect wallets
      • MetaMask (EVM) - Manual
      • Keplr (Cosmos)
      • Testnet Metamask (EVM) - Chainlist
      • Testnet MetaMask (EVM) - Manual
      • Testnet Keplr (Cosmos)
    • Get test coins
    • SwisstronikJS SDK
      • SwisstronikJS Functions
      • Swisstronik & Ethereum transactions
      • Transaction - code sample
      • Swisstronik & Ethereum calls
      • Call - code sample
    • Swisstronik CLI
      • Installation
      • Configuration
      • Key management
      • Queries
      • Sending SWTR
      • For SDI Issuers
    • Guides
      • Contract deployment - Hardhat
        • 1. Setting up the Hardhat environment
        • 2. Configure hardhat.config.js
        • 3. Write and compile the smart contract
        • 4. Deploy the smart contract
        • 5. Interact with the contract - Transaction
        • 6. Interact with the contract - Call
      • Contract deployment - Remix IDE
      • Deployment & Interaction PERC-20
        • ERC-20 & PERC-20
        • Sample PERC20 contract
        • Deployment & Interaction with contract
        • How to use encryption
      • Contract verification
      • SDI for dapp developers
    • Local testnet
    • Web3JS, Ethers, Viem and other third-party libraries
  • 🖥️Node setup
    • Setup SGX
      • Supported Hardware
      • Setup Intel SGX
    • Setup node
      • Mainnet
        • v1.0.1 Upgrade
      • Testnet
        • Install from .deb package
        • Configure node
        • Upgrade your testnet node
          • Swisstronik v3 Testnet
          • Swisstronik v4 Testnet
          • Swisstronik v5 Testnet
          • Swisstronik v5.1 Testnet
          • Swisstronik v6 Testnet
          • Swisstronik v7 Testnet
          • Swisstronik v8 Testnet
        • Seed Node
        • Live Peers
        • Genesis Mirror Download
    • CLI Cheatsheet
  • 🤝Delegators
    • What is a delegator?
    • Delegator Guide (CLI)
    • Delegators Security
Powered by GitBook
On this page
  1. About Swisstronik

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 or public 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-empty data 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

PreviousWhat is Swisstronik?NextUseful links

Last updated 1 year ago

🇨🇭