https://github.com/qiwihui/pumpeth
A simple pump.fun clone
https://github.com/qiwihui/pumpeth
Last synced: 5 months ago
JSON representation
A simple pump.fun clone
- Host: GitHub
- URL: https://github.com/qiwihui/pumpeth
- Owner: qiwihui
- Created: 2024-07-06T17:20:18.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-31T01:42:42.000Z (about 1 year ago)
- Last Synced: 2025-03-31T14:58:17.617Z (6 months ago)
- Language: Solidity
- Size: 80.1 KB
- Stars: 53
- Watchers: 1
- Forks: 35
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## pump eth
1. 创建代币
2. 购买代币
3. 卖出代币```solidity
contract Token is ERC20 {}contract TokenFactory
- createToken(string name, string symbol)
- new Token
- initial_supply- buy(address tokenAddress) payable
- calculateBuyReturn()
- uniswap:
- createLiquilityPool()
- addLiquidity()
- burnLiquidityToken()- sell(address tokenAddress, uint256 amount)
- calculateSellReturn()
- transfer
```1. [x] check token state
2. [x] Fork mainnet, test uniswap
3. [x] minimal proxy
4. [x] Bonding Curve