UNPKG

gogo-movement-starter

Version:

GOGO Movement Network React Starter Template - Complete React + Vite + Move contracts setup

110 lines (78 loc) • 2.99 kB
# GOGO Movement Network Starter Template šŸš€ **Complete React + Vite + Move contracts setup for Movement Network** A full-stack starter template that combines React frontend with Move smart contracts, ready for building dapps on Movement Network. ## ✨ Features - **React + Vite + TypeScript** - Modern frontend setup - **GOGO Components** - Pre-built React components for Movement Network - **Wallet Integration** - Built-in @razorlabs/razorkit wallet adapters - **Move Contracts** - Complete Move development environment - **Movement Network** - Pre-configured for Movement Network endpoints - **Interactive Setup** - Automatic installation and configuration ## šŸš€ Quick Start ### Option 1: Global Installation (Recommended) Install globally and create new projects: ```bash npm install -g gogo-movement-starter create-gogo-app my-movement-app cd my-movement-app npm run dev ``` ### Option 2: Direct Installation Install in current directory: ```bash npm install gogo-movement-starter npm run create ``` This will automatically: 1. āœ… Copy all React template files 2. āœ… Install dependencies 3. āœ… Set up Movement Network integration 4. āœ… Create Move contracts folder 5. āœ… Configure everything for development ### Start development: ```bash npm run dev ``` ### Work with Move contracts: ```bash cd contracts aptos move compile aptos move test aptos move publish ``` ## šŸ“ What's Included ``` gogo-movement-starter/ ā”œā”€ā”€ src/ # React components and hooks │ ā”œā”€ā”€ components/ # GOGO React components │ ā”œā”€ā”€ hooks/ # Custom hooks │ └── movement/ # Movement Network integration ā”œā”€ā”€ public/ # Static assets ā”œā”€ā”€ contracts/ # Move smart contracts │ ā”œā”€ā”€ sources/ # Move source files │ ā”œā”€ā”€ tests/ # Contract tests │ ā”œā”€ā”€ Move.toml # Project configuration │ └── config.yaml # Movement Network settings ā”œā”€ā”€ scripts/ # Setup and installation scripts └── package.json # Dependencies and scripts ``` ## šŸŽÆ Movement Network Configuration The template comes pre-configured with Movement Network endpoints: - **RPC URL**: `https://full.testnet.movementinfra.xyz/v1` - **Faucet URL**: `https://faucet.testnet.movementinfra.xyz/` - **Network**: Movement Network Testnet ## šŸ”§ Available Scripts - `npm run dev` - Start development server - `npm run build` - Build for production - `npm run setup-movement` - Reconfigure Move contracts - `npm run lint` - Run ESLint ## šŸ“š Documentation - [Movement Network Docs](https://docs.movementnetwork.xyz/) - [GOGO Components](https://movementlabs.xyz) - [Aptos Move](https://aptos.dev/move/) ## šŸ¤ Contributing This template is built by Movement Industries. Contributions are welcome! ## šŸ“„ License MIT License - see LICENSE file for details. --- **Built on Moveindustries** šŸŽÆ