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:
Visit the RDN token on Etherscan.
Go to the "approve" field under "Write Contract".
Enter
0x1c62fF66aF8aaD410065E02338F5bFbbe23e1f10
(the mainnet UDC address) as argument for "_spender".Enter an amount of
100000000000000000000
(corresponding to 100 RDN) as argument for "_value".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.
Visit the UDC on Etherscan.
Go to the "deposit" field under "Write Contract".
Enter the address of the Raiden node you want to use as argument for "beneficiary".
Enter an amount of e.g.
100000000000000000000
(corresponding to 100 RDN) as argument for "new_total_deposit".Click on "Write" to make the deposit.
Last updated