Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/solmatts/pumpfun-smart-contract
pumpfun smart contract. pump.fun smart contract. pumpdotfun smart contract. meteora pumpfun smart contract
https://github.com/solmatts/pumpfun-smart-contract
meteora pump-fun smartcontract solana
Last synced: 9 days ago
JSON representation
pumpfun smart contract. pump.fun smart contract. pumpdotfun smart contract. meteora pumpfun smart contract
- Host: GitHub
- URL: https://github.com/solmatts/pumpfun-smart-contract
- Owner: SolMatts
- Created: 2024-11-29T14:41:17.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-29T14:44:17.000Z (2 months ago)
- Last Synced: 2025-01-28T16:14:27.114Z (9 days ago)
- Topics: meteora, pump-fun, smartcontract, solana
- Language: Rust
- Homepage:
- Size: 146 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PumpFun - Solana Smart Contract Forked for Meteora
**PumpFun** is a Solana smart contract that builds upon the **Meteora** Dex protocol to implement advanced functionalities for token rewards, liquidity management, and decentralized finance mechanics. This project is designed to integrate seamlessly with the Solana ecosystem, ensuring performance, scalability, and security.
---
## π Features
- **Forked from Meteora:** Leveraging the robust Meteora foundation for optimized smart contract development.
- **Token Rewards Mechanism:** Implements dynamic reward distribution for stakers and liquidity providers.
- **Fee Management:** Includes flexible fee structures for user interactions, with potential to adapt linear or sigmoidal decay models.
- **On-chain Efficiency:** Optimized for Solanaβs high-performance, low-latency blockchain.---
## π Installation
1. Clone the repository:
```bash
git clone https://github.com/asseph/pumpfun-smart-contract-solana.git
cd pumpfun-smart-contract-solana
```
2. Install dependencies:
```
- anchor : v0.29.0
- solana : v1.18.18
- rustc : v1.75.0
```
## π Project Structure- `programs/pumpfun`: Contains the main smart contract code.
- `tests`: Automated test scripts for contract functionality.
- `migrations`: Deployment scripts for managing updates.
- `scripts`: Useful utilities for interacting with the contract.## π§ Configuration
- Update the `Anchor.toml` file to set your Solana cluster (e.g., Devnet or Mainnet) and wallet details:
```
[provider]
cluster = "https://api.devnet.solana.com"
wallet = "~/.config/solana/id.json"
```
- Ensure you have Solana CLI installed and configured:
```
solana config set --url https://api.devnet.solana.com
```## π Usage
- Interact with the smart contract: Use the provided scripts or integrate with a frontend to interact with the PumpFun smart contract.
- Testing: Run unit tests to validate the functionality
- Deploy to Mainnet: Ensure all tests pass, and then update the deployment configuration to target the mainnet cluster.## π€ Proof of work & Collaboration
CA: [`DkgjYaaXrunwvqWT3JmJb29BMbmet7mWUifQeMQLSEQH`](https://solscan.io/account/DkgjYaaXrunwvqWT3JmJb29BMbmet7mWUifQeMQLSEQH?cluster=devnet)
Meteora Migration Tx: [`4xuL6UqNHU7DRtTvCA5S8bbunTs7k8KF7zAJiegdG2Ngujafz6CdJEZLQ3VQKX942Hp7Eb4gxXGwDLjHb4STzCCS`](https://solscan.io/tx/4xuL6UqNHU7DRtTvCA5S8bbunTs7k8KF7zAJiegdG2Ngujafz6CdJEZLQ3VQKX942Hp7Eb4gxXGwDLjHb4STzCCS?cluster=devnet)
## Author
[idioRusty](https://t.me/idioRusty)