Context
Smart accounts (ERC-4337) are increasingly used by AI agents for autonomous on-chain operations. Bundlers, paymasters, and dApps interacting with these accounts need signals about account trustworthiness — especially since smart accounts can be freshly deployed with no history.
Proposal
Integrate wallet reputation scoring as an optional utility for assessing ERC-4337 account trust. DJD Agent Score provides a 0–100 trust score across 5 behavioral dimensions, derived from on-chain activity on Base.
Use cases for permissionless.js users
-
Paymaster risk gating — Score the sender before sponsoring gas. Low-reputation accounts might require deposits or rate limiting.
-
Bundler prioritization — Higher-reputation accounts could get priority bundling during congestion.
-
dApp access tiers — Use reputation scores to unlock features progressively (e.g., higher trading limits for established accounts).
Example
import { createSmartAccountClient } from "permissionless"
import { DjdClient } from "djd-agent-score-client"
const djd = new DjdClient()
// Score a smart account before sponsoring
async function shouldSponsor(accountAddress: `0x${string}`): Promise<boolean> {
const score = await djd.getBasicScore(accountAddress)
// Require minimum reputation for gas sponsorship
if (score.composite_score < 25) {
console.log(`Low reputation (${score.composite_score}), requiring deposit`)
return false
}
// Check specific dimensions
if (score.dimensions.reliability < 20) {
console.log(`Low reliability dimension, flagging for review`)
return false
}
return true
}
API details
- Free tier: 3 scores/day (no key needed)
- x402 micropayments for higher volume (USDC on Base)
- TypeScript SDK:
npm install djd-agent-score-client
- Live example:
curl https://djd-agent-score.fly.dev/score/basic/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
The smart account space is growing fast with AI agents — reputation scoring could be a valuable layer for the permissionless.js ecosystem. Happy to discuss implementation approaches!
Context
Smart accounts (ERC-4337) are increasingly used by AI agents for autonomous on-chain operations. Bundlers, paymasters, and dApps interacting with these accounts need signals about account trustworthiness — especially since smart accounts can be freshly deployed with no history.
Proposal
Integrate wallet reputation scoring as an optional utility for assessing ERC-4337 account trust. DJD Agent Score provides a 0–100 trust score across 5 behavioral dimensions, derived from on-chain activity on Base.
Use cases for permissionless.js users
Paymaster risk gating — Score the sender before sponsoring gas. Low-reputation accounts might require deposits or rate limiting.
Bundler prioritization — Higher-reputation accounts could get priority bundling during congestion.
dApp access tiers — Use reputation scores to unlock features progressively (e.g., higher trading limits for established accounts).
Example
API details
npm install djd-agent-score-clientcurl https://djd-agent-score.fly.dev/score/basic/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045The smart account space is growing fast with AI agents — reputation scoring could be a valuable layer for the permissionless.js ecosystem. Happy to discuss implementation approaches!