Skip to content

iJaack/evalanche

Repository files navigation

Evalanche

Avalanche-first agent wallet and execution SDK for AI agents, with multi-EVM support for holdings, payments, DeFi, bridge flows, prediction markets, and perpetuals.

Current Release

  • Latest release: v1.9.7
  • Published package: evalanche@1.9.7
  • Current package surface:
    • Hardened MCP HTTP mode so it now requires an explicit bearer token, binds to loopback by default, enforces request timeouts, and rejects oversized request bodies before parsing.
    • Routed high-risk execution helpers through active spending-policy checks, including approve-and-call, UUPS proxy upgrades, Li.Fi bridge/swap execution, and Gas.zip funding.
    • Tightened x402 paid-service hosting so settled endpoints require a settlement verifier by default, while preserving explicit signed-intent mode for trusted peer flows and tests.
    • Fixed Polymarket collateral normalization for live pUSD spender allowances, and made pm_approve / pm_deposit sync both wallet USDC.e -> CLOB approval and Polygon pUSD spender approvals.
  • Docs:

Install

npm install evalanche

Quick Start

import { Evalanche } from 'evalanche';

const { agent } = await Evalanche.boot({ network: 'avalanche' });

console.log(agent.address);

const holdings = await agent.holdings().scan();
console.log(holdings.summary);

MCP

npx evalanche-mcp

Evalanche ships an MCP server for wallet actions, holdings discovery, DeFi, bridge and swap flows, Polymarket, and perpetual venues. The default MCP transport is stdio. HTTP mode is available for local automation, but requires an explicit bearer token:

EVALANCHE_MCP_HTTP_TOKEN="$(openssl rand -hex 32)" npx evalanche-mcp --http --port 3402

What It Does

  • Avalanche-first wallet boot, identity, and agent execution flows
  • Unified holdings discovery across wallet balances, DeFi positions, prediction positions, and perp venues
  • Cross-chain bridge, swap, and gas-funding flows
  • Avalanche and multi-EVM DeFi actions
  • Polymarket market reads and execution
  • Perpetual trading support for Hyperliquid and dYdX

Also Works Across EVM

Avalanche is the primary path, but Evalanche also supports Base, Ethereum, Arbitrum, Optimism, Polygon, BSC, and other EVM networks for execution and holdings discovery.

Docs

Website

The public site for evalanche.xyz lives in website/. It is deployed separately from the npm package and is not included in the published package tarball. Git-based Vercel deploys use vercel.json plus build-website.mjs to publish only the website assets, not the SDK build.

License

MIT

About

Agent wallet SDK for Avalanche with onchain identity (ERC-8004) and payment rails (x402)

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors