⛽Fixed-Rate Lending SDK
Documentation for the Fixed-Rate Lending SDK
Overview
How It Works
Installation
# Add this to your .npmrc file
@secured-finance:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=YOUR_GITHUB_TOKEN
# Then install the individual packages
npm install @secured-finance/sf-client
npm install @secured-finance/sf-graph-client
npm install @secured-finance/sf-coreKey Components
sf-client
sf-graph-client
sf-core
Basic Usage
Connecting to the Protocol
Reading Protocol State
Order Operations
Collateral Management
Position Management
Advanced Usage
Using the Graph Client
Price Calculations
FAQ
How do I handle transaction errors?
How do I convert between unit price and APR?
What networks does the SDK support?
Related Resources
Last updated