Skip to content

razar20/-Aave-Lending

Repository files navigation

Aave Lending Contract

How to run

To the run the contract make sure you have:

  1. Metamask installed in the browser
  2. NodeJS installed locally

Now run the command npm install. It'll install all the dependecies like truffle and it's helping libraries. After this there are few things that needs to be done:

  1. Create an account on Infura
  2. Start a project and get the endpoint to connect to Kovan testnet.
  3. Setup a Mnemonic as well that will get the account

Make sure to have some Ethers on your Kovan testnet account to carry out the transactions

Truffle Commands (On console)

  1. truffle migrate --network kovan This will deploy the contract on the network

  2. truffle console We can now access and use the contract

  3. const contract= await MyContract.deployed()

  4. await contract.deposit()

  5. const interest_earned= await contract.withdrawi()

This way you can use the contract.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published