Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 738 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 738 Bytes

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