Reown CLI

A command-line interface for creating Flutter projects with Reown SDKs integration.

Features

  • Create new Flutter projects with Reown AppKit SDK integration
  • Automatically sets up project structure and dependencies
  • Automatically fetches the latest stable version of Reown AppKit from pub.dev
  • Configures supported blockchains (e.g., eip155, solana, bitcoin)

Installation

dart pub global activate reown_cli

Usage

reown create --appkit --name my_awesome_app --projectId your_reown_project_id

What the command does

When you run the create command, it will:

  1. Create a new Flutter project with the specified name and organization
  2. Set up the project structure with proper navigation
  3. Configure dependencies with the latest stable version of Reown AppKit
  4. Set up platform-specific settings:
    • iOS: Configures minimum platform version (13.0) in Podfile (only when iOS is enabled)
    • Android: Sets up proper configuration
  5. Integrate your project ID into the generated code
  6. Configure supported blockchains in the generated code

Options

  • --appkit, -a: Create a project with Reown AppKit SDK integration (required)
  • --name, -n: The name of the project (required)
  • --org, -o: The organization name (e.g., com.example) (default: com.example)
  • --projectId, -i: The Reown project ID (required)
  • --platforms, -p: Platforms to support (android,ios,web) (default: android,ios)
  • --chains, -c: Blockchains to support (e.g., eip155,solana,bitcoin) (default: eip155)
  • --verbose, -v: Enable verbose output (default: false)

Example

reown create --appkit --name my_awesome_app --projectId 123456 --org com.testing --platforms ios,android --chains eip155,solana,bitcoin --verbose

Development

This package is part of the Reown Flutter SDK. For more information, visit docs.reown.com.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Libraries

reown_cli
Support for doing something awesome.