v0.3.0
We are thrilled to announce the release of pop-cli
version 0.3.0! This update brings significant enhancements, including the parachain builder and deployer, and support for the entire development process of smart contracts using ink!.
With this milestone,pop-cli
now supports creating, building and running parachains, as well as the entire lifecycle of smart contract development.
Summary of New Features
pop build
. The builder has been designed to recognize the type of project the user wants to build. By simply typingpop build
it can determine whether the project is a parachain, contract, or pallet, and proceed with the appropriate build process.pop build spec
. Builds your parachain and generates the necessary files and data required for registering it on a Polkadot network. It has an interactive UI to guide the user in the process.- Spawn a local network using
pop up parachain
,pop
will source all the required binaries for you in seconds. pop up parachain
keeps some artifacts in cache to improve the developer experience and make the development process faster.pop clean cache
allows users to easily clean this cache.- Spin up the Paseo, Kusama or Polkadot Relay Chain with a simple command. (More information here: https://learn.onpop.io/v/appchains/guides/spinning-up-a-polkadot-network/spinning-up-the-polkadot-network)
- Generate a new ink! smart contract from diverses templates with
pop new contract
. pop build
. Builds your ink! smart contract.- Test an ink! smart contract by executing all unit tests with
pop test contract
and e2e tests withpop test contract --e2e
. For e2e tests,pop
will automatically source thesubstrate-contracts-node
binary, making it easier to run these tests. - Deploy an ink! smart contract to a local development or remote parachain node with
pop up contract
. If no specific blockchain is specified by the user, to streamline the development process, the system will automatically run a development contract node for testing purposes. - Interacts with your deployed smart contract with
pop call contract
. - Various bug fixes and user experience (UX) improvements
Community Contributions
We appreciate the valuable contributions from our external community members. Your efforts play a significant role in the success of of pop-cli
. Thank you for your support!
- @hitchhooker for fixing a bug when renaming a binary #241
- @bolajahmad for adding a flag
all
flag topop clean cache
to remove all the artifacts #233
What's Changed
- fix: remove unused dependencies and fix cargo deny by @AlexD10S in #215
- feat(up parachain): faster binary sourcing by @evilrobot-01 in #199
- refactor: standardise commands by @evilrobot-01 in #217
- feat: clean cache by @evilrobot-01 in #216
- feat: add paseo support by @evilrobot-01 in #182
- feat: guide user for contract creation and add 4 contract templates by @AlexD10S in #201
- feat:
dry-run
flag to estimate gas by @AlexD10S in #203 - chore: set
CONTRACTS_NODE_PATH
env variable for e2e tests by @AlexD10S in #209 - refactor(templates): Make templates and providers generic by @peterwht in #226
- refactor: improve ux by @evilrobot-01 in #235
- refactor: upload + instantiate contract by @AlexD10S in #228
- feat: enable building without project type specification by @evilrobot-01 in #222
- docs: consolidate README into Docs by @brunopgalvao in #223
- feat(build parachain): generate specification, wasm and genesis state files by @AlexD10S in #219
- fix: handle IO error if rename fails by @hitchhooker in #241
- fix: readme commands by @AlexD10S in #243
- fix: remove unused folders after download contracts node binary by @AlexD10S in #240
- refactor: ensure the UX for new contracts is consistent with the parachains. by @AlexD10S in #232
- refactor: improve new consistency by @evilrobot-01 in #245
- refactor: improve up ux by @evilrobot-01 in #248
- fix: check if contracts needs to be build before deploy by @AlexD10S in #246
- refactor: default suri by @evilrobot-01 in #250
- test: integration tests, doc tests and improve coverage by @AlexD10S in #242
- feat(contracts): New contract templates by @al3mart in #249
- build(deps): bump openssl from 0.10.64 to 0.10.66 by @dependabot in #259
- feat: add
all
flag topop clean
by @bolajahmad in #233 - feat(contract-e2e): auto-source substrate-contracts-node with e2e tests by @peterwht in #254
- feat: consistency with
pop up parachains
to handle versioning forcontracts-node
by @AlexD10S in #262 - feat: pop build spec by @al3mart in #257
- chore: release 0.3.0 by @AlexD10S in #244
New Contributors
- @hitchhooker made their first contribution in #241
Full Changelog: v0.2.0...v0.3.0