Skip to content

An implementation of Ethereum payment channels. Off-chain transactions with on-chain settlement, partial withdraw possible and is signing readable message (like from Metamask)

License

Notifications You must be signed in to change notification settings

adamskrodzki/ethereum-payment-channel

 
 

Repository files navigation

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, partial withdraw possible and is signing readable message (like from Metamask)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%