create-fedimint-app
v0.0.1
Published
## Scaffolding Your First Fedimint App
Readme
create-fedimint-app
Scaffolding Your First Fedimint App
Compatibility Note: Requires Node.js version 18+, 20+
With NPM:
$ npm create fedimint-app@latestWith Yarn:
$ yarn create fedimint-appWith PNPM:
$ pnpm create fedimint-appThen follow the prompts!
You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Fedimint + React project, run:
# npm 7+, extra double-dash is needed:
npm create fedimint-app@latest my-fedimint-app -- --template vite-react-ts
# yarn
yarn create fedimint-app my-fedimint-app --template vite-react-ts
# pnpm
pnpm create fedimint-app my-fedimint-app --template vite-react-tsCurrently supported template presets include:
vite-react-ts- React + TypeScript template with Fedimint integration
You can use . for the project name to scaffold in the current directory.
Getting Started
After creating your project, install dependencies and start the dev server:
cd my-fedimint-app
npm install
npm run devThis will start a development server with hot module replacement. The template includes:
- React + TypeScript setup
- Fedimint wallet integration
- Basic styling with CSS
- Vite for fast development and building
