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.

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. Go to the "approve" field under "Write Contract".

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

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

  4. 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 UDC on Etherscan.

  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.

Last updated