Aave utilities are available as npm packages¹².
// with npm
npm install @aave/contract-helpers @aave/math-utils
// with yarn
yarn add @aave/contract-helpers @aave/math-utils
Here is a quick example to get you started:
import { PermissionManager } from '@aave/contract-helpers';
const instance = new PermissionManager({
provider: rpcProvider,
permissionManagerAddress: permissionManagerAddress,
});
const permissions = await instance.getHumanizedUserPermissions(walletAddress);
Are you looking for an example project to get started? Check out repositories relying on this library: