Skip to content

aave/aave-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aave SDK

The official SDK for Aave V3 👻.

Table of Contents

Installation

Development Workflow

This section is for developers who want to contribute to the SDK.

Initial Setup

Clone the repository:

git clone https://github.com/aave/aave-sdk.git

Install the dependencies:

pnpm install

Pre-requisites:

Use nvm to manage your Node.js versions. Run the following command in the project root folder:

nvm use

to 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 install

to 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 .env

Update the .env file with the correct values.

Usage

Run the tests:

  • pnpm test: Run unit and integration tests @aave/client and @aave/react packages.
  • pnpm spec: Run the acceptance tests for the @aave/spec package.

Lint the code:

pnpm lint

Compile the code:

pnpm build

Clean the build:

pnpm clean

Create a new package:

pnpm new:package

IDE Setup

The 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/

Contributing

We welcome contributions to the Aave SDK! If you're interested in contributing, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them with clear messages.
  4. Push your changes to your fork.
  5. Open a pull request against the main branch of the original repository.
  6. Ensure your code adheres to the project's coding standards and passes all tests.
  7. 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.

License

Aave SDK is MIT licensed.

About

The official SDK for Aave V3 👻.

Resources

License

Stars

Watchers

Forks

Contributors 12

Languages