JavaScript SDK
Welcome to the Renfter Protocol JavaScript SDK. To begin, we recommend looking at the examples below, for deeper reference see the JavaScript SDK Github repo.
Installation
Usage
First you have to import Renfter and pass the ethers Signer.
Offer for NFT for lending
Rent NFT
Get lender (original owner)
Get lender (original owner) by wrapped token ID
Get borrower
Get borrower by wrapped data
Get original contract address
Get wrapped contract address
Get original token data
Get token whitelisted methods
Check if method is whitelisted
Set token whitelisted methods
Execute token's functionality
Get all tokens for address
Get all tokens available for renting for address
Get all rented tokens tokens for address
Last updated