create-polka-dapp
v0.1.2
Published
Scaffolding CLI to help developers get started with creating fullstack dApps on the Polkadot Ecosystem
Downloads
225
Maintainers
Readme
create-polka-dapp
Make Starting Up your Polkadot / Substrate dApp Easy and Convenient
Compatibility Note: All templates use Vite which requires Node.js version 18+, 20+. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
With NPM:
$ npm create polka-dapp@latest
With Yarn:
$ yarn create polka-dapp
With PNPM:
$ pnpm create polka-dapp
With Bun:
$ bun create polka-dapp
Then follow the prompts!
Currently supported template presets include:
FRONTEND
next - app router + ts + @polkadot-onboard
next - pages router + ts + @polkadot-onboard
react + ts + @polkadot-onboard
svelte + ts + @polkadot-onboard
🚧 Work In ProgressVARA + next + ts + @polkadot-onboard
🚧 Work In Progress
CONTRACT
!ink + development lifecycle utilities
FRONTEND + CONTRACT
New CLI Features
We've added new utility features to the CLI to enhance your Polkadot dApp development experience:
- Contract Development Tools: Easily scaffold and manage your smart contracts.
- Network Configuration: Streamlined setup for connecting to different Polkadot networks.
- Testing Utilities: Integrated tools for unit and integration testing of your dApp.
- New Frontend Frameworks: Added new frontend frameworks to the templates.
- Removed Support for JS frontend templates: Decided to keep only TS templates as developers should use Typescript when interacting with the polkadot api library.
Future Additions
Here are some exciting features on create-polka-dapp
roadmap:
Standalone Contract Development Library: We're extracting our contract development utility to create a tool on its own making it a separate library for more flexibility and easier maintenance.
Modular Wallet Connection Component: The wallet connection functionality will be available as a standalone, customizable component library, so developers can decide to use the component if they
Enhanced CLI Capabilities: More commands and options to further streamline your development workflow.
Additional Framework Support: We're planning to add support for more frontend frameworks and build tools.
Stay tuned for these updates, and feel free to contribute or suggest features on our GitHub repository!