This repository contains Zap contract which allows Swapr user to convert single-asset coins straight into LP tokens.
git clone https://github.com/SwaprDAO/swapr-lp-zapping.git
yarn
yarn compile
yarn test
Add PRIVATE_KEY
of deployer to .env
echo "PRIVATE_KEY=<private-key>" > .env
Deploy to target network. Make sure its configuration exists in hardhat.config.ts
yarn deploy:<target_network>