Ben Sharafian
Mar 19, 2018 · 2 min read

Moneyd is a daemon that lets programs on your computer use the Interledger network. You can think of it as your “home router” for the internet of value. If you’re new to Interledger, this is a good place to start.

Moneyd uses “uplinks” to connect to Interledger. So far, we’ve published moneyd-uplink-xrp, which uses payment channels on XRP to connect to peer with an Interledger connector. We’re working on modules for Ethereum and Lightning too, but they’re not yet ready to publish. Stay tuned for progress on them.

In this tutorial, I’ll describe how you can join the ILP testnet without having any previous experience with Interledger.

Install Moneyd

Before you start, you’ll need to set up Node.js on your machine.

Once you’ve done that, you can install and configure moneyd from the command-line.

npm install -g moneyd moneyd-uplink-xrp
moneyd xrp:configure --testnet
moneyd xrp:start --testnet

Congratulations! You’re connected to the Interledger testnet!

Explanation

I’ll break down what just happened. When you run moneyd xrp:configure --testnet, Moneyd will:

  • Query the XRP testnet for a new secret and address, which comes with 10,000 test XRP
  • Pick a connector from the list of “bootstrap nodes” for the Interledger testnet. As of right now, the only public connector on the testnet is called “Amundsen.”
  • Write a configuration file with these details to ~/.moneyd.test.json

When you run moneyd xrp:start --testnet:

  • Moneyd loads ~/.moneyd.test.json and instantiates an ILP Connector.
  • The connector opens a websocket connection to its peer, “Amundsen,” and creates an XRP payment channel.
  • The connector listens on a local port to process ILP payments.

Interledger Blog

Articles and tutorials from the Interledger community.

Ben Sharafian

Written by

Co-founder and CTO @Coil

Interledger Blog

Articles and tutorials from the Interledger community.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade