- This is a dApp that user can create UniPoolToken or add liquidity to UniPoolToken freely and send their UniPoolToken as a gift to someone whoever user want.
- UniPoolToken is created by Uniswap-v2 contract.
- Use
Pair (ERC-20) / UniswapV2ERC20.sol
below for sending UniPoolToken.
https://uniswap.org/docs/v2/smart-contracts/pair-erc-20/
Â
- â User create UniPoolToken or add liquidity to UniPoolToken
- ⥠User specify "toAddress" which is wallet address of someone whoever user want.
- ⢠User send UniPoolToken to specified wallet address.
Â
-
Add MetaMask to browser (Chrome or FireFox or Opera or Brave)
https://metamask.io/ -
Adjust appropriate newwork below
Kovan Test Network
Â
- Deploy contracts to Kovan Test Network
(root directory)
$ npm run migrate:ropsten
Â
- Move to
./client
$ cd client
- Add an
.env
file under the directory of./client
.
$ cp .env.example .env
- Execute command below in root directory.
$ npm run client
- Access to browser by using link
http://127.0.0.1:3000/unipooltoken-as-a-gift
Â
- [Uniswap-v2]ďź
-
Bounty of Uniswap-v2 at NYBW Hackathon / Gitcoin
-
Repos
- uniswap-v2-core
https://github.com/Uniswap/uniswap-v2-core - uniswap-v2-periphery
https://github.com/Uniswap/uniswap-v2-periphery - uniswap-lib
https://github.com/Uniswap/uniswap-lib
- uniswap-v2-core
-
Doc
- Factory / UniswapV2Factory.sol
https://uniswap.org/docs/v2/smart-contracts/factory/ - Pair / UniswapV2Pair.sol
https://uniswap.org/docs/v2/smart-contracts/pair/ - Pair (ERC-20) / UniswapV2ERC20.sol
https://uniswap.org/docs/v2/smart-contracts/pair-erc-20/ - Router / UniswapV2Router01.sol
https://uniswap.org/docs/v2/smart-contracts/router/
- Factory / UniswapV2Factory.sol
-
Article
- Uniswap V2 Mainnet Launch https://uniswap.org/blog/launch-uniswap-v2/
-