Solana-Dev-Tools

Setup Guide

  1. Make Sure you have Node (& NPM) and VSCode Installed.
  2. Create a new folder and open it in VSCode
  3. Create these 4 files:
    freeze-script.js
    config.json
    package.json
    generate-wallet.js
  4. Paste the below code into those files
    freeze-script.js
    config.json
    package.json
    generate-wallet.js
  5. Open Terminal in VS Code and run the command
    Terminal
  6. Run this code to generate a private key and wallet address pair (or use existing private key from Phantom)
    Terminal
  7. Paste the Private Key in 'config.js' file
  8. Import the Wallet to Phantom and Fund it with SOL
  9. Create a Token with that wallet WITH Freeze Authority Enabled
    You can keep the Mint Authority Disabled.
  10. Paste the Mint Address in 'config.js' file
  11. Get an RPC endpoint from Helius or Alchemy and paste it into 'config.js'
  12. Go to PumpSwap and Add Liquidity to your token.
  13. Copy the Pump Fun Holder Wallet and paste it into 'config.js'
    ==== 'config.js' is now fully configured ====
  14. Now start running the script.
    Anyone who buys the token will be frozen immediately and won't be able to sell.
    Terminal
  15. Remove the Liquidity on PumpSwap.