In order to limit the environmental impact of blockchain, scaling must move off chain. Payment channels on efficient PoS chains like Tezos enable fast, trust-minimized, and eco-friendly payments.

We implemented a simple payment channel smart contract on Tezos, and a JavaScript client to sign valid payment channel claims that can be claimed to close the channel. This is a unidirectional, or one way payment channel: the sender escrows money, signs claims to the receiver, and the receiver, whenever they desire, can close the channel to claim the amount the sender signed in a message. Since a payment is simply a message sent off chain, less on-chain transactions are required for multiple payments between two parties.

Built With

Share this project: