# @metamask/delegation-abis

> ABIs mapped to versions of the Delegation Framework contracts

Latest version **2.0.0** (published 2026-08-13) · (MIT-0 OR Apache-2.0) license · 0 weekly downloads

## Install

```sh
npm install @metamask/delegation-abis
pnpm add @metamask/delegation-abis
yarn add @metamask/delegation-abis
bun add @metamask/delegation-abis
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2026-08-13 |
| First published | 2025-04-10 |
| Weekly downloads | 0 |
| License | (MIT-0 OR Apache-2.0) |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=20 |
| Dependencies | 0 |
| Unpacked size | 6.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 63 |
| Author | MetaMask <hello@metamask.io> |
| Maintainers | kumavis, frederikbolding, metamaskbot, gudahtt, mrten, mcmire, naugtur |
| Keywords | MetaMask, Ethereum |

## Links

- npm: https://www.npmjs.com/package/@metamask/delegation-abis
- Repository: https://github.com/MetaMask/smart-accounts-kit
- Homepage: https://github.com/MetaMask/smart-accounts-kit/tree/main/packages/delegation-abis#readme
- Issues: https://github.com/MetaMask/smart-accounts-kit/issues
- npm.io page: https://npm.io/package/@metamask/delegation-abis

## Recent versions

- 2.0.0 (latest) — 2026-08-13
- 1.1.0 — 2026-05-18
- 1.0.0 — 2026-03-27
- 0.12.0-beta.0 — 2026-01-26
- 0.11.0 — 2025-05-13
- 0.10.0 — 2025-04-14
- 0.9.0 — 2025-04-10

## README

# Delegation ABIs

A collection of ABIs for the [Delegation Framework](https://github.com/metamask/delegation-framework). Versioning will be unique to commit hashes of the contracts repo.

## Installation

This package is normally installed as part of the Smart Accounts Kit (@metamask/smart-accounts-kit) which is part of this monorepo.

In order to install this package standalone:

With yarn:
```
yarn add @metamask/delegation-abis
```

With npm:
```
npm install @metamask/delegation-abis
```

## Updating the Delegation Framework and ABIs

In order to update the contracts and ABIs from the Delegation Framework, follow these steps:

### 1. Update the submodule

#### a. Navigate into the Delegation Framework submodule:

```bash
cd ../../lib/delegatable-framework/
```

#### b. Fetch the latest changes

```bash
git fetch
```

#### c. Update to the specific commit or latest

```bash
git checkout <specific-commit>
```

or

```bash
git checkout main
git pull
```

### 2. Generate the ABIs

The `generate.sh` script will build the contracts, outputting ABIs and generate typescript files containing the ABIs. The typescript files are how the ABIs are used within the Smart Accounts Kit.

```bash
 ./scripts/generate.sh
 ```

---
_Source: https://npm.io/package/@metamask/delegation-abis · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
