-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpaynode-config.json
More file actions
51 lines (51 loc) · 1.86 KB
/
paynode-config.json
File metadata and controls
51 lines (51 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"protocol": {
"version": "1.4.0",
"treasury": "0x598bF63F5449876efafa7b36b77Deb2070621C0E",
"fee_bps": 100,
"min_payment_amount": 1000
},
"error_codes": {
"rpc_error": "Failed to connect to any provided RPC nodes.",
"insufficient_funds": "Wallet lacks USDC or ETH for gas.",
"amount_too_low": "Payment amount is below the protocol minimum (1000).",
"token_not_accepted": "The provided token address is not in the whitelist.",
"transaction_failed": "On-chain transaction reverted or failed.",
"duplicate_transaction": "This transaction hash has already been consumed.",
"invalid_receipt": "The provided receipt (TxHash) is malformed or invalid.",
"internal_error": "An unexpected error occurred.",
"transaction_not_found": "Transaction not found on-chain.",
"wrong_contract": "Payment event was not emitted by the official PayNode contract.",
"order_mismatch": "OrderId in receipt does not match requested ID.",
"missing_receipt": "Please pay to PayNode contract and provide 'PAYMENT-SIGNATURE' header."
},
"networks": {
"base": {
"name": "Base Mainnet",
"chainId": 8453,
"rpcUrls": [
"https://mainnet.base.org",
"https://base.meowrpc.com",
"https://1rpc.io/base"
],
"explorer": "https://basescan.org",
"router": "0x4A73696ccF76E7381b044cB95127B3784369Ed63",
"tokens": {
"USDC": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}
},
"baseSepolia": {
"name": "Base Sepolia (Sandbox)",
"chainId": 84532,
"rpcUrls": [
"https://sepolia.base.org",
"https://base-sepolia-rpc.publicnode.com"
],
"explorer": "https://sepolia.basescan.org",
"router": "0x24cD8b68aaC209217ff5a6ef1Bf55a59f2c8Ca6F",
"tokens": {
"USDC": "0x65c088EfBDB0E03185Dbe8e258Ad0cf4Ab7946b0"
}
}
}
}