Transactions

Private Transactions

RAILGUN enables encrypted private transactions through Shielding. Once assets are shielded into the RAILGUN contract, there are several options for private transactions:
  1. 1.
    Transfer tokens privately to another RAILGUN wallet
  2. 2.
    Use a cross-contract call to interact privately with an external smart contract
  3. 3.
    Unshield tokens into a new public wallet
These transactions achieve a level of privacy, as their contents cannot be read by an external observer. For example, private transfers show no details in Etherscan that reference the tokens or amounts that were sent.

Relayers

In order to achieve anonymity, RAILGUN uses a network of Relayers to submit transactions.
Relayers are external wallets that sign transactions on users' behalves. Relayers pay gas fees for users, and they receive ERC-20 tokens as fees for the service.
For more details, see @railgun-community/relayer-client (coming soon).
Last modified 8mo ago