eolszewski / simple-payment-channel

Example code leveraging a simple one-way payment channel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simple-payment-channel Build Status Coverage Status

Smart contract and tests leveraging a simple one-way payment channel.

For more information on this payment channel, here's an article on medium I wrote to give you an overview.

If you'd like to see this implemented in a web application with Metamask integration, I am currently working on that here (even using IPFS pubsub for decentralized messaging!).

Running the tests

$ npm i
$ ganache-cli -m "nose phone clip fee agent crop decorate spell album february oppose anxiety"
$ npm run test

Contributing / Issues

If you find any problems with this repository or see any ways that it can be improved, please feel free to submit a pull request or log an issue.

About

Example code leveraging a simple one-way payment channel

License:MIT License


Languages

Language:JavaScript 100.0%