JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q31432F
  • License MIT

Scaffolding CLI to help developers get started with creating fullstack dApps on the Polkadot Ecosystem

Package Exports

  • create-polka-dapp
  • create-polka-dapp/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (create-polka-dapp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

create-polka-dapp npm package

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 Progress
    • VARA + 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:

  1. Contract Development Tools: Easily scaffold and manage your smart contracts.
  2. Network Configuration: Streamlined setup for connecting to different Polkadot networks.
  3. Testing Utilities: Integrated tools for unit and integration testing of your dApp.
  4. New Frontend Frameworks: Added new frontend frameworks to the templates.
  5. 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:

  1. 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.

  2. 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

  3. Enhanced CLI Capabilities: More commands and options to further streamline your development workflow.

  4. 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!

Happy Building on Polkadot!!