https://github.com/austintgriffith/minimum-viable-payment-channel
Send Ethereum micropayments through signed messages.
https://github.com/austintgriffith/minimum-viable-payment-channel
Last synced: 5 months ago
JSON representation
Send Ethereum micropayments through signed messages.
- Host: GitHub
- URL: https://github.com/austintgriffith/minimum-viable-payment-channel
- Owner: austintgriffith
- Created: 2018-12-03T23:39:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-11T22:53:56.000Z (over 7 years ago)
- Last Synced: 2025-05-06T22:51:25.527Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 103 KB
- Stars: 14
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minimum Viable Payment Channel
[](https://youtu.be/PYJsNwIiHLg)
This screencast walks through a smart contract where one user opens a channel and sends micropayments via off-chain signatures. Then the receiver closes the channel and collects their payment.
-------------------
## Developement
You will want ganache up and running already:
```
ganache-cli
```
Clone and install:
```
git clone https://github.com/austintgriffith/minimum-viable-payment-channel
cd minimum-viable-payment-channel
clevis init
npm i
```
Then compile, deploy, and publish the contracts:
```
clevis test full
```
Then fire up the backend:
```
node backend.js
```
Then fire up the frontend:
```
npm start
```