Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@sharafian
sharafian / README.md
Created September 29, 2017 22:17
Script for ILP Credentials on XRP Testnet

ILP Credentials

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:

@sharafian
sharafian / index.html
Created September 20, 2017 00:05
XRP TX log for an account
<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')
@sharafian
sharafian / fakenpm.sh
Created January 25, 2017 14:18
Run NPM scripts without actually using NPM
#!/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"
@sharafian
sharafian / README.md
Last active November 21, 2017 01:28
ILP Kit Guide