Usage related changes
- Support fee estimation and do it implicitly for:
- class declaration
- contract deployment
- account deployment
- Introduce utility function for token minting on Devnet:
starknet.devnet.mint(address: string, amount: number, lite=true)
- Introduce utility function for getting balance (on any network):
starknet.getBalance(address: string)
- Integrate Amarna static analyzer:
- CLI command:
npx hardhat amarna
- CLI command:
- Support L1-L2 mock messaging via Devnet - docs
- Improved docusaurus docs at https://shard-labs.github.io/starknet-hardhat-plugin/
- Minor fixes:
- Handle non-absolute cairo paths
- Improve error logging
Development related changes
- Improved testing of existing code
- Improved and refactored types
Merged PRs
- #177 gh-pages for the repo by @shramee in #282
- Finish transition to docusaurus docs by @FabijanC in #283
- Remove extra logging of ClientConnectorError by @Nathan-SL in #279
- #287 TypeRoots - only from this dir by @shramee in #288
- #200 Debugging contracts by @shramee in #284
- 286 type defs by @shramee in #291
- #272 devnet.mint by @shramee in #285
- Support L1-L2 mock messaging by @Nathan-SL in #294
- Contract tests by @shramee in #297
- 231 amarna by @shramee in #295
- Estimate fee on declare and deploy by @Nathan-SL in #293
- Estimate deploy account fee by @Nathan-SL in #304
- Fix: typos by @omahs in #309
- Expand error message with reason by @Nathan-SL in #308
- Get account balance by @FabijanC in #310
- Handle non-absolute cairoPath by @Nathan-SL in #307
- 231 amarna ci issue by @shramee in #302
New Contributors
Full Changelog: v0.7.1...v0.7.2