Skip to content

Instantly share code, notes, and snippets.

sharafian /
Created Sep 29, 2017
Script for ILP Credentials on XRP Testnet

ILP Credentials

Just save to your machine, and run source ./ 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:

sharafian / index.html
Created Sep 20, 2017
XRP TX log for an account
View index.html
<html><script src=""></script><link href="" 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://')
sharafian /
Created Jan 25, 2017
Run NPM scripts without actually using NPM
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"
sharafian /
Last active Nov 21, 2017
ILP Kit Guide