meetsiraja / ethereum-payment-channel

An implementation of Ethereum payment channels. Off-chain transactions with on-chain settlement

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ethereum Payment Channel

Ethereum payment channels allow for off-chain transactions with an on-chain settlement. Parties open one channel with a deposit, continue to sign and verify transactions off-chain, and close the channel with one final transaction, on-chain.

Setup

Clone the repo and run npm install. You will need truffle installed globally

Compile & migrate

truffle compile
truffle migrate

Run tests

Make sure you have testrpc running and listening on port 8545

truffle test

About

An implementation of Ethereum payment channels. Off-chain transactions with on-chain settlement

License:MIT License


Languages

Language:JavaScript 100.0%