https://github.com/0xatillaa/base-token-sale-example
Deploys a token contract to Base chain and creates an Uniswap liquidity pool so you can trade your token on Uniswap (Base). Uses Infura gas API for the best deployment fees.
https://github.com/0xatillaa/base-token-sale-example
base erc20 ethereum hardhat ico nft presales smart-contracts solidity token
Last synced: 13 days ago
JSON representation
Deploys a token contract to Base chain and creates an Uniswap liquidity pool so you can trade your token on Uniswap (Base). Uses Infura gas API for the best deployment fees.
- Host: GitHub
- URL: https://github.com/0xatillaa/base-token-sale-example
- Owner: 0xatillaa
- Created: 2024-10-10T16:14:36.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-01-15T09:19:17.000Z (4 months ago)
- Last Synced: 2025-04-27T13:22:57.253Z (24 days ago)
- Topics: base, erc20, ethereum, hardhat, ico, nft, presales, smart-contracts, solidity, token
- Language: Solidity
- Homepage:
- Size: 88.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Base Mainnet Token Sale Example
Launch a meme token sale on Base Network with automatic Uniswap liquidity pool deployment. All the ETH in your wallet will be used to create a liquidity pool. Then you can trade your token on Uniswap.
## Instructions1. Clone this repo and open it in your favorite editor
2. Replace "SEED PHRASE HERE" with your seed phrase (wallet must have Base ETH) in **hardhat.config.ts**,
3. Run these commands in the directory of the repo:
```shell
yarn install
yarn run hardhat run scripts/dynamicfee.ts --network base
```You will be asked questions like name, symbol, initialSupply and then after some waiting you will be given a token address. You can search for your pair on uniswap page.
4. Profit!**Donate: 0xB763F010126f95dFF6B76A0F5F4D5f85107C2E99**
Full tutorial on https://medium.com/@bireratilla/how-to-launch-a-meme-coin-on-uniswap-base-network-in-2-commands-62055e1cc7e4
## Features
- buy and sell fee (modify in the contract)
- automatic deployment to Uniswap base with all the ETH balance in your wallet
- marketing fee (goes to deployer)