UNPKG

@agentek/tools

Version:

Blockchain tools for AI agents

32 lines 1.35 kB
import { createToolCollection } from "../client.js"; import { getSlowStatus, predictTransferId, canUnlockSlow, reverseSlowTransfer, getSlowGuardianInfo, approveSlowTransfer, } from "./tools.js"; import { intentDepositToSlow, intentSetSlowGuardian, intentWithdrawFromSlow, intentApproveSlowTransfer, intentUnlockSlow, intentReverseSlowTransfer, } from "./intents.js"; /** * Export an array of tools for slow transfer protocol. * LINK: https://github.com/z0r0z/slow * SLOW is a protocol that adds safety mechanisms to token transfers through two powerful features: * * Timelock: Enforces a waiting period before recipients can access transferred tokens * Guardian: Optional trusted party that can approve or block transfers * Think of it as a security-enhanced way to transfer ETH and ERC20 tokens with built-in protection mechanisms. * */ export function slowTransferTools() { return createToolCollection([ // tools getSlowStatus, predictTransferId, canUnlockSlow, reverseSlowTransfer, getSlowGuardianInfo, approveSlowTransfer, // intents intentDepositToSlow, intentSetSlowGuardian, intentWithdrawFromSlow, intentApproveSlowTransfer, intentUnlockSlow, intentReverseSlowTransfer, ]); } //# sourceMappingURL=index.js.map