Inspiration

I couldn't find blockchain solution for delayed payments on Polygon blockchain and decided to develop it.

What it does

You can create Payment Voucher with locked tokens on our smart-contract. Show this voucher (QR-code or send secret URL) to another user and he will be able to get this tokens.

To start using:

Login using your Metamask wallet. Generate payment Vouchers (lock your funds). Send link or show QR-code to make a payment.

Challenges we ran into

Main challenge: How to store Vouchers (private info that allow to take payment from voucher) in blockchain that is public.

Solution: Public key for each voucher stored in blockchain and private key exists in browser local storage. To generate secret url and make transfer funds we using both keys.

Accomplishments that we're proud of

Owner can set expiration date for each voucher. Ability to get just part of locked amount. Rest funds will be returned to the Voucher owner. Low Gas and no commission for payments.

What we learned

How to use Polygon Blockchain. How to work with private/public keys. How to transfer funds. How to write tests.

Built With

Share this project:

Updates