dorkhub

ultrasonic-payments

Experiment using ultrasonic data transmission in JavaScript as a payment method. πŸ’Έ

charliegerard
JavaScriptβ˜… 163β‘‚ 20 forksMITupdated 4 years ago
visit the demogit clone https://github.com/charliegerard/ultrasonic-payments.gitcharliegerard/ultrasonic-payments

Ultrasonic payments

⚠️ This is not a real Stripe product ⚠️

I've been experimenting with ultrasonic data transmission in the context of ultrasonic payments. This repository contains a small demo sending a Stripe Payment Link between a merchant's transmitter device (e.g. tablet) and a customer's receiver (e.g. mobile phone).

It is relying on quiet.js and sends data via inaudible sounds.

GIF showing how I am sending a Stripe Payment Link via ultrasound to my phone

If you want to try it out, play around with the live demo, and if you want to learn more, check out the blog post.

How to run

If you want to run this locally, start by cloning this repository, and start a Python server with:

# Using Python 2
python -m SimpleHTTPServer 3000

# Using Python 3
python -m http.server 3000

more like this

q5xjs

A small and fast alternative (experimental) implementation of p5.js

JavaScriptβ˜… 574

search

search projects, people, and tags