Skip to content

Instantly share code, notes, and snippets.

View AnthonyGilliam's full-sized avatar

Anthony AnthonyGilliam

View GitHub Profile
@AnthonyGilliam
AnthonyGilliam / aurelia-event-aggregator.js
Created May 5, 2017 14:41
Correcting bugs in aurelia-event-aggregator.js concerning pub/sub functionality.
import * as LogManager from 'aurelia-logging';
const logger = LogManager.getLogger('event-aggregator');
class Handler {
constructor(event, callback) {
this.event = event;
this.callback = callback;
}
@AnthonyGilliam
AnthonyGilliam / Satoshi Measuring System.md
Last active July 28, 2020 11:18
A simple way to account satoshi and bitcoin

Abstract

Satoshi Nakamoto invented Bitcoin and the blockchain protocol. These two technologies have irrevocably changed the world by transforming the way humans can accomplish commerce and finance. The smallest unit a single bitcoin can be divided into is named a Satoshi, in honor of its inventor.

This proposal is to form a measurement system to count satoshi and bitcoin. The name Satoshi Nakamoto is Japanese in origin. Satoshi means ‘Intelligent History’ (one with smart/wise ancestry)1 while Nakamoto means ‘central origin’ or ‘(one who lives) in the middle’2. The Nakamoto surname is found mostly in the Ryukyu islands close to the cost of Japan2. It would be fitting to form the measurement system for satoshi in a Japanese manner.

Terms

One satoshi is equal to 1/100,000,000 (one one-hundred millionth) of a bitcoin which is 0.00000001 bitcoin.

In the Japanese language, the words ‘ichi’, ‘ni’, and ‘san’ mean one, two, and three. We can extrapolate t

@AnthonyGilliam
AnthonyGilliam / Charter for a Peer-to-Peer DAO.md
Last active January 27, 2023 23:31
Charter for a Peer-to-Peer DAO

Peer-to-Peer DAO Charter

Formation

The P2P DAO (Peer-to-Peer Decentralized Autonomous Organization), expressed as “P2PD”, is an organization whose operating rules govern the assembly of products produced, services performed, and distribution of revenue toward every member of the organization. The P2PD’s operating rules are established by this charter in the form of a Ricardian Contract whereas the rules are described in plain English within this document and simultaneously executed exactly as described using digital software code, blockchain, and smart contracts. All members of the P2PD must abide by this contract in order to receive any revenue or benefits generated by the P2PD.

Revenue

The P2PD is a for-profit organization. All received payments to the P2PD for subscriptions, products sold , services rendered, and reserve gains are considered “Revenue”. Revenue is distributed to all active members of the P2PD in proportion to their member type and/or contributor position. Disbursement of reve