gogo-movement-starter
Version:
GOGO Movement Network React Starter Template - Complete React + Vite + Move contracts setup
110 lines (78 loc) ⢠2.99 kB
Markdown
# 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** šÆ