veriql-eliza
v0.3.0
Published
Veriql plugin for ElizaOS: check a recipient (OFAC, Drain Watch, Tether/Circle freeze) before an agent pays, check a USDT transfer goes through before it is sent, and decode a signing request (approvals, Permit2, EIP-7702) before it signs.
Maintainers
Readme
veriql-eliza
Veriql checks for ElizaOS agents that move money.
| Action | When it fires | Cost |
|---|---|---|
| VERIQL_CHECK_PAYEE | Someone asks the agent to pay an address. Checks the OFAC SDN sanctions list, the Drain Watch list of known drainer and scam addresses, and whether Tether or Circle has frozen the address. Works for EVM, Solana, Bitcoin and Tron addresses. | $0.01 |
| VERIQL_CHECK_SEND | Someone asks the agent to send USDT on Tron or Ethereum, saying from <address> and to <address> (two bare addresses are refused, so the ends are never swapped). Answers both questions in one call: will it go through (frozen sender, unactivated account, too little USDT, too little TRX or ETH for the fee, read off the chain with the exact fee), and should it go there (recipient against OFAC, Drain Watch and Tether's freeze list). Tether checks the sender, not the recipient, so USDT sent to a frozen address confirms and can never leave. Answers do_not_send, will_fail, may_fail, goes_through or incomplete. | $0.01 |
| VERIQL_CHECK_SIGNATURE | Someone asks the agent to sign calldata or EIP-712 typed data. Decodes approvals, Permit and Permit2, EIP-7702 delegations, transfers and revokes. Answers block, warn or allow. | $0.01 |
| VERIQL_CHECK_DENYLIST | A free, instant screen against OFAC SDN plus Drain Watch. | free |
Each action reads the address or payload out of the message. If the message doesn't contain one, the action doesn't fire, and it never guesses. The reply is the server's own one-line summary, for example "Do not pay this address. Address is OFAC-sanctioned."
Veriql is read-only. It never asks for your agent's wallet key, never signs a transaction and never moves funds.
Install
npm install veriql-elizaimport veriqlPlugin from "veriql-eliza";
export const character = {
name: "Treasurer",
plugins: [veriqlPlugin],
// ...
};Built for @elizaos/core 1.x.
Settings
| Setting | |
|---|---|
| VERIQL_API_KEY | Calls spend prepaid credits and nothing is signed. A free key with 250 calls is at https://veriql.app/api/checkout?pack=free. |
| VERIQL_X402_PRIVATE_KEY | Without an API key: an EVM key whose USDC on Base pays each call over x402. Use a dedicated low-balance key. The plugin never reaches for another plugin's wallet key. |
| VERIQL_MAX_PAYMENT_USDC | The most one x402 call may cost. Default 0.05. A higher price is refused before anything is signed. |
With neither key set, only the free denylist check works, and the plugin logs a warning at startup saying so.
What the answers mean
- "No known risk" or
allowmeans nothing adverse was found when the check ran. It's not a guarantee. - An incomplete result means a check couldn't run. Treat the address as unverified, not as clean.
goes_throughmeans every check on both ends answered and nothing blocks the transfer. It's not a guarantee about the recipient.will_failanddo_not_sendstand even when another check could not run.- Every failure returns
success: falsewith text telling the agent to treat the input as unverified. A failure is never reported as clean.
Licence
MIT.
