Create-polkadot-dapp @ 1.2.0!

Long-awaited update to create-polkadot-dapp is out!

This includes:

New react-solidity-hardhat template

This streamlines huge (and mildly outdated) hardhat guide into just a couple of simple commands, allowing user to deploy an ERC20 contract on Passet Hub and interact with it from a React app right away!

(screenshot)

Updates to react-solidity-remix (fka react-solidity)

Even though I’ve already marked this template as deprecated, it got some updates too:

  • Switched from Westend AH to Passet Hub
  • Changed from older @parity/revive to @parity/resolc
  • Changed smart contracts → frontend exporting which removed the need for monorepo pnpm setup

DX updates + internal improvements

  • Stopped forcing pnpm on the users. We’ve received several complaints about it, and frankly, there was little real need of pnpm. By shuffling some stuff around, our templates now work with vanilla npm.
  • All templates using lockfiles now. As they should’ve from the beginning :sweat_smile:.
  • PAPI spinup in react-papi-tailwind template is now faster with one papi update command, instead of calling a bunch of papi add commands. Generally made PAPI setup more straightforward.
  • Templates are organised in sections now, with descriptions of each template visible when choosing.
  • Bunch of DX improvements on template development itself.

Try it out:

npx create-polkadot-dapp@latest

GitHub repo
NPM package