A scaling solution built on top of a blockchain that uses cryptography and economic guarantees to maintain desired levels of security. For example, small transactions can occur using a multi-signature payment channel. A blockchain is used only when funds are added to the channel or withdrawn.