This Asset Borrowing and Lending Defi Dapp operates on Ethereum's Sepolia Testnet.
- Built on Ethereum Blockchain
- Solidity
- Javascript
- Typescript
- Chainlink Price Oracles
- Openzeppelin (ERC20 Tokens, Ownable, Reentrancy Guards)
- Hardhat
- Etherjs
- Metamask
- Infura Web3API
- Next JS
- Tailwind CSS
- HTML
- /components - contains the front-end application
- /context - contains the front-end application wrapper javascript
- /contracts - contains the solidity contract
- /pages - Next Js Main rendering pages and components
- package.json - node modules to be installed, etc.
- .env - To store Infura/Alchemy API keys and your private key
-
Metamask : Install Metamask wallet extension
-
Add Sepolia Testnet to MetaMask
-
Clone this repo :
-
Go to the root directory and install all node packages
-
Please Create a new Infura API key
-
Now copy Metamask wallet private key
-
Create a new .env file in the root directory
Paste the Infura Sepolia API key and your metmask accounts private key into .env file INFURA_SEPOLIA_API_URL=""
MAIN_ACCOUNT = ""
-
Start NextJs Node Server
This project is licensed under the MIT License.