Guide to setting up your very own ILP Kit. Estimated time: a couple of hours.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
export PATH="`pwd`/node_modules/.bin/:$PATH" | |
CMD="`cat package.json | jq -r ".scripts.$1"`" | |
echo -e "Running \x1b[32m'$CMD'\x1b[39m ... " | |
eval "$CMD" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html><script src="https://cdnjs.cloudflare.com/ajax/libs/cell/1.1.0/cell.js"></script><link href="https://gliechtenstein.github.io/hehehe/hehehe.css" rel="stylesheet"><script> | |
var myAccount = 'rwE8hT4CK5REwiJ2WMPnRrMVrSFxxnvKB4' // change this to your account | |
var cell = { | |
$components: [ | |
{ $components: [], class: "container", | |
_add: function(data) { | |
this.$components = [this._item(data)].concat(this.$components).slice(0,50) | |
}, | |
$init: function() { | |
this._ws = new WebSocket('wss://s.altnet.rippletest.net:51233') |
Just save ilp_creds.sh
to your machine, and run source ./ilp_creds.sh
in bash.
It will fetch you XRP testnet credentials from the faucet, and export them into your shell in
the variables ILP_CREDENTIALS
and ILP_PLUGIN
.
In this shell, you can now use ILP tools such as ilp-curl, which will use your new testnet credentials.
To save your testnet credentials into your .bashrc
, run: