Integrating Aave V3 with Para’s Viem Accounts

Combine Para’s viem account infrastructure with Aave v3 to enable seamless borrowing, lending, and yield strategies, all from a Para-powered wallet.

What You Need

You need these components to integrate Aave V3 with Para:
  • Para SDK for creating and managing wallets
  • Aave V3 SDK / ABI for interacting with the protocol
  • EVM-compatible chain such as Polygon, Optimism, or Arbitrum

Step-by-Step Integration

  1. Initialize Para (complete authentication before signing)
import { supply } from '@aave/client/actions';
import { sendWith } from '@aave/client/viem';
import { createParaViemClient, createParaAccount } from "@getpara/viem-v2-integration@alpha";
import { http } from 'viem';
import { mainnet } from 'viem/chains';
import {ParaWeb } from "@getpara/react-sdk";


// Initialize Para (complete authentication before signing)
const para = new ParaWeb('YOUR_API_KEY_HERE');
  1. Create Para account
const account = await createParaAccount(para);
  1. Create Para Viem wallet client for transactions
const wallet = createParaViemClient(para, {
  account,
  chain: mainnet,
  transport: http(), // Or specify RPC URL: http('https://your-rpc-url')
});

const result = await supply(client, {
  market: evmAddress('0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4e2'), // Aave V3 Pool address
  amount: {
    erc20: {
      currency: evmAddress('0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48'), // USDC on Mainnet
      value: '1000' // 1000 USDC
    }
  },
  supplier: evmAddress('0xYourUserAddressHere'),
  chainId: chainId(1), // Mainnet
})
.andThen(sendWith(wallet)) // Signs and sends via Para Viem wallet client
.andThen(client.waitForTransaction); // Waits for confirmation

Why Combine Para and Aave

FeatureBenefit
Para walletsInstant onboarding, MPC-secure, white-label
Aave V3Yield, borrow, leverage strategies
Together, you can enable fintech-grade defi UX in your app without friction.

Example Use Cases

Integrating Para and Aave enable these example use cases: 1. Fintech App Integration: Embed borrow and lend flows directly in your fintech or stablecoin application 2. Stablecoin Vaults: Run automated stablecoin vaults using Aave yield generation 3. Treasury Management: Automate treasury strategies from a Para wallet with programmable rules