This repository contains the official TokenBot (TBOT) multi-chain token contracts supporting Ethereum L1, Base L2, and Solana with native bridge integration.
TokenBot (TBOT) is a multi-chain token designed for seamless cross-chain operation between Ethereum mainnet, Base L2, and Solana. The token leverages native bridges and Wormhole for secure, decentralized transfers across all supported networks.
- Name: TokenBot
- Symbol: TBOT
- Total Supply: 1,000,000,000 TBOT
- Decimals: 18
- L1 Network: Ethereum Mainnet
- L2 Network: Base
Ethereum L1 (Origin)
│
┌──────┴──────┐
│ │
Base L2 Solana
(Auto) (Created)
Ethereum L1 Base L2 Solana
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ TokenBotL1 │ │ L2 TBOT │ │ Wrapped │
│ (TBOT) │◄─────────────►│ (Auto- │◄─────────►│ TBOT (SPL) │
│ │ Base Bridge │ created) │ Wormhole │ Token │
└─────────────┘ └─────────────┘ └─────────────┘
- Purpose: Primary token contract on Ethereum L1
- Features: Burnable, Pausable, Ownable
- Networks: Ethereum → Base (automatic) → Solana (Wormhole)
TBOT launches simultaneously across Ethereum, Base, and Solana:
- Ethereum L1: Origin token deployment
- Base L2: Automatic creation via Base Bridge
- Solana: SPL token created and registered with Wormhole
- Node.js v16+
- ETH for gas fees on target network
npm install# Interactive setup (recommended)
npm run setup
# Or manually copy and edit .env
cp .env.example .envSee Environment Setup Guide for detailed configuration options.
# Test all contracts
npm test
# Test L1 contract only
npm run test:l1
# Generate coverage report
npm run test:coverage
# Generate gas usage report
npm run test:gas# Lint all files
npm run lint
# Lint Solidity files only
npm run lint:sol
# Lint JavaScript files only
npm run lint:js
# Auto-fix linting issues
npm run lint:fix
# Format all files
npm run format# Testnet (Sepolia + Base Sepolia + Solana Devnet)
npm run deploy:testnet
# Mainnet (Ethereum + Base + Solana)
npm run deploy:mainnetThis will:
- Deploy TokenBotL1 to Ethereum
- Calculate Base L2 address (created on first bridge)
- Create SPL token on Solana
- Register with Wormhole bridge
- Save all addresses to
deployments/multichain-addresses.json
- Visit https://bridge.base.org
- Connect your wallet
- Select TBOT token
- Enter amount and confirm
- L1 → L2: ~1-3 minutes
- L2 → L1: ~7 days (security period)
See BRIDGE_GUIDE.md for detailed integration examples.
- Pausable: Owner can pause transfers in emergencies
- Burnable: Token holders can burn their tokens
- Ownable: Administrative controls for owner
- Standard Compliant: Full ERC-20 compatibility
- Automatic Creation: Token is automatically created on Base when bridged from Ethereum
- Native Bridge: Uses Base's native bridge for secure transfers
- No Manual Deployment: Bridge handles L2 token creation
- Base Native Bridge: Secure, decentralized bridging
- Automatic L2 Creation: No manual L2 deployment needed
- Standard Interface: Compatible with bridge UIs and tools
- Full Documentation: https://docs.tokenbot.com
- Website: https://tokenbot.com
- Bridge Guide: BRIDGE_GUIDE.md
- Deployment Guide: DEPLOYMENT.md
- Verification Guide: docs/VERIFICATION.md
├── contracts/
│ └── TokenBotL1.sol # Ethereum L1 contract
├── scripts/
│ ├── deploy.js # Multi-chain deployment orchestration
│ └── setup-env.js # Interactive environment setup
├── test/
│ ├── TokenBotL1.test.js # L1 tests
│ ├── DeploymentScripts.test.js # Deployment tests
│ ├── MultiChainDeployment.test.js # Multi-chain tests
│ └── SolanaBridge.test.js # Solana bridge tests
├── BRIDGE_GUIDE.md # Cross-chain bridging guide
└── DEPLOYMENT.md # Deployment instructions
- Chain ID: 1
- Explorer: https://etherscan.io
- Chain ID: 8453
- Explorer: https://basescan.org
- Bridge: https://bridge.base.org
- Sepolia: Chain ID 11155111
- Base Sepolia: Chain ID 84532
- Fork the repository
- Create a feature branch
- Run tests:
npm test - Submit a pull request
- Security Score: 🟢 High (95/100)
- OpenZeppelin: All contracts use audited implementations
- Test Coverage: Comprehensive test suite
- Static Analysis: Slither and Mythril verified
- No Secrets: No hardcoded keys or private information
- Audit Ready: External audit recommended before mainnet
- 🛡️ Security Overview - Comprehensive security information
- 🎯 Threat Model - Risk analysis and mitigations
- 🔒 Security Checklist - Deployment security guide
- 🧪 Security Testing - Testing guidelines and automation
Found a security issue? Please report responsibly:
- Email: security@tokenbot.com
- Response: < 24 hours
- Bounty: Up to $10,000 (planned)
See SECURITY.md for full details.
MIT