Automated lottery player for Lotshot on TON blockchain.
- CLI Script - Command-line interface for automated ticket purchasing
- Web Interface - Browser-based wallet management and gameplay
- Real-time Stats - Live lottery statistics and prize availability
- Multi-language - English and Russian support
- Open Source - Full transparency, verify the code yourself
Option A: Official Installer
- Go to nodejs.org
- Download the macOS installer (LTS version recommended)
- Open the downloaded
.pkgfile - Follow the installation wizard
Option B: Using Homebrew
# Install Homebrew if you don't have it
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install Node.js
brew install node# Update package list
sudo apt update
# Install Node.js and npm
sudo apt install nodejs npm
# Or use NodeSource for latest version
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejssudo dnf install nodejs npmsudo pacman -S nodejs npmOption A: Official Installer
- Go to nodejs.org
- Download the Windows installer (LTS version)
- Run the
.msifile - Follow the installation wizard
- Restart your terminal/PowerShell
Option B: Using winget
winget install OpenJS.NodeJS.LTSOption C: Using Chocolatey
choco install nodejs-ltsOpen a terminal (or PowerShell on Windows) and run:
node --version
npm --versionYou should see version numbers (e.g., v20.10.0 and 10.2.0).
Option A: Using Git
git clone https://github.com/kdev-code/lotshot-autoplay.git
cd lotshot-autoplayOption B: Download ZIP
- Go to github.com/kdev-code/lotshot-autoplay
- Click the green "Code" button
- Select "Download ZIP"
- Extract the archive
- Open terminal in the extracted folder
npm installnpm startFollow the prompts to:
- Enter your 24-word seed phrase
- Set your budget in TON
- Optionally add a referral address
- Confirm and start playing
cd web
npm install
npm run devOpen http://localhost:5173 in your browser.
| Prize | Multiplier | Odds | Per Cycle |
|---|---|---|---|
| Jackpot | x1000 | 0.008% | 1 |
| Major | x200 | 0.025% | 3 |
| High | x77 | 0.08% | 10 |
| Mid | x20 | 0.4% | 50 |
| Low-Mid | x7 | 1.25% | 150 |
| Low | x3 | 2.5% | 300 |
| Mini | x1 | 10% | 1,200 |
Each cycle consists of 12,000 tickets
- Local Storage Only - Seed phrases never leave your device
- Direct Blockchain Connection - No intermediary servers via Orbs Network
- No Data Collection - We don't track or store any user data
- Open Source - Complete source code available for audit
- No Backend - Everything runs client-side
- Runtime: Node.js / TypeScript
- TON SDK: @ton/ton, @ton/core
- RPC: @orbs-network/ton-access
- Web: React + Vite
lotshot-autoplay/
├── src/
│ └── index.ts # CLI script
├── web/
│ └── src/
│ ├── App.tsx # Main web component
│ └── App.css # Styles
├── lotshot-ton-contracts/ # Smart contract reference
├── LICENSE # MIT License
├── README.md # English documentation
└── README.ru.md # Russian documentation
Node.js is not installed or not in PATH. Reinstall Node.js and restart your terminal.
On macOS/Linux, don't use sudo npm. Instead, fix npm permissions:
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
source ~/.bashrcRun npm install in the project directory.
Make sure you're in the web folder and ran npm install there too.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
If you find this project useful:
TON: UQCwCYI_4tLe7JOBLz4571m-ehDihIoxILlR3l1Je5XltHyF
Disclaimer: Gambling involves risk. Only play with funds you can afford to lose. This software is provided as-is without any guarantees.