Skip to content

dApp that provide users with the ability to borrow stablecoins using NFT as collateral

License

Notifications You must be signed in to change notification settings

AsyaMaior/NFT-collateralized-lending

 
 

Repository files navigation

NFT-collateralized-lending

dApp that provide users with the ability to borrow stablecoins using NFT as collateral

Working with contract

  1. Clone git repo and build project
git clone git@github.com:Massivny/NFT-collateralized-lending
cd NFT-collateralized-lending
forge build
  1. To deploy and testing with the contract, create your .env file; an example is provided in the repository. Than utilize a Makefile.
# to deploy to a specific network
make deploy-anvil
make deploy-blast

#tests on anvil local network
forge test

To run tests on blast fork you can have an NFT with id == 2 and address of this NFT contract. Set this information in .env file. Than run command:

fork-test-blast

About

dApp that provide users with the ability to borrow stablecoins using NFT as collateral

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 94.7%
  • TypeScript 3.3%
  • Makefile 2.0%