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!
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 ofpnpm
. By shuffling some stuff around, our templates now work with vanillanpm
. - All templates using lockfiles now. As they should’ve from the beginning
.
- PAPI spinup in
react-papi-tailwind
template is now faster with onepapi update
command, instead of calling a bunch ofpapi 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