Starknet Hardhat Plugin

NEW prerelease of starknet-hardhat-plugin is out (v0.8.0-alpha.1):

NEW prerelease of starknet-hardhat-plugin is out (v0.8.0-alpha.2):

NEW VERSION of starknet-hardhat-plugin is out (v0.8.0-alpha.3):

  • New command hardhat starknet-build [--scarb-command <STRING>] [--skip-validate] [...paths]:

    • For building Scarb projects
    • Produces easily loadable artifacts compatible with your hardhat scripts
    • Compatible with Scarb 0.4.0
    • The command hardhat starknet-compile is preserved and serves the compilation of simple single Cairo 1 files
    • Read more in the docs:
    • Check out the example repo:
  • Several bugfixes in Cairo 1 interaction

  • Release notes are here

NEW VERSION of starknet-hardhat-plugin is out (v0.8.0-alpha.4):

  • Eliminated reliance on Starknet CLI
    • Removed support of Starknet CLI predefined wallet
    • Removed starknet-new-account and starknet-deploy-account CLI commands
  • Replaced internal Starknet CLI usage with starknet.js

Release notes at Release v0.8.0-alpha.4 · 0xSpaceShard/starknet-hardhat-plugin · GitHub (edited)

Additional important note: In the next versions, we will make significant changes to the plugin, 2 of the most important:

  1. Removing all the logic (API-s) regarding interaction with Starknet from the Plugin, and relying on Starknet.js ! Meaning, the plugin will work similarly as Hardhat itself works (relies on Ethers.js)
  2. Introducing the Rust devnet instead of the Pythonic one, which should speed up the tests :pray:

One more release before the change announced by @ipavici in his last post

starknet-hardhat-plugin v0.8.0-alpha.5

  • hardhat starknet-build adapted to Scarb 0.7.0 (Cairo 2.2.0)
  • hardhat starknet-compile improved:
    • Simply specify semver in hardhat config under compilerVersion
    • E.g. compilerVersion: "2.2.0"
    • Compiler downloaded automatically if on linux-amd64 or mac-arm64, otherwise you need cairo1BinDir
    • Removed the constraint of having venv specified to allow using cairo1BinDir
  • Simplified Cairo 0 compilation docs
    • If you have docker CLI and want to use the latest Cairo 0 compiler, you’re good to go; otherwise check the docs)
  • Integrated-devnet defaults to the latest starknet-devnet (v0.6.3)
  • Release docs