The official SDK for Aave V3 👻.
This section is for developers who want to contribute to the SDK.
Clone the repository:
git clone https://github.com/aave/aave-sdk.gitInstall the dependencies:
pnpm install- Node.js: >= v22. See installation guide.
- pnpm: v9.15.4. See installation guide.
Use nvm to manage your Node.js versions. Run the following command in the project root folder:
nvm useto switch to the correct Node.js version.
Enable corepack to use the the correct version of pnpm.
Run the following command in the project root folder:
corepack installto install the correct version once. After that corepack will automatically use the correct version of pnpm when entering the project folder.
Create a .env file copying the .env.example file:
cp .env.example .envUpdate the .env file with the correct values.
Run the tests:
pnpm test: Run unit and integration tests@aave/clientand@aave/reactpackages.pnpm spec: Run the acceptance tests for the@aave/specpackage.
Lint the code:
pnpm lintCompile the code:
pnpm buildClean the build:
pnpm cleanCreate a new package:
pnpm new:packageThe project uses Biome to format and lint the code. You can install the Biome extension for your IDE: https://biomejs.dev/guides/editors/first-party-extensions/
We welcome contributions to the Aave SDK! If you're interested in contributing, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with clear messages.
- Push your changes to your fork.
- Open a pull request against the
mainbranch of the original repository. - Ensure your code adheres to the project's coding standards and passes all tests.
- Wait for code review and address any feedback provided by the maintainers.
If you have a pressing issue or feature request, please open an issue on GitHub. A lot of the abstraction is in the API so somethings could be out of scope in the SDK but we are happy to discuss it on the GitHub issues.
Aave SDK is MIT licensed.