Add privacy to anything
Pick an app and see what the chain records about one payment. Then add Gloam and run the same payment again.
Simulation, no real funds
The app
A fan tips a writer 5 USDG.
Ines Moreau
A weekly letter on how cities move.
Tips go to 0x9C4e…b21F
- Done: Signed in the fan's wallet
- Done: Sent from 0xA11c…7e21
- Done: Tip received
Shows the change and runs the same payment again.
tip.ts · today
// tip.ts: the Tip button on your pageconst USDG = "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168";const WALLET = "0x9C4e…b21F"; // yours export function tipLink(amount = "5") { // Opens the fan's wallet with a USDG transfer to you. const to = `address=${WALLET}&uint256=${amount}e6`; return `ethereum:${USDG}@4663/transfer?${to}`;}TypeScript, with @gloamtrade/sdk 0.4.0 and viem
What a block explorer shows
Robinhood ChainTransaction0x7f3a9c…a2c91dSuccess
Amount5.00 USDG
Calltransferto, amount
Anyone can see the fan paid the writer 5.00 USDG, and open either wallet's history.
Still public with Gloam: adding money to a private balance, and cashing out. Both show the wallet, the token and the amount.