biii

v0.2.1
io.github.philpof102-svg/biii Checked 2 days ago Published 4 months ago

Fail-closed safe-to-pay verdicts on Base: known-bad wallets, look-alike tokens, repeat rug funders.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

till_vet_merchant

MainStreet safe-to-pay preflight on a merchant address. Returns the hosted oracle read (advisory) AND a LOCAL CLASSIFIER verdict computed on this node via trust-core (pure, zero-oracle) — so a verdict holds even if the oracle is down. Vet the RECIPIENT before paying.

ParameterTypeDescription
address *string0x merchant address
resourceUrlstringoptional — the endpoint/resource URL you would pay; enables the local phishing/plain-http/admin-path URL lens

till_create_charge

Create a USDC-on-Base charge for a real-world merchant. Returns the charge + the EIP-681 payment URI your OWN wallet must execute (basetill holds no key, moves no funds).

ParameterTypeDescription
amountUsd *stringe.g. "4.50"
to *stringmerchant 0x address (their own wallet — non-custodial)
labelstring
orderIdstring

till_check_payment

Watch Base for the USDC transfer paying a charge and verify it FIELD-FOR-FIELD (wrong chain/token/recipient/underpay/unconfirmed = NOT paid). Only the chain says paid — verification is chain-only and never depends on any trust signal. Pass withTrust:true to ALSO get the payee's advisory MainStreet trust in the same call (advisory, never changes the paid verdict).

ParameterTypeDescription
amountMicro *string
to *string
lookbackBlocksnumberdefault 900 (~30 min on Base)
withTrustbooleanoptional — also return advisoryTrust (MainStreet safe-to-pay on the payee); does NOT affect the chain-only paid verdict

till_trust

The TRUST TRIANGLE in one call: composes reputation, standing (LAWBOR proven history, if BIII_LAWBOR_URL set) and settlement (on-chain, if amountMicro given) into ONE verdict (unsafe/unknown/trusted/settled). Reputation is shown as TWO LENSES kept SEPARATE, never merged: `local` = this node's known-bad screen against public lists (no network, decisive — a BLOCK overrides everything) and `oracle` = MainStreet's advisory read (ORACLE-REPORTED, can raise trust but never lower a local block). Fail-closed: absence is never trust; a local BLOCK holds even if the oracle is down. Every verdict carri…

ParameterTypeDescription
counterparty *string0x address to assess (the merchant, or a payer)
agentIdstringoptional — the counterparty's ERC-8004 agentId; surfaces a SEPARATE, advisory, re-verifiable ERC-8004 reputation lens (interop, never rival)
amountMicrostringoptional — if given, also check on-chain settlement to this address
erc8004Summaryobjectoptional — a ReputationRegistry.getSummary result {count, summaryValue, summaryValueDecimals} for the agentId; BIII applies the sybil-honest lens + a re-verify pointer (BIII does not read the regist…
erc8004TrustedClientsbooleanoptional — attest the getSummary was filtered to clients YOU trust (drops the sybil caveat; still advisory)
resourceUrlstringoptional — the endpoint/resource URL you would pay; enables the local phishing/plain-http/admin-path URL lens in the local classifier

till_create_invoice

Create a Web2-style INVOICE (number, line items, due date, bill-to) on the SAME non-custodial registry: paid by the same EIP-681 intent, verified by the same chain discipline, recorded in the same provable till roll. Returns the invoice + a human-readable bill (EN/FR) + the payment URI.

ParameterTypeDescription
lineItems *array[{description, amountUsd} or {description, qty, unitUsd}]
to *stringmerchant 0x address (their own wallet — non-custodial)
billTostring
dueDateMsnumber
langstring"en" (default) or "fr"
merchantNamestring
numberstring

till_check_invoice

Check an invoice against the chain: settled (paid on-chain, field-for-field) / overdue / issued. If settled, returns the receipt for the registry.

ParameterTypeDescription
to *string
totalMicro *stringthe invoice totalMicro
dueDateMsnumber
lookbackBlocksnumberdefault 43200 (~1 day on Base); invoices are slower than tills
merchantNamestring
numberstring

till_vet_asset

Is a TOKENIZED ASSET (stock/treasury/RWA) contract the GENUINE issuer's, or an impersonator? genuine / impersonation / unsafe / unknown — fail-closed (unknown is never genuine). Catches the FBI-flagged lookalike-token fraud. Registry is authoritative: seed only; source real addresses from issuer official docs.

ParameterTypeDescription
token *string0x contract address of the token
claimedIssuerstringwhat it claims to be, e.g. "BlackRock"
claimedSymbolstringe.g. "BUIDL", "TSLAx"

till_vet_meme

Which contract is the REAL memecoin among 10+ look-alikes? Fail-closed verdict from live market data (DexScreener). Returns: genuine (one contract dominates liquidity), ambiguous (top-2 tied — never certified), impersonation (the address you passed is NOT the dominant one), thin (no credible liquidity). Advisory + re-verifiable.

ParameterTypeDescription
symbol *stringmemecoin symbol, e.g. "TOSHI", "BRETT"
addressstringoptional specific contract address to judge
chainIdstring | numberoptional chain filter — the DexScreener slug ("base", "solana", "ethereum") or an EVM chain id (8453 = Base). A chain we cannot map returns NO candidates rather than silently searching every chain:…

till_receipt

Produce the chain-anchored receipt for a VERIFIED payment (txHash + basescan link). Refuses without verification.

ParameterTypeDescription
amountUsd *string
to *string
labelstring
lookbackBlocksnumber
merchantNamestring

till_roll

PROVABLE BOOKS: render an agent/merchant's till roll — a shareable statement where EVERY line carries its own txHash + basescan link, so the reader re-verifies each payment on Base themselves (trust no one, not even BIII). This is the substitute for the settlement statement an excluded merchant/agent loses when they leave a PSP. Pure and non-custodial (BIII holds no funds). Pass the verified receipts you collected from till_receipt.

ParameterTypeDescription
receipts *arraythe verified receipt objects (from till_receipt), each carrying a txHash
brandWHITE-LABEL: a partner brand for the footer ("via <name>", optionally "· powered by BIII"). String or {name, poweredBy}. The non-custodial disclosure is a fact and stays regardless.
langstring"en" (default) or "fr"
merchantNamestring

till_export

ACCOUNTING EXPORT: turn the verified receipts into an accountant-ready CSV that QuickBooks / Xero / Excel import (the export finance teams need to adopt). Every row carries its own txHash + Basescan link, so the accountant re-verifies each amount on Base themselves — the export is a POINTER to the chain, never a book to trust. Non-custodial (BIII moved no funds). Columns: date, receipt_no, reference, description, payer, gross_usdc, tip_usdc, charged_usdc, token, chain, tx_hash, basescan_url, status. Dedup by txHash; optional block-time window; brand slugs the filename.

ParameterTypeDescription
receipts *arraythe verified receipt objects (from till_receipt), each carrying a txHash
brandWHITE-LABEL: a partner brand (string or {name}) — slugs the download filename; the non-custodial disclosure stays regardless.
fromBlockTimenumberoptional — only export receipts settled at/after this unix block time
toBlockTimenumberoptional — only export receipts settled at/before this unix block time

till_meter

USAGE → BILL for a white-label pilot, split by trust. The settled receipts are ON-CHAIN (each txHash re-verifiable on Base — the PROVABLE basis for receipt charges); the verdict count is SELF-REPORTED (verdicts are advisory reads, not chain artifacts) and labeled as such. The pricing plan is INJECTED (the partner brings their tiers). Pure, stateless, non-custodial (BIII holds no ledger). Returns the provable/self-reported split + itemized charges + total.

ParameterTypeDescription
receipts *arraythe verified receipt objects (from till_receipt) — the provable on-chain usage
fromBlockTimenumber
planobjectoptional pricing plan: {name, monthlyBaseUsd, includedVerdicts, verdictOverageUsd, includedReceipts, receiptOverageUsd}. Defaults to the pilot template ($750/mo, 5000 verdicts, $0.25/verdict, $0.03/re…
toBlockTimenumber
verdictCountnumberoptional — operator-reported number of trust verdicts served this period (advisory, NOT chain-provable)

till_floor

DECENTRALIZATION PROOF: the provenance + content-FINGERPRINT of this node's known-bad floor. Two nodes with the SAME fingerprint judge on the SAME floor — sameness is a checkable fact, not an operator's word. The floor is re-derivable from named public open-licensed lists (run scripts/biii-known-bad-ingest.js and confirm the hash), so convergence is on PUBLIC DATA + a deterministic hash, never on a central node. Compare fingerprints across nodes to prove they share the same objective floor.

till_resolve

IDENTITY BRIDGE: resolve an AGENT identity — a buzz/Nostr npub (64-hex secp256k1) AND/OR a gitlawb did:key (Ed25519) — to a payable, trust-assessable BASE address, trustlessly. The binding is a BIDIRECTIONAL attestation: each identity key AND the Base key sign the same canonical message, so anyone re-verifies the signatures (BIII never takes your word). A binding needs AT LEAST one identity key (npub or did). Fail-closed: unverified / an identity key missing its signature / expired / un-nonced / malformed ⇒ a CLAIM, not a binding (bound:false). BIII does not verify secp256k1/Ed25519 itse…

ParameterTypeDescription
address *stringthe claimed Base address (0x…)
chainIdnumberdefault 8453 (Base)
didstringthe agent's gitlawb did:key (Ed25519 identity) — provide did and/or npub
expirynumberoptional unix seconds; 0 = no expiry
noncestringa per-binding nonce (anti-replay) — required
npubstringthe agent's 64-hex secp256k1 pubkey (Nostr/buzz identity) — provide npub and/or did
sigBasestringthe Base key's signature over the canonical message (always required)
sigDidstringthe did:key's Ed25519 signature over the canonical message (required if did is present)
sigNostrstringthe Nostr key's signature over the canonical message (required if npub is present)
verifiedbooleanattest that every present signature verified (BIII does not check secp256k1/Ed25519 itself)

till_kya

IDENTITY STANDARD (interop): read a Skyfire KYA ("Know Your Agent") JWT — the signed token binding a real human/business to an agent (Experian's identity layer). The IDENTITY counterpart to till_trust's ERC-8004 reputation lens. Parses the JWT + validates fail-closed (iss/sub present, not expired, aud matches YOU — anti-replay), and treats it as ATTESTED only when you confirm the signature verified against the issuer JWKS (BIII does not verify JWT signatures itself — no dep; supply verified:true or re-verify with the pointer). Advisory: attesting WHO backs an agent is NOT "safe to pay" â…

ParameterTypeDescription
token *stringthe compact KYA JWT (header.payload.signature)
expectedAudiencestringthe recipient this token must be addressed to (its aud) — anti-replay; recommended
requireExpirybooleanstrict mode: REFUSE a KYA JWT with no exp (a never-expiring vouch). Default false — a no-exp token still attests but is flagged posture.expires:false
verifiedbooleanattest the JWT signature verified against the issuer's JWKS (BIII does not check it itself)

till_authorize

SPEND AUTHORIZATION (Skyfire Programmable Payment): create a charge AND check it against what the agent's OWNER signed off — token, recipient allow-list, per-charge max, AND the cumulative cap. Fail-closed and drain-safe: an EIP-681 payment intent is issued ONLY if the charge is authorized (ten small charges cannot beat a low cap). BIII does not verify the authorization JWT signature itself — pass verified:true after checking it, or supply a spendAuth object. The caller tracks spentMicro (BIII is stateless).

ParameterTypeDescription
spendAuth *the owner's signed spend authorization: a Programmable-Payment JWT (string) OR an object {token, chainId, maxPerChargeMicro, cumulativeCapMicro, allowedRecipients, exp}
to *stringmerchant 0x address (their own wallet)
amountMicrostring
amountUsdstringe.g. "12.50" (or use amountMicro)
labelstring
spentMicrostringhow much has ALREADY been spent under this authorization (the caller's running total — the cumulative guard)
verifiedbooleanattest the authorization JWT signature verified (BIII does not check it itself)

till_rug_powers

WHO CAN STILL RUG THIS TOKEN? till_vet_meme says which contract is the real one; this says whether the real one is itself a trap. A dangerous capability only counts if someone can still FIRE it — mintable with ownership renounced is inert, the same flag with a live owner is an armed rug, and scoring flags without that distinction is why most scanners are noise. Merges two sources that fail at opposite ends: a curated index (owner powers, LP locks) that has never heard of a token minted ten minutes ago, and a live trade simulation that always works on fresh deploys but sees nothing about cont…

ParameterTypeDescription
address *stringtoken contract address
chainstringbase (default) | ethereum | bsc | polygon | arbitrum | optimism | avalanche

till_launch_funder

WHO PAID FOR THIS LAUNCH, AND WHAT ELSE DID THEY PAY FOR? Follows the money backwards: a token names its creator, a creator minted minutes ago names the wallet that funded it, and that funder usually funded others. Three free explorer queries surface a cluster no buyer can see from a chart. Proven live: one funder had sent an identical 15.020 ETH to 26 fresh wallets. Reports STRUCTURE ONLY — a shared funder proves shared control or shared infrastructure, never fraud; a launchpad and a rug factory are indistinguishable from the graph. What it does prove is that these tokens share fate and sho…

ParameterTypeDescription
address *stringtoken contract address
chainstringbase (default) — chains with a public Blockscout instance

till_b20_authentic

IS THIS A REAL BASE-NATIVE B20, OR AN ERC-20 WEARING ITS ADDRESS PREFIX? B20 is Base's native standard for compliant asset issuance (stablecoins, RWA); its tokens sit at addresses starting 0xb200 and run as a precompile, so a genuine one carries almost no EVM bytecode. As people learn to read 0xb200 as "official Base asset", a plain ERC-20 at a vanity address of the same prefix inherits that credibility for free — landing on it by chance is about 1 in 65,536. Both outcomes matter and differ: an impostor lacks the issuer controls the standard implies, while a GENUINE B20 lets its issuer freez…

ParameterTypeDescription
address *stringtoken contract address
chainstringbase (default)

till_trace_theft

FOLLOW STOLEN FUNDS from the victim's transaction to where the trail dies. Three modes. moved: what actually left a wallet in one transaction, marking which transfers are AUTHENTIC — ERC-20 Transfer logs are attacker-controlled text, so only the transaction signer is authoritative and forged events are flagged rather than followed. bridge: read a cross-chain exit; aggregators write the destination chain and receiver into their own calldata because the far side needs them, and chain ids are checked against a table before any field is called an amount (0x2b6653dc reads as a plausible token amo…

ParameterTypeDescription
mode *stringmoved | bridge | tron
addressstringTRON address, T-form (mode: tron)
chainstringEVM chain for moved/bridge — base (default) | ethereum | optimism | polygon | arbitrum | gnosis
maxHopsnumbertron mode: how far to walk (default 3)
txHashstringtransaction hash (modes: moved, bridge)

till_recovery_offer

THE SECOND THEFT: judge an approach offering to recover already-stolen funds. Every other tool here tries to stop the first loss; this exists because the first loss is what makes a person findable, and a drained wallet is a lead with a market for it. Answerable with certainty rather than a score, because the ask itself is the tell: recovery happens through the thief returning funds, or a court, exchange, or issuer freezing and reassigning them — none of which require anything from the victim's wallet. So a recovery needing your signature or an upfront fee is not merely suspect, it is structu…

ParameterTypeDescription
addressstringthe address you were asked to pay or interact with (optional — its absence is not reassurance)
asksForSeedOrKeybooleanwere you asked for a seed phrase, private key or keystore?
asksForSignaturebooleanwere you asked to sign a message or transaction?
asksForUpfrontPaymentbooleanwere you asked to pay a fee before delivery?
asksToInstallbooleanwere you asked to download or run anything?
chainstringbase (default) | ethereum | polygon | arbitrum | optimism

till_vet_approach

JUDGE AN INBOUND OPPORTUNITY BY ITS ASK, NOT BY HOW GOOD IT LOOKS (podcast, interview, partnership, job, AMA). Built from a lure that worked on someone who verifies counterparties professionally: a 35-question production dossier citing his real scoring model, his settlement rails, his own catchphrase, quoting his posts verbatim — and asking genuinely HARD questions, because a flatterer never includes criticism and including it is what flips an approach from marketing to journalism in the reader's head. The mechanism is EFFORT AS A TRUST SIGNAL: that much researched detail used to cost hours…

ParameterTypeDescription
asksForKeyOrSeedboolean
asksForSignatureboolean
asksForUpfrontPaymentboolean
asksToInstallboolean
linksarrayevery URL in the message
platformstringthe platform they named, e.g. "WeChat", "Zoom"
urgencybooleanwas time pressure applied?

till_open_approvals

WHICH DOORS INTO THIS WALLET ARE STILL OPEN? An ERC-20 approval is a standing permission to move your tokens without asking again, and it is the most common drain vector that does NOT require the private key: you approved a contract once for an unlimited amount and forgot. Wallets do not surface these, so almost nobody knows what they have granted. The load-bearing discipline: an Approval EVENT IS NOT THE CURRENT STATE — a later approval of zero revokes an earlier one silently, so the log is used only to find candidate (token, spender) pairs and every one is then confirmed by calling allowan…

ParameterTypeDescription
owner *stringthe wallet address to audit
chainstringbase (default) | ethereum
fromBlocknumberoptional: scan from this block (default 0)

till_watch_wallet

WHAT CHANGED AROUND THIS WALLET SINCE WE LAST LOOKED? The other tools answer at a point in time; this is what turns them into a guard, because it REMEMBERS and therefore distinguishes a new door from an old one. Three unlimited approvals granted last year are a standing condition; a fourth appearing this morning is an event, and only the second deserves to interrupt anyone — a monitor that repeats its standing conditions every run teaches its reader to close it, and a closed monitor is worth nothing. Detects new live allowances and first-time counterparties, using TRANSACTIONS rather than ev…

ParameterTypeDescription
owner *stringthe wallet address to watch
chainstringbase (default) | ethereum
persistbooleandefault true — save state so the NEXT call can diff against it. Pass false for a one-off look that does not become the baseline.

till_vet_agent

IS THIS AGENT SAFE TO CONNECT TO, AND SAFE TO PAY? The gap this closes: everything else here judges tokens, launches, thefts and wallets, but never the AGENT — which is the thing that actually holds the tools. Four checkable dangers, none of which require trusting a word of the description. It does not exist (a listing is not a service, and paying an endpoint that never answers is the simplest loss available). Its tools can move money (a name is marketing; the input SCHEMA is the capability, and only a QUANTITY field proves a payment surface, because a message has a recipient exactly as a pa…

ParameterTypeDescription
chainstringbase (default)
payTostringoptional: the address that would receive payment
urlstringthe agent's HTTP MCP endpoint

till_seed_exposure

IS A RECOVERY PHRASE SITTING IN CLEARTEXT ON THIS MACHINE? Everything else here answers whether an ADDRESS is safe to pay; this answers whether the MACHINE is safe to hold a wallet, and a safe address on a compromised machine is worth nothing. "Self custody if you know how to keep your seedphrase safe" puts the whole condition in the sentence and nothing ships that checks it: an antivirus answers "do you have a known virus", which is a different question. This one is DECIDABLE rather than scored. A keyword scan drowns — abandon, able, about and absent are ordinary English and all four are BI…

ParameterTypeDescription
pathsarraydirectories to scan; defaults to Documents, Desktop, Downloads and the OneDrive equivalents

till_key_exposure

WHAT KEY MATERIAL IS ON THIS DISK, AND WHAT STILL HOLDS AN OLD COPY OF IT? The companion to till_seed_exposure, and it exists because a real theft happened without the phrase ever being written down: the key was exfiltrated. The trap is that a secp256k1 private key is 64 hex characters and so is every SHA-256 hash, git object id and transaction hash in a saved response, so the value SHAPE carries almost no information. Two things do: STRUCTURE (a Web3 Secret Storage keystore has version 3 and a crypto member with ciphertext, kdf and mac — nothing else looks like that, and finding one is not…

ParameterTypeDescription
pathsarraydirectories to scan; defaults to Documents, Desktop and Downloads

till_verify_delivery

I CAN PROVE I PAID. CAN I PROVE I WAS SERVED? Every other check here runs before money moves; this is the question after, and it is the one nothing in this market answers. A payment is a fact on Base that anyone can re-check forever; the deliverable was a sentence in a message. So a buyer can prove it spent and cannot prove it received — and every settlement record in existence, including the ones this server writes, records the money and takes the goods on trust. The fix is a commitment, not an opinion: the seller publishes sha256(deliverable) BEFORE being paid, the buyer hashes what arrive…

ParameterTypeDescription
commitmentHashstring0x + sha256 the seller published BEFORE payment. Omit it and the answer is unverifiable, which is the truth.
committedAtnumberblock or unix ms at which the commitment was recorded somewhere the seller cannot rewrite
paidAtnumberblock or unix ms of the payment — needed for the strong claim
receivedstringthe bytes you actually received (or pass receivedHash instead if you hashed them yourself)
receivedHashstring0x + sha256 of what you received, if you would rather not send the artifact

till_funder_history

HAS THE WALLET THAT PAID FOR THIS LAUNCH ALREADY KILLED ONE? till_launch_funder reads the graph and tells you a cluster exists; this reads our OWN observation record and tells you what happened to the rest of it. The distinction matters because every other check here asks the token a question it cannot answer in time: a curated security index returns an owner address for roughly one Base token in ten, so "who can still fire a rug power" — the question this whole scanner was built on — came back unanswerable on 221 of 221 launches we watched. Who PAID is answerable, because we watched that…

ParameterTypeDescription
funderstringthe wallet that PAID for the launch — get it from till_launch_funder, which traces deployer→funder on chain. Omit it and the honest answer is that this check has nothing to say.