Oracle3
Oracle3: 예측시장 거래 엔진·MCP 서버
x402는 인터넷 결제 표준으로, 네이티브 결제를 위한 개방형 표준이며 대규모 에이전시 결제를 가능하게 합니다
x402 is the internet's payment standard. An open standard for internet-native payments that empowers agentic payments at scale. Build a more free and fair internet.
금융TypeScript · PythonGitHub @x402-foundation온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기A payments protocol for the internet. Built on HTTP.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
x402 is an open standard for internet native payments. It aims to support all networks (both crypto & fiat) and forms of value (stablecoins, tokens, fiat).
See all the packages available in the Typescript SDK, including chain implementations of x402, code examples and integration guides.
See the python/x402 folder for code examples and integration guides.
See the go/ folder for code examples and integration guides.README 전문 보기 ↗x402 is an open standard for internet native payments. It aims to support all networks (both crypto & fiat) and forms of value (stablecoins, tokens, fiat).
app.use(
paymentMiddleware(
{
"GET /weather": {
accepts: [...], // As many networks / schemes as you want to support
description: "Weather data", // what your endpoint does
},
},
),
);
// That's it! See examples/ for full details
See all the packages available in the Typescript SDK, including chain implementations of x402, code examples and integration guides.
# All available reference sdks
npm install @x402/core \
@x402/evm @x402/svm @x402/avm @x402/aptos @x402/casper @x402/stellar @x402/tvm @x402/hedera @x402/keeta @x402/canton \
@x402/axios @x402/fastify @x402/fetch @x402/express @x402/hono @x402/next @x402/paywall @x402/extensions @x402/mcp
# Minimal Fetch client
npm install @x402/core @x402/evm @x402/svm @x402/fetch
# Minimal express Server
npm install @x402/core @x402/evm @x402/svm @x402/express
See the
python/x402folder for code examples and integration guides.
pip install x402
See the
go/folder for code examples and integration guides.
go get github.com/x402-foundation/x402/go/v2
Community: join the x402 Slack to ask questions, discuss ideas, and share what you're building.
Curated third-party SDKs, extensions, and facilitators are listed in the Developer Tools docs. For broader discovery of x402 services and integrations, see community-maintained directories such as x402scan.com, Agentic.Market, Pay.sh, app.ampersend.ai/discover, and x402-list.com.
Documentation: see docs/ for the published documentation source (Mintlify). Payment schemes include exact, upto, and batch-settlement; specifications live under specs/schemes/.
For testnet development and quickstarts, the public x402 facilitator is the easiest way to get started. For production mainnet routes, decide on your facilitator model explicitly:
Do not assume the public x402.org facilitator is the default production path for mainnet EVM routes. See the Facilitator docs, Facilitators directory, and Networks & Token Support for operator guidance.
resource: Something on the internet. This could be a webpage, file server, RPC service, API, any resource on the internet that accepts HTTP / HTTPS requests.client: An entity wanting to pay for a resource.facilitator: A server that facilitates verification and execution of payments for one or many networks.resource server: An HTTP server that provides an API or other resource for a client.See specs/ for full documentation of the x402 standard/
x402 payments typically adhere to the following flow, but servers have a lot of flexibility. See advanced folders in examples/.
The following outlines the flow of a payment using the x402 protocol. Note that steps (1) and (2) are optional if the client already knows the payment details accepted for a resource.
Client makes an HTTP request to a resource server.
Resource server responds with a 402 Payment Required status and a PaymentRequired b64 object return as a PAYMENT-REQUIRED header.
Client selects one of the PaymentRequirements returned by the server response and creates a PaymentPayload based on the scheme & network of the PaymentRequirements they have selected.
Client sends the HTTP request with the PAYMENT-SIGNATURE header containing the PaymentPayload to the resource server.
Resource server verifies the PaymentPayload is valid either via local verification or by POSTing the PaymentPayload and PaymentRequirements to the /verify endpoint of a facilitator.
Facilitator performs verification of the object based on the scheme and network of the PaymentPayload and returns a Verification Response.
If the Verification Response is valid, the resource server performs the work to fulfill the request. If the Verification Response is invalid, the resource server returns a 402 Payment Required status and a Payment Required Response JSON object in the response body.
Resource server either settles the payment by interacting with a blockchain directly, or by POSTing the Payment Payload and Payment PaymentRequirements to the /settle endpoint of a facilitator server.
Facilitator server submits the payment to the blockchain based on the scheme and network of the Payment Payload.
Facilitator server waits for the payment to be confirmed on the blockchain.
Facilitator server returns a Payment Execution Response to the resource server.
Resource server returns a 200 OK response to the Client with the resource they requested as the body of the HTTP response, and a header containing the as Base64 encoded JSON if the payment was executed successfully.
A scheme is a logical way of moving money.
Blockchains allow for a large number of flexible ways to move money. To help facilitate an expanding number of payment use cases, the x402 protocol is extensible to different ways of settling payments via its scheme field.
Each payment scheme may have different operational functionality depending on what actions are necessary to fulfill the payment.
For example, exact transfers a specific amount (for example, pay $1 to read an article). upto authorizes up to a maximum per request; the seller settles the actual usage, up to that cap. batch-settlement (EVM) uses escrow and off-chain vouchers so sellers can redeem many small charges onchain in batches instead of settling every HTTP request separately.
See specs/schemes for full scheme specifications; specs/schemes/exact/scheme_exact_evm.md describes exact payments on EVM chains.
Because a scheme is a logical way of moving money, the way a scheme is implemented can be different for different blockchains. (ex: the way you need to implement exact on Ethereum is very different from the way you need to implement exact on Solana).
Clients and facilitators must explicitly support different (scheme, network) pairs in order to be able to create proper payloads and verify / settle payments.
PAYMENT-RESPONSESettlement Response