Portal Gate
  • ๐ŸŸขPortal Gate
    • Why Portal Gate?
  • โš™๏ธSystem Overview
    • Users
    • Compliance Partners
      • ComplyCube
      • ShuftiPro
    • Stakers
    • Relayers
  • ๐Ÿ…ฟ๏ธTokenomics
  • ๐Ÿ“–How to PortalGate?
    • Step 1: KYC (Individuals)
    • Step 1: KYB (Institutions)
    • Step 2: Teleport
      • Relayer Withdrawal
      • Direct Withdrawal
    • Step 3: Compliance Tool (Optional)
    • Step 4: Refreshing Credentials (Prior to Expiration)
  • โ›“๏ธArchitecture
    • Keyring
      • ZK-Compliance Oracle
    • Privacy Solution
    • ๐Ÿ“–Technical Docs
      • ๐Ÿ”Portal Gate Privacy System
      • ๐ŸŽฐZero-Knowledge Cryptography
      • ๐Ÿ—ผRelayers
      • โฉTrusted Forwarder
      • ๐Ÿ‘ทTrusted Setup
      • ๐Ÿ“–Contract Addresses
      • ๐Ÿ‘ฎโ€โ™‚๏ธAudits
      • ๐Ÿ›Bug Bounty
      • โ›๏ธAP Mining
  • ๐Ÿ’ปSocial Media
  • ๐Ÿ“ธMedia Kit
  • โ“FAQ
    • Protocol & Product
    • Tokens
    • Security & Privacy
    • Wallet Management & KYC/B
  • Website
Powered by GitBook
On this page
  1. Architecture
  2. Technical Docs

Trusted Forwarder

PreviousRelayersNextTrusted Setup

Last updated 1 year ago

offer users a more seamless experience, and potentially one where they donโ€™t have to spend as much money to engage with the blockchain. This method gives users the option to sign a transaction for free and have it securely executed by a third party, with that other party paying the gas to execute the transaction.

In Portal Gate, we used an advanced trusted forwarder contract to achieve gasless transactions to help users to preserve their privacy. For the ZK Credential Updater relayer, Portal Gate implements meta-transactions using and to separate msg.sender from the relayerโ€™s address. All the user needs to do is sign a message using the account they would like to issue the transaction from. The signature is formed from the target contract and the data of the desired transaction, using the userโ€™s private key. This signing happens off-chain and costs no gas. The signature is passed to the Relayer so it can execute the transaction for the user (and pay the gas).

โ›“๏ธ
๐Ÿ“–
โฉ
Gasless meta-transactions
MinimalForwarder
ERC2771Context