Skip to content

oxpampam/SwapLinkToMatic

Repository files navigation

Swap Link to Matic

This project allows users to swap ether for dai using the chainlink pricefeed. For each ether value sent in, they get the equivalent value in dai.

The project comes with a swap contract, a test for that contract, a sample script that deploys that contract, and interect with the swap contract.

Try running some of the following tasks:

npx hardhat compile
npx hardhat node --fork ethereum mainnet rpc url
npx hardhat run scripts/swap.ts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published