Skip to content

franRappazzini/randombag

Repository files navigation

🧺 RandomBag.fun

One-click crypto investing. Instant exposure to on-chain trends. Powered by Solana.

✨ What is RandomBag?

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.

🧩 What Problem Does It Solve?

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:

1. Trend Overload

New narratives pop up weekly—far too many to properly research and act on in time.

2. Execution Friction

Swapping tokens across chains requires multiple approvals, bridges, wallet switching, and high gas overhead.

3. FOMO & Missed Gains

Slower execution and info overload often cause retail users to miss the early upside of hot trends.

⚡ How RandomBag Helps

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.

🛠️ Tech Stack

  • Blockchain: Solana and ZetaChain
  • Languages: Rust (smart contracts), TypeScript (tests)
  • Frameworks: Anchor
  • Infra: RPC providers, cross-chain bridges, and on-chain aggregators

Auditware Radar audit

🚀 Getting Started

Prerequisites

  • Node.js >= 18
  • Rust >= 1.72
  • Anchor CLI
  • Solana CLI

Installation

# 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 ©

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors