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!).
$ npm i
$ ganache-cli -m "nose phone clip fee agent crop decorate spell album february oppose anxiety"
$ npm run test
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.