Minting tokens within Rayls Sovereign

Overview

Minting tokens in a Rayls Sovereign ledger uses the specialised Rayls ERC handlers for the different token standards (ERC-20, ERC-721, and ERC-1155). This guide sets out the steps to mint tokens, and points to the relevant handler documentation for detailed instructions.

Pre-requisites

  • Deployed Token Contract: Ensure your token contract is deployed in the Rayls Sovereign ledger.
  • Rayls ERC Handler: Familiarise yourself with the Rayls ERC handler corresponding to your token type.

Step-by-step

Minting Tokens

  1. Access the appropriate handler: Use the Rayls ERC handler specific to your token type (ERC-20, ERC-721, or ERC-1155).
  2. Execute the minting function: Use the handler's mint function to create new tokens, specifying the recipient and the amount.
  3. Verify minting: After minting, check the recipient's balance to confirm that the tokens have been created and allocated.

For further details on minting tokens using the Rayls ERC handlers, refer to the specific documentation:

After Minting Tokens

Once you mint a token in your Rayls Sovereign ledger, several actions are available depending on the use case, and in every case the underlying premise is to enable the token to be transferred.

Within Rayls Sovereign: You can transfer the token inside your own Rayls Sovereign ledger, allowing private and secure transactions between different addresses without revealing sensitive information to external parties.

Across a Rayls Private Network: You can move tokens between institutions in a Rayls Private Network using the Teleport Atomic protocol, which carries the transfer through the Private Network Hub. This gives cross-chain interoperability between participants while maintaining privacy and compliance. Register your minted token in the Rayls Private Network and wait for the Private Network Operator to approve it, because a token is only eligible for teleport once it is registered and marked active (for more details see registering a token documentation). Once it is approved, you are ready to start teleporting.

Read more about Sending a Teleport here.


Did this page help you?