An automation tool for minting NFTs on launchmynft.io using multiple Solana wallets.
- Python 3.7 or higher
- Google Chrome browser
- Phantom wallet private keys
- Windows or MacOS
bash Create a new virtual environment python -m venv venv Activate virtual environment On Windows: venv\Scripts\activate On Mac/Linux: source venv/bin/activate
pip install selenium
pip install webdriver_manager
pip install requests
- Install Phantom extension in Chrome
- Go to
chrome://extensions/
- Enable "Developer mode" (top right)
- Locate Phantom extension
- Note the extension ID
- Visit:
chrome://extensions/?id=<extension_id>
- Download and save as
Phantom.crx
in your project directory
Create a config.json
file in the project directory:
{
"launchpadLink": "https://www.launchmynft.io/collections/your-collection-link",
"wallets": [
{
"name": "Wallet 1",
"privateKey": "your-private-key-here"
},
{
"name": "Wallet 2",
"privateKey": "your-second-private-key-here"
}
]
}
Ensure your project directory looks like this:
project-directory/
├── venv/
├── main.py
├── launchmy.py
├── config.json
└── Phantom.crx
- Activate your virtual environment (if not already activated)
- Run the script:
python main.py
The script will:
- Process each wallet sequentially
- Initialize Phantom wallet with the provided private key
- Connect to the launchpad
- Attempt to mint NFTs
name
: Identifier for the wallet (for logging purposes)privateKey
: Your Solana wallet's private key
In launchmy.py
, you can modify Chrome options:
options.add_argument("--disable-gpu")
: Disables GPU hardware accelerationoptions.add_experimental_option("detach", True)
: Keeps windows open after mint (commented by default)
-
ChromeDriver Issues
- The script automatically downloads the appropriate ChromeDriver
- If you encounter errors, try deleting the cached ChromeDriver and let it download again
-
Phantom Extension Issues
- Ensure
Phantom.crx
is in the correct location - Verify the extension file is not corrupted
- Ensure
-
SSL Errors
pip install certifi
- Never share your private keys
- Store your
config.json
securely - Don't commit sensitive information to version control
This tool is for educational purposes only. Be aware that:
- Automated minting might be against some platforms' terms of service
- Use at your own risk
- Always verify transactions before confirming