For Auto Bot Optim AI
- NodeJS Download.
- Optim AI AccountOptim
- Proxy (Optional). Best Proxy Cherry Proxy
Using Better Proxy
-
Clone the repository:
git clone https://github.com/ahmuq/optimai-bot.git cd optimai-bot
-
Instal Packages and build packages:
npm install npm run build
-
Create a
nano proxy.txt
file in the root directory and add your proxies (one per line) (Optional).http://user:pass@host:port http://user:pass@host:port http://user:pass@host:port
-
Make file accounts,
cp accounts.json.example accounts.json
, edit and put your account details like this example:[ { "refreshToken": "your_refresh_token" }, { "refreshToken": "your_refresh_token" } ]
Note:
registerPayload
anduptimePayload
will be generated automatically by the bot using the same algorithm as the Python setup. You only need to provide therefreshToken
.
Get RefreshToken (OptimAI Console - [Ctrl + Shift + I])
const token = localStorage.getItem("opai_refresh_token");
if (token) {
const textArea = document.createElement("textarea");
textArea.value = token;
document.body.appendChild(textArea);
textArea.select();
document.execCommand("copy");
document.body.removeChild(textArea);
console.log(
"%cRefresh Token copied to clipboard!",
"color: green; font-size: 16px;"
);
} else {
console.error("Refresh Token not found in localStorage!");
}
Payload Generation: The bot will automatically generate registerPayload
and uptimePayload
using the same algorithm as the Python setup script. No manual extraction needed!
- Run the bot:
npm run start
If you would like to support the development of this project, you can make a donation using the following addresses:
- Solana:
FdHsx8He55QgRCSv6NMEpFfkjXFsXFEeWEpJpo7sUQZe
- EVM:
0x406de5ec09201002c45fdd408ab23159cd12fa3e
- BTC:
bc1prze475lgalevngrhwq6r9wyng3rl3zskyru4rn4k6j8kwzmmczmqcd7u7y
This tool is for educational purposes only. Use it at your own risk.