@penta-swap/v2-periphery
v1.0.3
Published
Peripheral smart contracts for interacting with Pentaswap V2
Readme
Prerequisites
- Nodejs v18.19.0 or higher
Install Hardhat
npm install --save-dev hardhatInstall packages
npm install Contract Deployment
Run the following command to compile and deploy the contracts
npx hardhat run scripts/deploy.helloworld.js --network pentestnetAfter deployment the output of the script will be the addresses of the contracts
After deployment the output of the script will be the addresses of the contracts
Contract deployed to address: 0x5FbDB2315678afecb367f032d93F642f64180aa3
Greeting function says Hello World!Contract Testing
Run the following command to run the tests. Tests are located in test/ folder .
npx hardhat testContract Testing Coverage
Run the following command to check the contract test cases coverage .
npx hardhat coverage