NadirAliOfficial
charcoin-private-sale-bot
Python

Automated Python bot to manage and execute staged token sales for CHAR Coin private investors. Tracks real-time price, enforces sale stages, and performs on-chain swaps via Jupiter once conditions are met. Designed for post-launch supply control and fair distribution.

Last updated Jul 1, 2026
11
Stars
0
Forks
0
Issues
0
Stars/day
Attention Score
39
Language breakdown
Python 100.0%
โ–ธ Files click to expand
README

CharCoin Private Sale Bot

An automated Python bot to control and execute private sale token releases for CHAR Coin. Designed to enforce structured, price-based selling post-launch to protect token value and ensure fair distribution.


๐Ÿš€ Features

  • Load investor wallet info, token allocation, and staking percentage
  • Multi-stage sell plan with customizable target prices
  • Sell in 20 fractions per stage for smoother release
  • Real-time price tracking (CoinGecko or Pyth)
  • On-chain swap execution via Jupiter Aggregator
  • Dry-run simulation and live execution modes
  • Secure handling of wallet private keys (encrypted JSON)

๐Ÿ“ Repository Structure

charcoin-private-sale-bot/
โ”œโ”€โ”€ investors.json           # Investor wallet + stage config
โ”œโ”€โ”€ private_keys.json        # Secure wallet key storage (never commit)
โ”œโ”€โ”€ .env                     # API keys, Solana RPC
โ”œโ”€โ”€ bot.py                   # Main bot logic
โ”œโ”€โ”€ utils/
โ”‚   โ”œโ”€โ”€ pricing.py           # Price feed handlers
โ”‚   โ””โ”€โ”€ jupiter.py           # Swap execution via Jupiter
โ””โ”€โ”€ logs/                    # Execution logs

โš™๏ธ Configuration

  • investors.json
[
     {
       "wallet": "InakiZubizarreta.sol",
       "total_tokens": 50400000,
       "staking_percentage": 0.30,
       "stages": [
         { "stagenumber": 1, "percentagetosell": 0.06, "targetprice_usd": 0.0024 },
         { "stagenumber": 2, "percentagetosell": 0.06, "targetprice_usd": 0.0030 }
       ]
     }
   ]
  • .env
RPC_URL=https://api.mainnet-beta.solana.com
   COINGECKOAPIKEY=yourapikey
  • private\_keys.json
{
     "InakiZubizarreta.sol": "private-key-string-here"
   }

๐Ÿงช Bot Modes

| Mode | Description | | --------- | ------------------------------------------------ | | dry-run | Simulates selling logic, no transactions sent | | live | Executes swaps on Jupiter when price targets hit |


๐Ÿ“Œ Example Log Output

โœ… Stage 2 triggered at $0.0030 for InakiZubizarreta.sol
๐Ÿ” Selling 30240 CHAR in 20 parts (~1512 per swap)
โœ… Remaining CHAR: 201600

๐Ÿ” Security Notice

  • Never commit or upload private_keys.json to any public repo.
  • Use per-investor wallets to limit exposure.
  • Production deployments should encrypt and lock access to key files.

๐Ÿ“… Development Timeline

  • โœ… Phase 1: Simulation logic + CLI alerts
  • โœ… Phase 2: Real price feeds + Jupiter integration
  • ๐Ÿ”œ Phase 3: Admin dashboard / monitoring panel

๐Ÿค Credits

Lead Developer: Nadir Ali Khan Bot Strategy & Oversight: Jorge Martinez Developed By: Team NAK (Blockchain | Automation | AI)


๐Ÿ“„ License

MIT License โ€” intended for internal use by the CharCoin Foundation.

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท NadirAliOfficial/charcoin-private-sale-bot ยท Updated daily from GitHub