create-scaffoldstellarplus
Version:
CLI tool to scaffold a new Stellar Soroban dApp with Next.js frontend
63 lines (40 loc) • 1.21 kB
Markdown
# create-scaffoldstellarplus
Official CLI tool to create a new Stellar Soroban dApp with [Scaffold Stellar Plus](https://github.com/Scaffold-Stellar-Plus/scaffoldstellarplus).
## Usage
### With NPX (Recommended)
```bash
npx create-scaffoldstellarplus my-dapp
```
### With NPM
```bash
npm create scaffoldstellarplus my-dapp
```
### With Yarn
```bash
yarn create scaffoldstellarplus my-dapp
```
## Options
- `--use-yarn` - Force using Yarn as the package manager
- `--use-npm` - Force using npm as the package manager
## What's Included
This CLI tool will:
1. Clone the latest version of Scaffold Stellar Plus
2. Set up your project directory
3. Install all dependencies
4. Initialize a fresh git repository
## After Installation
Navigate to your project and run:
```bash
cd my-dapp
yarn setup # Set up Stellar identities and build contracts
yarn deploy:testnet # Deploy contracts to Stellar testnet
yarn dev # Start development server
```
## Requirements
- Node.js 18+
- Rust toolchain with `wasm32v1-none` target
- Stellar CLI
- Git
For detailed prerequisites, see the [main documentation](https://github.com/Scaffold-Stellar-Plus/scaffoldstellarplus).
## License
MIT