Skip to content

Instantly share code, notes, and snippets.

View MacDue's full-sized avatar
:shipit:

Benjamin Maxwell MacDue

:shipit:
View GitHub Profile
const snekfetch = require('snekfetch');
const EventEmitter = require('events');
const BASE_URL = 'http://discoin.sidetrip.xyz';
const endpoints = {
transactions: '/transactions',
transaction: '/transaction'
};
class DiscoinError extends Error {