Skip to content

Latest commit

 

History

History
93 lines (71 loc) · 2.5 KB

File metadata and controls

93 lines (71 loc) · 2.5 KB
title description
SDK Features
Feature parity across TypeScript, Go, and Python SDKs

SDK Features

This page tracks which features are implemented in each SDK (TypeScript, Go, Python v2).

Core

Component TypeScript Go Python
Server
Client
Facilitator

HTTP Framework Integrations

Role TypeScript Go Python
Server Express, Hono, Next.js Gin FastAPI, Flask
Client Fetch, Axios net/http httpx, requests

Networks

Network TypeScript Go Python
evm (EIP-155)
svm (Solana)

Mechanisms

Mechanism TypeScript Go Python
exact/evm (EIP-3009)
exact/svm (SPL)

Extensions

Extension TypeScript Go Python
bazaar
sign-in-with-x
payment-identifier

Client Hooks

Hook TypeScript Go Python
onBeforePaymentCreation
onAfterPaymentCreation
onPaymentCreationFailure
onPaymentRequired (HTTP)

Server Hooks

Hook TypeScript Go Python
onBeforeVerify
onAfterVerify
onVerifyFailure
onBeforeSettle
onAfterSettle
onSettleFailure
onProtectedRequest (HTTP)

Facilitator Hooks

Hook TypeScript Go Python
onBeforeVerify
onAfterVerify
onVerifyFailure
onBeforeSettle
onAfterSettle
onSettleFailure

Extension Hooks

Hook TypeScript Go Python
enrichDeclaration
enrichPaymentRequiredResponse
enrichSettlementResponse

HTTP Server Features

Feature TypeScript Go Python
dynamicPayTo
dynamicPrice
paywall (browser UI)