Uniswap / hardhat-v3-deploy

Hardhat plugin for Uniswap V3 deployment
MIT License
78 stars 93 forks source link

Creating Sample Pools and positions #3

Open julianmrodri opened 3 years ago

julianmrodri commented 3 years ago

It would be great to complement this with the ability to setup some Pools, initialize them, and create positions (add liquidity) so they provide a ready-to-use instance of populated Pools for other protocols to develop on top.

Yorkemartin commented 3 years ago

hey @julianmrodri - that's eventually the goal. Is this something you found yourself wanting during your own dev process?

julianmrodri commented 3 years ago

Yes. It is exactly what we need in our project. We want to integrate Uniswap V3 for doing swaps on-chain from our smart contracts and we wanted to setup a local environment to play with.

It is quite difficult with V3, lots of details you need to learn to do that. This plugin looks good to use as a reference of which contracts you need but its just that. Doesn't take you the rest of the way. Thanks!

quan191 commented 2 years ago

@julianmrodri i'm sorry if i disturbing you but i'm trying to re-build UniswapV3 for testing function purposes. Can I follow the plugin's step ( which contract to be deployed first) ? What should I do next to testing create pools and others functions of uniswapV3 ?