diff --git a/README.md b/README.md index 13de7fa..7e9297e 100644 --- a/README.md +++ b/README.md @@ -36,12 +36,12 @@ Before working with this repository, ensure that you have properly set up your e To help you get started quickly, we provide two demo tasks that showcase the full lifecycle from deployment to execution. These tasks cover deploying and initializing all necessary contracts, as well as performing operations like minting, swapping, and burning - ![alt text](/public/image.png) ### Demo Tasks 1. **Using Factory and Pair Contracts Only** This demo handles deploying the Factory and Pair contracts and executing a complete flow of operations [View the demo task](https://github.com/NilFoundation/uniswap-v2-nil/blob/main/tasks/core/demo.ts) + ![alt text](/public/demo.png) **Important:** @@ -52,6 +52,7 @@ as well as performing operations like minting, swapping, and burning 2. **Using Factory, Pair, and Router Contracts** This demo includes an additional layer by utilizing the Router contract along with Factory and Pair [View the demo-router task](https://github.com/NilFoundation/uniswap-v2-nil/blob/main/tasks/core/demo-router.ts) + ![alt text](/public/demo-router.png) **Important:** - The `UniswapV2Factory` is used for creating new pairs. `UniswapV2Router01` calls already deployed pair contracts. diff --git a/public/demo-router.png b/public/demo-router.png new file mode 100644 index 0000000..ce00d3d Binary files /dev/null and b/public/demo-router.png differ diff --git a/public/demo.png b/public/demo.png new file mode 100644 index 0000000..9d6b934 Binary files /dev/null and b/public/demo.png differ diff --git a/public/image.png b/public/image.png deleted file mode 100644 index 6ad877a..0000000 Binary files a/public/image.png and /dev/null differ