Chèque

A quick and effective way to send USDC to someone without having to care about what wallet they use.

ETHGlobal BrusselsShipped July 12, 2024Prize winner#payments#circle
Repo
Chèque banner

About

Sending tokens to someone IRL can be cumbersome, they have to have a mobile wallet ready (with an address they are okay doxxing) set up with the correct network, and you have to have these tokens on your own wallet, the gas to send them and the right network.

My project basically makes this process as easy as it should: you (the person sending money) generate a QRCode on your phone, your recipient can simply scan it with their camera and they'll get access to a signature they can use to claim the money you sent. They are redirected to a website that lets them claim immediately if they have a compatible mobile wallet, but they can also just hold on to that signature and process it later when they have access to their wallet.

The payer doesn't need to care about how their recipient manages their crypto, likewise the recipient doesn't need to know how the payer manages their crypto. It's like a bank check (hence the name Chèque).

How it's made

There are four subprojects in Chèque: * a mobile app, done with React Native, this app integrate Circle's Programmable Wallet API; I first started with the User-controlled wallets but realized it would take too much time to make the WebSDK work on mobile, so I continued with the Developer-controlled wallets, it was fairly easy to integrate while not being too opinionated

  • an API server; I had to make this quick backend subproject in order to work with Circle's Programmable Wallets API as it requires computing secrets in order to communicate with it, it was made with Node.js
  • a WebApp (React/Tailwind/Vite); it's the website that the QRCode redirects to in order to let the recipient claim their money easily (if they want, and also for the demo); although it's a webapp, it was made to work with mobile (because the user gets there with a QRCode, so using their phone), it has an intuitive interface that lets the user know how much they can claim, and a simple "Connect Wallet" button; once connected, the user can just click on "Claim" and confirm their transaction
  • a Smart Contract (Foundry): the project works thanks to a smart contract containing two important functions, "lockUSDC" that the payer calls to create a chèque, and "claim" that the recipient calls with the signature encoded in the QRCode in order to claim the money

There's also a Redis instance (with upstash) I use to persist some data, mainly user ids. The app was built with Expo, the WebApp deployed to Vercel and the API deployed to Render.

Prizes

  • Circle · Best Application for Cross-Border Payments · Best Application for Cross-Border Payments

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

CirclePay

CirclePay: Send USDC gas-free! ✨ Just sign, and let others cover the gas ⛽️—funded by ads 📺. Cross-chain ready with Chainlink