1.0.1 ⢠Published 8 months ago
crossfi-kit-template v1.0.1
CrossFi Chain Starter Kit
A CLI tool to help developers kickstart their CrossFi projects with pre-configured Hardhat and React templates.
Features
- Quickly set up a Hardhat project.
- Easily create a React frontend.
- Option to generate both Hardhat and React projects in a single directory.
- Hassle-free dependency installation.
Installation
You can use npx
to run the tool without installation:
Run the command and follow the prompts:
npx crossfi-kit-template
Options
- Select the type of project you want: Hardhat, React, or Both.
- Provide a name for your project directory.
Example
- Run the tool:
npx crossfi-kit-template
- Choose "Both" to generate a full-stack project:
? Which project do you want to create? (Use arrow keys)
Hardhat
React
> Both
Enter your project name:
? Enter your project name: my-crossfi-app
The tool sets up the project and installs dependencies automatically:
```bash
Setting up Hardhat project...
Setting up React project...
Installing dependencies...
All done! š
- Your project is ready to go:
my-crossfi-app/
āāā contracts/ # Hardhat backend
āāā frontend/ # React frontend