One-click crypto investing. Instant exposure to on-chain trends. Powered by Solana.
RandomBag.fun is a one-click crypto investment platform that instantly delivers a professionally curated portfolio around any on-chain trend:
AI, DeFi, Gaming, Memes, RWA, and ultra-niche dApps.
Simply choose a theme, input the amount you want to invest, and a single on-chain transaction executes all necessary swaps—delivering a diversified “bag” straight to your wallet.
Crypto markets evolve at hyperspeed. While you’re:
- Scrolling Twitter
- Researching tokenomics
- Switching wallets and chains
- Using bridges and paying multiple gas fees
…the trend may already be gone.
RandomBag solves three major pain points:
New narratives pop up weekly—far too many to properly research and act on in time.
Swapping tokens across chains requires multiple approvals, bridges, wallet switching, and high gas overhead.
Slower execution and info overload often cause retail users to miss the early upside of hot trends.
RandomBag compresses the entire investment flow into a single seamless transaction, all completed in under 30 seconds:
- Portfolio curation
- Token swapping
- Cross-chain settlement
All handled instantly.
- Blockchain: Solana and ZetaChain
- Languages: Rust (smart contracts), TypeScript (tests)
- Frameworks: Anchor
- Infra: RPC providers, cross-chain bridges, and on-chain aggregators
- Node.js >= 18
- Rust >= 1.72
- Anchor CLI
- Solana CLI
# Clone the repo
git clone https://github.com/franRappazzini/randombag.git
cd randombag
# Install dependencies to tests
npm i
# Compile Solana program to devnet
anchor build -- --features devnet
# Set devnet as target
solana config set --url devnet
# Deploy the program
anchor deploy --provider.cluster devnet
# Edit and then run tests
anchor test --skip-deploy --skip-build🧠 Why RandomBag?
RandomBag is built to give retail users an edge—simplifying access to the hottest on-chain narratives without the noise, complexity, or time drain.
Invest like a degen, without the hassle.
⸻
📜 License
MIT ©