Build a Webhook service for Solana Pay

By

By

Jon Wong

Jon Wong

Feb 6, 2023

Feb 6, 2023

Problem to Solve:

Current web3 payment services use "frontend polling" which is an inefficient method of fetching from the API by repeatedly calling the endpoint to check for the availability of transaction data on the blockchain. This method is not fast enough for payment products and services, hence an event-driven architecture is required.

Possible Solution:

Create an event-based, webhook architecture for Solana Pay [they're currently using a frontend polling mechanism].

An efficient way to build this would be to adapt a Helius webhook, that can facilitate monitoring over 100,000 addresses and is easier to integrate into existing payment solutions.


Resources:

  1. Solana Pay SDK

  2. Helius Docs

  3. A list of Payments projects that have won Solana global hackathons in the past

© 2023 Superteam. All rights reserved.

© 2023 Superteam. All rights reserved.

© 2023 Superteam. All rights reserved.