Skip to content

Instantly share code, notes, and snippets.

@thejollyrogers
thejollyrogers / gist:b114b5a98fa11a5a4ad0
Last active October 13, 2018 20:49
Simple steps to start a Stellar Gateway

You can become your own gateway in two simple steps! Here we'll show how easy it is to issue your own currency on the Stellar network.

Extending trust & issuing credit

1: A user extends trust to your gateway account for a "maximum" amount of your currency. Remember, they're trusting you'll honor whatever your currency represents when they give it back to you.

$ curl -X POST https://test.stellar.org:9002  -d '
{
    "method": "submit",
@mjallday
mjallday / README.mkd
Created October 8, 2013 21:21
HANGMAN

Make a client

curl http://balanced-hangman.herokuapp.com

Hopefully you'll see something like

{
 "index": "/", 
 "me": "/me", 
@dstaley
dstaley / README.md
Created December 10, 2012 19:50
Save Money with IronWorker and Dwolla

Save Money with IronWorker and Dwolla

This is a simple script that asks you for a savings goal and a deadline. It then calculates how much money you need to save per day to reach your goal, and then schedules withdrawals from one of your Dwolla funding sources. It aims to be a "set and forget" way to save money.

Requirements

The script requires that you have Ruby and the following gems installed:

  • iron_worker_ng
  • typhoeus
  • chronic
  • json