Skip to content

mlastovski/Vault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vault Smart Contract

Installation and deployment

Clone this repo:

$ git clone [email protected]:mlastovski/Vault.git

Change directory to the project's root folder:

$ cd ./Vault

Install dependencies using npm:

$ npm i

Head to config/default.json and provide data.

  • url - Alchemy or Infura etc. HTTPS API KEY
  • weth - WETH smart contract address on mainnet

Check if everything is working correctly

$ npx hardhat

Testing

In order to test the contract:

$ npx hardhat test

or

$ npx hardhat coverage

This smart contract has 100% solidity-coverage. alt text

Deployment

Compile code:

$ npx hardhat compile

Deploy to the live network:

$ npx hardhat deployVault --network hardhat

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published