Getting Started
Getting Started
Compound.js simplifies interaction with the protocol, making it developer-friendly. Here’s how to set it up and perform key actions:
Install the Library:
npm install @compound-finance/compound-js
Set Up the SDK:
const Compound = require('@compound-finance/compound-js'); const compound = new Compound(window.ethereum); // Or use a custom RPC URL const comet = compound.comet.MAINNET_USDC();
Last updated