Install
openclaw skills install tyrpay-seller-skillSeller-side TyrPay workflow for LLM agents. Accept tasks, execute zkTLS-proven API calls, submit proof bundles, and monitor settlement.
openclaw skills install tyrpay-seller-skillUse this skill when an agent needs to act as the seller in a TyrPay payment flow.
It assumes the runtime already has a configured SellerAgent, a readable settlement
contract, and access to the @tyrpay/seller-skill tool set.
@tyrpay/seller-skill, @tyrpay/seller-sdk, a storage adapter, and a zkTLS adapter.SellerAgent with a signer, settlement address, chain ID, storage adapter, and zkTLS adapter.createSellerTools({ agent, contract, verifierSignerAddress }) with your tool-calling runtime.tyrpay_ready before the first task workflow.tyrpay_accept_task when you receive a taskId from a buyer.tyrpay_ready to verify signer access and storage adapter connectivity.taskId, call tyrpay_accept_task with your execution terms.tyrpay_check_settlement).tyrpay_execute_task for each required upstream API call.tyrpay_submit_proof with the full set.tyrpay_check_settlement to monitor whether verification released payment.SellerSkillToolError errors.tyrpay_accept_task reads the on-chain task to derive buyer and verifier addresses.verifierSignerAddress is the registry-authorized verifier signer embedded
into ExecutionCommitment.verifier; it is not a settlement contract,
verifier registry, service URL, or verifier service contract address.getTask(bytes32) with the
current TyrPaySettlement.Task field order:
taskId, taskNonce, buyer, seller, token, amount, deadlineMs,
commitmentHash, commitmentURI, fundedAtMs, proofBundleHash,
proofBundleURI, proofSubmittedAtMs, reportHash, settledAtMs,
refundedAtMs, status.tyrpay_execute_task requires the commitment object returned by tyrpay_accept_task.tyrpay_submit_proof requires all receipts collected from tyrpay_execute_task calls.PAID on successful settlement and NOT_PAID_REFUNDED on refund.getTask(). A
stale ABI or positional mapping can shift fields and make seller-skill parse
commitmentHash, timestamps, or status from the wrong slot.MemoryStorageAdapter for a real multi-party flow. It returns
memory:// URIs that only the same JavaScript process can read. Buyer and
verifier processes need persistent shared storage such as 0G, IPFS, or HTTP.ExecutionCommitment
object is different from the object originally submitted. Chain data alone is
insufficient to reconstruct it; fetch it from commitmentURI or ask the
creator for the exact object.ReclaimZkTlsAdapter needs @reclaimprotocol/zk-fetch,
@reclaimprotocol/js-sdk, credentials, and downloaded zk resources. Install
those optional peer dependencies in the runtime that constructs the adapter.
Windows runtimes must keep Reclaim TEE mode disabled.references/tool-reference.md for the tool contract and status model.