A collection of ABIs for the Delegation Framework. Versioning will be unique to commit hashes of the contracts repo.
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
In order to update the contracts and ABIs from the Delegation Framework, follow these steps:
cd ../../lib/delegatable-framework/git fetchgit checkout <specific-commit>or
git checkout main
git pullThe 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.
./scripts/generate.sh