pull down to refresh

WebHooks in Alby & ZapSplitter

the Alby Wallet API now has webhooks! This means that services that plug to an Alby Lightning wallet can now be automatically and instantly notified when a payment is received or sent in the wallet. Examples of such services include podcast player Podverse or, on the producing-side of podcasting, podcasting service Conshax. Having webhooks means that those services no longer need to constantly poll an Alby wallet's API to learn about new transactions, but will instead be automatically notified as the transaction occurs.
As always, the Alby team created a new service to showcase this new feature. ZapSplitter allows you to create splits à la Lightning Prisms: when someone pays your Lightning Address, the payment will be automatically split between a set of Lightning addresses, in proportions that you set up. For example, any payment sent to fm@getalby.com will be split equally between 5 Geyser crowdfunding projects I chose. Cool!
WebHooks over polling is a win win. Easier for clients and reduces the load on the server. Nice!
ETA: I guess there is the caveat that the client needs to be publicly routable, which certainly adds complexity. So maybe easier is the wrong word, but it’s definitely nice to remove the use of polling.
reply