If you want to develop applications that function as the Receiver you have to connect to the Ethereum blockchain through one of the Ethereum node applications. There are others, but we focus on geth, the Go implementation.
The quick start requires that your geth client is synced to the Ropsten testnet. Geth should answer RPC calls on http://localhost:8545 and have the APIs eth, net, web3 and personal accessible.
Note: as of Geth version 1.8.0, these parameters are required to start Geth in the correct mode:
geth --testnet --syncmode "fast" \
--rpc --rpcapi eth,net,web3,personal \
--cache=1024 \
--rpcport 8545 --rpcaddr 127.0.0.1 \
--rpccorsdomain "*"
If you are having trouble syncing with Geth, you may want to use Parity instead. Use the same parameter but with this code:
parity --chain ropsten --rpcport=8545
Note: You don’t have to follow these steps if you have an account on Ropsten already preloaded with Ropsten Ether and know how to export the private key of the preloaded account.
After successful installation of MetaMask, just follow the steps mentioned in the screenshots to create a new account, get Ropsten Ether at a faucet and export the private key of this new, Ether preloaded account. We will use the private key for Sender applications in the tutorials. Your MetaMask account will represent the Sender of a microtransaction.
To be able to use the echo client, you have to get the “TKN” Token configured for the RaidenMicroTransferChannels on Ropsten.
On the main page (https://github.com/raiden-network/microraiden) the Token addresses are listed, for Ropsten it can be found here
The easiest way to get some TKN on the Ropsten-network is to use our JavaScript application that we host with our µRaiden live-demos.
Altough this is part of a specific demo-application, you can just use the upper part of the dialogue and forget about the lower half.
A dialogue will pop up in MetaMask that asks for your confirmation of the generated transaction.
To check whether the exchange of TKN was successful, you can add TKN as a custom token to MetaMask.
0xFF24D15afb9Eb080c089053be99881dd18aa1090
If you want to have a little bit more control over the exchange of token, you can also use MyEtherWallet to interact with the Smart Contract directly:
0xFF24D15afb9Eb080c089053be99881dd18aa1090
A dialogue will pop up in MetaMask that asks for your confirmation of the generated transaction.
To check whether the exchange of TKN was successful, you can add TKN as a custom token to MetaMask.
0xFF24D15afb9Eb080c089053be99881dd18aa1090
Now you’re good to go! Check out the other Tutorials and get started with µRaiden!