Skip to content

Instantly share code, notes, and snippets.

pragma solidity ^0.4.0;
import "SafeMath.sol";
import "IERC20Token.sol";
/**
* @dev Implements a capped token sale using a second-price auction.
*
* @author Nick Johnson <arachnid@notdot.net>
*
@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",