Written in solidity v8. For NFT lending and staking project.
- Compile and deploy the
My721.sol
to get NFT token for the lending usage. - Mint some NFT token for yourself and remember the token ID you have minted.
- Compile and deploy the
NFTfiLending.sol
. - Set Approval for the
NFTfiLending.sol
in theMy721.sol
. - Propose loans with the NFT token you have minted in step 2.
- Starts to bid/repay/cancel ... for fun.