@tortoise-os/create-bun-move
v0.3.0
Published
π’ CLI to create new TortoiseOS DeFi projects on Sui blockchain
Maintainers
Readme
@tortoise-os/create-bun-move
π’ CLI tool to create new TortoiseOS DeFi projects on Sui blockchain.
π Quick Start
# Using bunx (recommended)
bunx @tortoise-os/create-bun-move my-tortoise-app
# Or using npm
npx @tortoise-os/create-bun-move my-tortoise-app
# With options
bunx @tortoise-os/create-bun-move my-app -t minimal --no-dockerπ Usage
Interactive Mode
bunx @tortoise-os/create-bun-moveYou'll be prompted for:
- Project name
- Template (Full Stack or Minimal)
- Sui Move contracts (Yes/No)
- Docker configuration (Yes/No)
- Magic UI components (Yes/No)
Command Line Options
create-bun-move [project-name] [options]
Arguments:
project-name Name of your project
Options:
-V, --version output the version number
-t, --template <type> Project template (minimal|full) (default: "full")
--no-sui Skip Sui Move contracts
--no-docker Skip Docker setup
-h, --help display help for commandExamples
# Full stack project with all features
bunx @tortoise-os/create-bun-move my-defi-app
# Minimal project without Docker
bunx @tortoise-os/create-bun-move simple-app -t minimal --no-docker
# Web-only project without Move contracts
bunx @tortoise-os/create-bun-move frontend-app --no-suiπ― Templates
Full Stack Template
Includes:
- β Next.js 14 Web App
- β Express API Server
- β Sui Move Smart Contracts
- β Magic UI Components
- β Docker Configuration
- β AI Integration Ready
Minimal Template
Includes:
- β Next.js 14 Web App
- β Sui Move Smart Contracts
- β Basic UI Components
π¦ What Gets Created
my-tortoise-app/
βββ apps/
β βββ web/ # Next.js frontend
β βββ api/ # Express API (full template)
βββ packages/
β βββ core/ # Core utilities
β βββ sdk/ # Sui SDK wrapper
β βββ ui/ # Magic UI components
βββ move/ # Sui Move contracts
βββ docker/ # Docker configs (if enabled)
βββ .clauderc # AI assistant instructions (Bun-first!)
βββ .cursorrules # Cursor IDE rules
βββ package.json
βββ .gitignore
βββ README.mdπ€ AI Assistant Support
Every project includes .clauderc and .cursorrules files that instruct Claude, Cursor, and other AI coding assistants to:
- β
Always use
buninstead of npm/yarn/pnpm - β
Use
bunxinstead of npx - β Follow TortoiseOS best practices
- β Use proper Sui Move commands
This ensures AI assistants give you bun-first suggestions automatically!
π οΈ After Creation
cd my-tortoise-app
# Install dependencies
bun install
# Start Docker services (if enabled)
docker compose up -d
# Initialize Sui (if included)
task sui:init
# Start development server
bun run devThe app will be running at http://localhost:3000
π§ Development
# Start web app
bun run dev
# Build for production
bun run build
# Run tests
bun test
# Lint code
bun run lintπ Features
DeFi Products Included
- π TortoiseSwap - AI-powered AMM
- π° TortoiseVault - Auto-compounding yield
- π΅ TortoiseUSD - NFT-backed stablecoin
- π And 7 more DeFi protocols!
Tech Stack
- Frontend: Next.js 14, React 18, TypeScript
- Styling: Tailwind CSS, Radix UI, Magic UI
- Blockchain: Sui, Move Language
- Package Manager: Bun
- Containerization: Docker (optional)
π¨ Magic UI Components
If you enable Magic UI, you get:
- β¨ Animated backgrounds (RetroGrid, Particles)
- π― Text animations (SparklesText, HyperText)
- π¨ Interactive components (BorderBeam, BlurFade)
- π Beautiful buttons (RainbowButton, ShimmerButton)
π Documentation
π€ Contributing
We welcome contributions! Please see our Contributing Guide.
π License
MIT Β© TortoiseOS Team
π’ About TortoiseOS
TortoiseOS is an AI-Native DeFi Operating System built on Sui blockchain. It provides a complete suite of DeFi products powered by machine learning and artificial intelligence.
Created with π’ by the TortoiseOS team
