Raiden Network
  • What is Raiden?
  • Installation
    • Quick Start
      • Get MetaMask
      • Get an Infura ID
      • Download and run the Raiden Wizard
      • Handle Limitations
    • Starting Raiden Manually
  • Using Raiden on Mainnet
    • Overview
    • Get Whitelisted Tokens
    • Deposit Tokens to the UDC
    • Open a Channel
    • Make a Payment
    • Deposit Tokens
    • View Channel Status
    • Mediation Fees
  • The Raiden Web Interface
    • Overview
    • Navigate the WebUI
    • Join a Token Network
    • Make a Payment
    • Add More Tokens
    • Settle Payments and Close Channels
  • Using Raiden on testnet
    • Quick Start on Görli Testnet
    • Use Custom Token
      • Get Goerli Testnet ETH (GÖETH)
      • Import Custom Token
      • Compile Imported Token Code
      • Deploy Custom Token
  • Raiden API
    • Introduction
    • Resources
      • Address
      • Version
      • Settings
      • Contracts Information
      • Tokens
      • Channels
      • Payments
      • Connections
      • Pending Transfers
      • Shutdown
      • Testing
    • API Tutorial
      • Create a Token Network
      • Open a Channel
      • Deposit Tokens
      • Make a Payment
      • Withdraw Tokens
      • Settle Payments and Close Channels
  • Other
    • Safe Usage
    • Known Issues
    • Glossary
    • v1.0 Documentation
    • Trademark Attributions
Powered by GitBook
On this page
  • Approving the UDC to use RDN
  • Depositing RDN to the UDC

Was this helpful?

  1. Using Raiden on Mainnet

Deposit Tokens to the UDC

To do mediated transfers we need to have RDN (Raiden Network Tokens) in the UDC (User Deposit Contract) for paying the monitoring and pathfinding services.

PreviousGet Whitelisted TokensNextOpen a Channel

Last updated 4 years ago

Was this helpful?

This section will describe how to manually add Raiden Network Tokens to the UDC by:

Approving the UDC to use RDN

We need to approve a value of Raiden Network Tokens that the UDC is allowed to spend. To do so:

  1. Visit the .

  2. Go to the "approve" field under "Write Contract".

  3. Enter 0x1c62fF66aF8aaD410065E02338F5bFbbe23e1f10 (the mainnet UDC address) as argument for "_spender".

  4. Enter an amount of 100000000000000000000 (corresponding to 100 RDN) as argument for "_value".

  5. Click on "Write" to approve.

Depositing RDN to the UDC

Once we have approved an RDN amount all that reamins is for us to deposit some tokens to the UDC.

  1. Visit the .

  2. Go to the "deposit" field under "Write Contract".

  3. Enter the address of the Raiden node you want to use as argument for "beneficiary".

  4. Enter an amount of e.g. 100000000000000000000 (corresponding to 100 RDN) as argument for "new_total_deposit".

  5. Click on "Write" to make the deposit.

RDN token on Etherscan
UDC on Etherscan
Approving the UDC to use RDN
Depositing RDN to the UDC