AI agents are starting to hold money, and today that usually means handing the agent a key and hoping the prompt holds. One prompt injection or bad tool call and the funds are gone. I built Leash at NEAR HACKATHON: the agent never holds the money. It can only ask a NEAR smart contract to pay, and the contract decides. What NEAR does here: the Rust contract is the vault and enforces the rules onchain. The agent has its own NEAR account and can only call request_payment. The owner signs in with a NEAR wallet to approve, edit the rules or pause. Rules the contract enforces: • max per payment and per day • recipient allowlist • risk score check • owner approval above a set amount • emergency pause • every attempt, even blocked ones, logged onchain In the video: → 0.1 NEAR to the vendor: within rules, paid → 0.3 NEAR: held until the owner approves, then paid → unknown wallet: blocked The AI can be fooled. The contract can’t. Try it yourself (testnet): https://t.co/9uDxFBKNfi Code: https://t.co/P1tlyjsXSF What would you want an AI agent to never be able to do with your wallet? Built at NEAR HACKATHON @NEARProtocol #NEARHackathon
Beauty BenedictShare
Source:Show original
Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of KuCoin. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. KuCoin shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information.
Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. For more information, please refer to our Terms of Use and Risk Disclosure.