Rayls DocsRayls Custody API
Rayls Docs

Running Rayls Enygma

Enygma is a protocol offered by default in Rayls Subnet ecosystem. It is EVM compatible, hence it can be used on every EVM chain.

For now to use it install the subnet, for more information on how to do it, follow the subnet section.

How It Works:

Payment

  • Imagine your bank issues a private digital token.
  • That token is held in your core system (like a vault).
  • You give wrapped copies of that token to different branches or subsidiaries.
  • When one branch wants to pay another, they burn their wrapped copy and trigger a private transfer.
  • The receiving branch mints a new token, like getting the digital cash on their books.

DvP

Step 1: Asset Issuance & Registration

  • A Rayls Node issues an NFT and requests registration with the Subnet Operator.
  • The Operator approves and lists the token on the Subnet Hub (SH).
  • The NFT is then deposited into the Enygma DvP smart contract.

Step 2: Asset Exchange via Enygma DvP

  • Two Rayls Node users (e.g., John and Alice) agree to a private exchange.
  • Both parties deposit their respective assets: John deposits the NFT; Alice deposits Enygma ERC-20 tokens.
  • Both confirm the transaction via matching messages to the Enygma DvP contract.
  • The smart contract validates custom preconditions and finalizes the DvP.
  • Post-settlement, wrapped tokens representing the new ownership are allocated to the participants. Withdrawals can be manually triggered.

Experience true privacy with cryptographic protections—not just restricted access. Unlike permissioned visibility, our approach ensures transactions remain confidential even from network participants.