npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@moltbankhq/aave-earn-mod

v0.1.0

Published

Aave Earn Capability. Provides cap.moltbank.aave-earn — Moltbank-orchestrated USDC deposit and withdraw flows on Aave V3 (Base / Arbitrum). Deposit routes through account_execute (session-key path) or account_propose (Safe proposal path). Withdraw always

Readme

Aave Earn Mod

Aave V3 Earn (USDC supply/withdraw) Capability for Moltbank. Runs Safe-native — the user's Moltbank Safe is the position holder throughout; no EOA deposit wallets, no bridges, no swaps, no LI.FI.

See SKILL.md for the full capability surface and CLI reference.

Auth model

This mod never holds wallet keys. All Safe execution flows through the trusted host (architecture spec §10.1: only the trusted core signs). The mod builds Aave protocol calldata (approve, supply, withdraw) and either:

  • composes it into deposit/withdraw flows via existing APP MCP tools (Phase 3 bridge), or
  • emits it as build-deposit / build-withdraw calldata for the caller to submit through their own Safe path.

The mod has no Safe SDK import, no Safe7579 session knowledge, and no direct Pimlico bundler use.

Capabilities

  • cap.moltbank.earn — Moltbank-orchestrated deposit / withdraw / propose, plus the read endpoints (balance / rates / history / resolve-addresses / build-deposit / build-withdraw / policy-spec).

The full command surface and behavioral expectations are in SKILL.md.

Configuration

Optional config at ~/.moltbank/mods/aave-earn/config.json:

{
  "environment": "development",
  "baseRpcUrl": "https://mainnet.base.org"
}

Both fields are optional. When neither field is set and the MOLTBANK_APP_ENVIRONMENT env var is unset, the mod defaults to development (Base Sepolia) — never silently to mainnet.

Field reference: schemas/config.schema.json.

Chain selection

The user-facing chain is always --chain base. Internally:

| Environment | Network | |---------------------------|----------------------| | production / sandbox | Aave V3 Base mainnet | | development / unset | Aave V3 Base Sepolia |

Resolution priority: MOLTBANK_APP_ENVIRONMENT env > config.environment > 'development' default. This mirrors the APP chain-selection rule documented at APP/TEST_MODE.md:51-57.

Addresses

All Aave V3 addresses (Pool Addresses Provider, USDC underlying, aUSDC) come from @bgd-labs/aave-address-book. The active Pool is resolved at runtime via IPoolAddressesProvider.getPool(); the active data provider via getPoolDataProvider(). No Aave addresses are hand-maintained in this package.

Spec alignment

  • §10.1 (only the trusted core signs): the mod composes calldata but never signs. Safe execution stays in the host.
  • Mod-only feature, no APP UI: APP follows the Polymarket / Pump.fun precedent. There is no /earn route, no /form-earn route, no Earn React surface in APP. CLI and agent MCP only.
  • Safe-native: the Safe is the deposit / withdraw target on Aave. No EOA deposit wallets, no bridge step.

Migration plan

See Escritorio/aave-earn-mod-extraction-plan.md (local) for the phased extraction plan that produced this package.