https://github.com/earthskyorg/sui-pumpfun-smart-contract
SUI Pumpfun Smart Contract
https://github.com/earthskyorg/sui-pumpfun-smart-contract
bonding-curve launchpad liquidity-pool move pumpdotfun sui
Last synced: 4 months ago
JSON representation
SUI Pumpfun Smart Contract
- Host: GitHub
- URL: https://github.com/earthskyorg/sui-pumpfun-smart-contract
- Owner: earthskyorg
- License: mit
- Created: 2025-03-26T14:02:43.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-27T14:07:49.000Z (7 months ago)
- Last Synced: 2025-05-21T09:15:45.168Z (5 months ago)
- Topics: bonding-curve, launchpad, liquidity-pool, move, pumpdotfun, sui
- Language: Move
- Homepage: https://Pumpisland.fun
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SUI Pump.fun Smart Contract
A Move smart contract implementation for pump.fun, providing functionality for virtual LP management, token creation, and Raydium Pool integration.
## Overview
The contract enables users to:
- Connect wallet and create tokens
- Manage token information and avatars
- Trade tokens through an automated bonding curve
- Migrate liquidity pools## Core Components
### Key Structures
- `BondingCurve`: Manages token pairs and liquidity
- `Configurator`: Handles protocol parameters and fees
- `AdminCap`: Controls administrative functions### Main Functions
```rust
public fun buy(bc: &mut BondingCurve, config: &mut Configurator, payment: coin::Coin,
amount: u64, ctx: &mut TxContext) : coin::Coin
```
Purchase tokens using SUI.```rust
public fun sell(bc: &mut BondingCurve, config: &mut Configurator, tokens: coin::Coin,
amount: u64, ctx: &mut TxContext) : coin::Coin
```
Sell tokens back to the contract.```rust
public fun list(config: &mut Configurator, treasury_cap: &mut coin::TreasuryCap,
metadata: &coin::CoinMetadata, payment: coin::Coin, /* ... */) : BondingCurve
```
Create and list a new token pair.## Administration
Administrative functions allow updating:
- Listing fees
- Migration parameters
- Supply thresholds
- Virtual liquidity### If you need some help, please contact me
## 🙋♂️ Cᴏɴᴛᴀᴄᴛ ᴍᴇ Oɴ ʜᴇʀᴇ: 👋 ##Telegram: https://t.me/opensea712
## Conclusion
This smart contract provides a robust foundation for decentralized token creation and trading on the SUI network. With its automated bonding curve mechanism and virtual LP management, it offers an efficient and secure platform for token operations.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.