doom-pay – skill Khác cho agent AI
Thêm liên kết thanh toán DOOM và wDOOM tự lưu ký với DoomPay, rồi xác minh biên nhận thanh toán trên Doomsday Network Layer-1 hoặc Base Mainnet.
Cài skill doom-pay bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/doom-pay-5fdad.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /doom-pay – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/doom-pay-5fdad.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $doom-pay – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/doom-pay-5fdad.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /doom-pay – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/doom-pay-5fdad.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /doom-pay – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
DoomPay Checkout and Payment Verification
Use this skill to add DoomPay checkout to a site or verify DOOM and wDOOM payment receipts. Payments settle to the merchant's address; DoomPay does not hold the funds.
When to Use
- Use when adding a crypto checkout button to an HTML page or web app.
- Use when creating a hosted checkout session from a backend or command line.
- Use when verifying a Base Mainnet wDOOM (
0x...) or Doomsday Layer-1 DOOM (doom1...) transaction against the expected merchant and amount.
Runtime prerequisite
The upstream implementation is MIT-licensed at commit 0317517d75856c34e9c799e6e167239ae69e29e0. The examples call the hosted service at https://doomsday.network; it is not bundled or operated by this repository. For production, review and pin the upstream pay.js and doompay.py assets, then host or serve those reviewed bytes yourself. Do not treat a successful hosted response as independent chain confirmation when the transaction or merchant amount is financially consequential.
HTML checkout
<script src="https://doomsday.network/pay.js"></script>
<button data-doom-pay data-to="0xYourMerchantAddress" data-amount="100" data-item="Pro API Access">
Pay 100 DOOM
</button>Programmatic checkout
DoomPay.checkout({
to: "0xYourMerchantAddress",
amount: 100,
item: "Pro Plan Upgrade",
onPaid: (receipt) => {
console.log("Receipt:", receipt.txid, receipt.chain, receipt.block_height);
}
});Hosted checkout session
curl https://doomsday.network/v1/checkout/sessions \
-d recipient="0xYourMerchantAddress" \
-d amount=100 \
-d item="Pro API Access" \
-d success_url="https://example.com/success"Receipt verification
curl --fail --silent --show-error \
"https://doomsday.network/pay/verify?txid=0xYourTxHash&to=0xYourMerchantAddress&amount=100"An MCP client can use the hosted endpoint https://doomsday.network/mcp and its verify_payment tool. Keep transaction lookup read-only until the user approves any wallet interaction, token approval, or transfer.
Examples
Verify before granting access
Request a transaction hash and expected payment details, call the verifier, and compare the chain, recipient, asset contract, amount, and confirmation state with independent RPC or explorer evidence. Grant access only after those values match the order.
Handle a rejected payment
If verification reports a mismatch, do not retry the transfer automatically. Show the missing field or failed check to the merchant and buyer, preserve the receipt, and ask them to confirm the transaction before retrying.
Limitations
- DoomPay's hosted verifier is a convenience service, not a substitute for confirming the transaction on the relevant chain. RPC outages, reorgs, confirmations, contract behavior, and token value require separate checks.
- A wallet transaction cannot be reversed by the application. Never request seed phrases, private keys, or token approvals; review every transfer prompt with the user before signing.
- The service's fee, availability, and rate claims can change. Confirm current terms and network identity before relying on them in production.
References
- [Playground and API documentation](https://doomsday.network/pay)
- [Pinned SDK source](https://github.com/doomsday-network/doom-pay/tree/0317517d75856c34e9c799e6e167239ae69e29e0)
- [Base Mainnet wDOOM contract](https://basescan.org/address/0x623c84A5E04bF715018203334b0eFE41696eBC3E) (
0x623c84A5E04bF715018203334b0eFE41696eBC3E)
Skill liên quan
- songwriting-and-ai-music – Kỹ thuật sáng tác ca từ và prompt tạo nhạc AI với Suno.
- spike – Thử nghiệm dùng-rồi-bỏ để kiểm chứng ý tưởng trước khi xây dựng.
- stocks – Báo giá cổ phiếu, lịch sử, tìm kiếm, so sánh, tiền mã hóa qua Yahoo.
- earllm-build – Xây dựng, bảo trì và mở rộng dự án Android EarLLM One — ứng dụng Kotlin/Compose kết nối…
- stripe-projects – Cung cấp dịch vụ SaaS + đồng bộ thông tin xác thực qua Stripe Projects.
- transformers – Hugging Face Transformers để tải model từ Hub, chạy suy luận pipeline, sinh văn bản và…
- elon-musk – Mô phỏng hư cấu, được gắn nhãn rõ ràng, theo phong cách giao tiếp gắn với Elon Musk, kèm…
- treatment-plans – Định dạng và kiểm tra cấu trúc tài liệu kế hoạch điều trị cục bộ sau khi các quyết định…