210 lines
5.9 KiB
JSON
210 lines
5.9 KiB
JSON
{
|
|
"name": "express",
|
|
"type": "server",
|
|
"language": "typescript",
|
|
"x402Version": 2,
|
|
"extensions": [
|
|
"bazaar",
|
|
"eip2612GasSponsoring",
|
|
"erc20ApprovalGasSponsoring"
|
|
],
|
|
"endpoints": [
|
|
{
|
|
"path": "/exact/avm",
|
|
"method": "GET",
|
|
"description": "Protected endpoint requiring payment on AVM network",
|
|
"requiresPayment": true,
|
|
"protocolFamily": "avm"
|
|
},
|
|
{
|
|
"path": "/exact/evm/eip3009",
|
|
"method": "GET",
|
|
"description": "Protected endpoint requiring EIP-3009 payment",
|
|
"requiresPayment": true,
|
|
"protocolFamily": "evm",
|
|
"scheme": "exact",
|
|
"assetTransferMethod": "eip3009"
|
|
},
|
|
{
|
|
"path": "/batch-settlement/evm/eip3009",
|
|
"method": "GET",
|
|
"description": "Protected endpoint exercised by deposit + voucher + recovery voucher + cooperative refund",
|
|
"requiresPayment": true,
|
|
"protocolFamily": "evm",
|
|
"scheme": "batch-settlement",
|
|
"assetTransferMethod": "eip3009"
|
|
},
|
|
{
|
|
"path": "/batch-settlement/evm/permit2",
|
|
"method": "GET",
|
|
"description": "Batch-settlement Permit2 direct endpoint (pre-approved Permit2)",
|
|
"requiresPayment": true,
|
|
"protocolFamily": "evm",
|
|
"scheme": "batch-settlement",
|
|
"assetTransferMethod": "permit2",
|
|
"schemeOptions": {
|
|
"permit2Direct": true
|
|
}
|
|
},
|
|
{
|
|
"path": "/batch-settlement/evm/permit2-eip2612GasSponsoring",
|
|
"method": "GET",
|
|
"description": "Batch-settlement Permit2 endpoint with EIP-2612 gas sponsoring",
|
|
"requiresPayment": true,
|
|
"protocolFamily": "evm",
|
|
"scheme": "batch-settlement",
|
|
"assetTransferMethod": "permit2",
|
|
"schemeOptions": {
|
|
"coldstart": true
|
|
}
|
|
},
|
|
{
|
|
"path": "/batch-settlement/evm/permit2-erc20ApprovalGasSponsoring",
|
|
"method": "GET",
|
|
"description": "Batch-settlement Permit2 endpoint with ERC-20 approval gas sponsoring",
|
|
"requiresPayment": true,
|
|
"protocolFamily": "evm",
|
|
"extensions": [
|
|
"erc20ApprovalGasSponsoring"
|
|
],
|
|
"scheme": "batch-settlement",
|
|
"assetTransferMethod": "permit2",
|
|
"schemeOptions": {
|
|
"coldstart": true
|
|
}
|
|
},
|
|
{
|
|
"path": "/exact/evm/permit2",
|
|
"method": "GET",
|
|
"description": "Protected endpoint requiring Permit2 payment (standard settle, no gas sponsoring)",
|
|
"requiresPayment": true,
|
|
"protocolFamily": "evm",
|
|
"scheme": "exact",
|
|
"assetTransferMethod": "permit2",
|
|
"schemeOptions": {
|
|
"permit2Direct": true
|
|
}
|
|
},
|
|
{
|
|
"path": "/exact/evm/permit2-eip2612GasSponsoring",
|
|
"method": "GET",
|
|
"description": "Protected endpoint requiring Permit2 payment with EIP-2612 gas sponsoring",
|
|
"requiresPayment": true,
|
|
"protocolFamily": "evm",
|
|
"scheme": "exact",
|
|
"assetTransferMethod": "permit2",
|
|
"schemeOptions": {
|
|
"coldstart": true
|
|
}
|
|
},
|
|
{
|
|
"path": "/exact/evm/permit2-erc20ApprovalGasSponsoring",
|
|
"method": "GET",
|
|
"description": "Protected endpoint requiring Permit2 payment with ERC-20 approval gas sponsoring",
|
|
"requiresPayment": true,
|
|
"protocolFamily": "evm",
|
|
"extensions": [
|
|
"erc20ApprovalGasSponsoring"
|
|
],
|
|
"scheme": "exact",
|
|
"assetTransferMethod": "permit2",
|
|
"schemeOptions": {
|
|
"coldstart": true
|
|
}
|
|
},
|
|
{
|
|
"path": "/upto/evm/permit2",
|
|
"method": "GET",
|
|
"description": "Protected endpoint requiring Upto Permit2 payment (standard settle, no gas sponsoring)",
|
|
"requiresPayment": true,
|
|
"protocolFamily": "evm",
|
|
"scheme": "upto",
|
|
"assetTransferMethod": "permit2",
|
|
"schemeOptions": {
|
|
"permit2Direct": true
|
|
}
|
|
},
|
|
{
|
|
"path": "/upto/evm/permit2-eip2612GasSponsoring",
|
|
"method": "GET",
|
|
"description": "Protected endpoint requiring Upto Permit2 payment with EIP-2612 gas sponsoring",
|
|
"requiresPayment": true,
|
|
"protocolFamily": "evm",
|
|
"scheme": "upto",
|
|
"assetTransferMethod": "permit2",
|
|
"schemeOptions": {
|
|
"coldstart": true
|
|
}
|
|
},
|
|
{
|
|
"path": "/upto/evm/permit2-erc20ApprovalGasSponsoring",
|
|
"method": "GET",
|
|
"description": "Protected endpoint requiring Upto Permit2 payment with ERC-20 approval gas sponsoring",
|
|
"requiresPayment": true,
|
|
"protocolFamily": "evm",
|
|
"extensions": [
|
|
"erc20ApprovalGasSponsoring"
|
|
],
|
|
"scheme": "upto",
|
|
"assetTransferMethod": "permit2",
|
|
"schemeOptions": {
|
|
"coldstart": true
|
|
}
|
|
},
|
|
{
|
|
"path": "/exact/svm",
|
|
"method": "GET",
|
|
"description": "Protected endpoint requiring payment on SVM network",
|
|
"requiresPayment": true,
|
|
"protocolFamily": "svm"
|
|
},
|
|
{
|
|
"path": "/exact/aptos",
|
|
"method": "GET",
|
|
"description": "Protected endpoint requiring payment on Aptos network",
|
|
"requiresPayment": true,
|
|
"protocolFamily": "aptos"
|
|
},
|
|
{
|
|
"path": "/exact/hedera",
|
|
"method": "GET",
|
|
"description": "Protected endpoint requiring payment on Hedera network",
|
|
"requiresPayment": true,
|
|
"protocolFamily": "hedera"
|
|
},
|
|
{
|
|
"path": "/exact/stellar",
|
|
"method": "GET",
|
|
"description": "Protected endpoint requiring payment on Stellar network",
|
|
"requiresPayment": true,
|
|
"protocolFamily": "stellar"
|
|
},
|
|
{
|
|
"path": "/health",
|
|
"method": "GET",
|
|
"description": "Health check endpoint",
|
|
"health": true
|
|
},
|
|
{
|
|
"path": "/close",
|
|
"method": "POST",
|
|
"description": "Graceful shutdown endpoint",
|
|
"close": true
|
|
}
|
|
],
|
|
"environment": {
|
|
"required": [
|
|
"PORT",
|
|
"EVM_PAYEE_ADDRESS",
|
|
"SVM_PAYEE_ADDRESS",
|
|
"FACILITATOR_URL"
|
|
],
|
|
"optional": [
|
|
"AVM_PAYEE_ADDRESS",
|
|
"APTOS_PAYEE_ADDRESS",
|
|
"HEDERA_PAYEE_ADDRESS",
|
|
"STELLAR_PAYEE_ADDRESS",
|
|
"EVM_RECEIVER_AUTHORIZER_PRIVATE_KEY"
|
|
]
|
|
}
|
|
} |