Transactions

Private Transactions

RAILGUN enables encrypted private transactions through Shielding. Once assets are shielded into the RAILGUN contract, there are several options:

  1. Transfer tokens privately to another RAILGUN wallet.

  2. Use a cross-contract call to interact privately with an external smart contract.

  3. Unshield tokens into any 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 of the tokens or amounts sent in Etherscanarrow-up-right.

Broadcasters

In order to achieve full anonymity, RAILGUN uses a network of Broadcasters to submit transactions.

Broadcasters are external wallets that sign transactions on a user's behalf. Broadcasters pay gas fees for users, and they receive ERC-20 tokens as fees for the service.

If you want to send transactions through a Broadcaster, use @railgun-community/waku-broadcaster-clientarrow-up-right

Last updated