Starknet-py

Latest version: v0.22.0

Safety actively analyzes 638430 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 11

0.15.0

We highly encourage you to read through [MigrationGuide](https://starknetpy.readthedocs.io/en/latest/migration_guide.html) to be up to date with all changes!

What's Changed
- Cairo1.0 contracts can be declared and deployed 🔥
- `cairo-lang` dependency is partially removed!
- deprecated AccountClient and l1<>l2 messaging module were removed

Note that this version does not support [RPC 0.3.0](https://github.com/starkware-libs/starknet-specs/releases/tag/v0.3.0-rc1)

**Full Changelog**: https://github.com/software-mansion/starknet.py/compare/0.14.0-alpha...0.15.0

0.14.1alpha

What's Changed
* Fix `function_invocation` error by war-in in https://github.com/software-mansion/starknet.py/pull/859


**Full Changelog**: https://github.com/software-mansion/starknet.py/compare/0.14.0-alpha...0.14.1-alpha

0.14.0alpha

New version of StarkNet.py has been released 🎉

Added

- `serialization` and `abi` modules that will replace the old `data_transformer`.
- New `Account.sign_for_fee_estimate` endpoint
- Documentation improvement, including restructuring of the docs and code examples in the [API section](https://starknetpy.readthedocs.io/en/latest/api.html), properly documenting Contract's [ProxyChecks](https://starknetpy.readthedocs.io/en/latest/guide/resolving_proxy_contracts.html#proxychecks)

Fixed and changed

- Changed the multiplier used in `auto_estimate` methods to reduce transaction failures
- `ContractDeployent` first parameter renamed to `call` from incorrect `udc`

Deprecations

- `utils.data_transformer` module
- `compiler` module

See our [migration guide](https://starknetpy.readthedocs.io/en/latest/migration_guide.html) for more details on these changes.


What's Changed
* Rename `ContractDeployment.udc`-> `ContractDeployment.call` by war-in in https://github.com/software-mansion/starknet.py/pull/656
* Update ProxyChecks by drknzz in https://github.com/software-mansion/starknet.py/pull/665
* Fix: typos by omahs in https://github.com/software-mansion/starknet.py/pull/669
* Make Compiler module deprecated by cptartur in https://github.com/software-mansion/starknet.py/pull/639
* Split guide into multiple pages by Solpatium in https://github.com/software-mansion/starknet.py/pull/674
* Move migration guide into a single page by Solpatium in https://github.com/software-mansion/starknet.py/pull/673
* Bump `Devnet` and set `marshmallow-dataclass` below 8.5.0 by war-in in https://github.com/software-mansion/starknet.py/pull/675
* Improve the docs about ProxyChecks by drknzz in https://github.com/software-mansion/starknet.py/pull/666
* Bump asgiref from 3.5.2 to 3.6.0 by dependabot in https://github.com/software-mansion/starknet.py/pull/622
* Update docs by cptartur in https://github.com/software-mansion/starknet.py/pull/682
* Rewrite data transformer by Solpatium in https://github.com/software-mansion/starknet.py/pull/574
* Update data transformer docs by cptartur in https://github.com/software-mansion/starknet.py/pull/688
* Bump black from 22.10.0 to 22.12.0 by dependabot in https://github.com/software-mansion/starknet.py/pull/690
* Bump pyright from 1.1.281 to 1.1.290 by dependabot in https://github.com/software-mansion/starknet.py/pull/691
* Bump setuptools from 65.6.3 to 65.7.0 by dependabot in https://github.com/software-mansion/starknet.py/pull/692
* Add warning to development docs by drknzz in https://github.com/software-mansion/starknet.py/pull/697
* Codesnippet match by drknzz in https://github.com/software-mansion/starknet.py/pull/701
* Update checks by war-in in https://github.com/software-mansion/starknet.py/pull/703
* Code examples! (demo) by war-in in https://github.com/software-mansion/starknet.py/pull/676
* `GatewayClient` examples by war-in in https://github.com/software-mansion/starknet.py/pull/699
* `FullNodeClient` examples by war-in in https://github.com/software-mansion/starknet.py/pull/707
* `Account` examples by war-in in https://github.com/software-mansion/starknet.py/pull/710
* Update contract in README by drknzz in https://github.com/software-mansion/starknet.py/pull/717
* Fix build badge in README by drknzz in https://github.com/software-mansion/starknet.py/pull/718
* Bump isort from 5.11.4 to 5.12.0 by dependabot in https://github.com/software-mansion/starknet.py/pull/724
* Bump pyright from 1.1.290 to 1.1.291 by dependabot in https://github.com/software-mansion/starknet.py/pull/725
* Add docs about `client.call_contract` by drknzz in https://github.com/software-mansion/starknet.py/pull/723
* Cache compiled contracts by drknzz in https://github.com/software-mansion/starknet.py/pull/720
* Change fee estimate multiplier by drknzz in https://github.com/software-mansion/starknet.py/pull/711
* Update `Account creation` docs by war-in in https://github.com/software-mansion/starknet.py/pull/715
* Fix API docs (order and undocumented members) by war-in in https://github.com/software-mansion/starknet.py/pull/714
* 0.14.0 migration guide by cptartur in https://github.com/software-mansion/starknet.py/pull/696
* Add signing transactions for fee estimations by cptartur in https://github.com/software-mansion/starknet.py/pull/693
* v0.14.0-alpha by cptartur in https://github.com/software-mansion/starknet.py/pull/730

New Contributors
* omahs made their first contribution in https://github.com/software-mansion/starknet.py/pull/669

**Full Changelog**: https://github.com/software-mansion/starknet.py/compare/0.13.0-alpha...0.14.0-alpha

0.13.0alpha

New version of StarkNet.py has been released bringing major changes to the SDK, notably:
* Introduced new `Account` class that will replace now deprecated `AccountClient`,
* removed `version` parameter from `Contract` methods - now version from Account will be used instead,
* deprecated Starknet<>Ethereum messaging module,

and more. See our [migration guide](https://starknetpy.readthedocs.io/en/latest/migration_guide.html#migration-guide) to familiarize yourself with 0.13.0 changes and deprecations.

Examples in [guide](https://starknetpy.readthedocs.io/en/latest/guide.html) and [quickstart](https://starknetpy.readthedocs.io/en/latest/quickstart.html) have also been updated to showcase the new `Account`.

Please note, that while `AccountClient` is still available to use, we strongly encourage all users to migrate to new `Account` as it will become the only supported Account in the future versions.



What's Changed
* Remove unused `TransactionStatus` import from cairo-lang by war-in in https://github.com/software-mansion/starknet.py/pull/578
* Deprecate l1<>l2 messaging module by war-in in https://github.com/software-mansion/starknet.py/pull/591
* Improve installation docs by cptartur in https://github.com/software-mansion/starknet.py/pull/598
* Remove deprecated note from the `Account creation` by war-in in https://github.com/software-mansion/starknet.py/pull/608
* Remove deprecated `invoke_tx` `Client.call_contract` parameter by war-in in https://github.com/software-mansion/starknet.py/pull/609
* Deprecate PreparedFunctionCall.arguments by Solpatium in https://github.com/software-mansion/starknet.py/pull/610
* Change docs theme by war-in in https://github.com/software-mansion/starknet.py/pull/623
* Unify error messages by drknzz in https://github.com/software-mansion/starknet.py/pull/616
* Add docs configuration by drknzz in https://github.com/software-mansion/starknet.py/pull/615
* Account refactor by cptartur in https://github.com/software-mansion/starknet.py/pull/499
* 0.13.0 Migration guide by war-in in https://github.com/software-mansion/starknet.py/pull/641

**Full Changelog**: https://github.com/software-mansion/starknet.py/compare/0.12.0-alpha...0.13.0-alpha

0.12.0alpha

StarkNet.py has been updated to support cairo-lang 0.10.3 and also supports Testnet2!

What's Changed
* Added `TESTNET2` predefined network
* Replaced cairo-lang `StarknetChainId` with our implementation
* Added `StarknetChainId.TESTNET2`

For details, see [the migration guide](https://starknetpy.readthedocs.io/en/latest/migration_guide.html#migration-guide).


**Full Changelog**: https://github.com/software-mansion/starknet.py/compare/0.11.0-alpha...0.12.0-alpha

0.11.0alpha

The `Deploy` transaction was officially blocked! The new version of StarkNet.py is here to help you with the new deployment flow 🔥

What's Changed
* `Deploy` transaction is removed from the library 😢 But can be fetched from the old blocks!
* Since now we recommend using `Invoke` instead of `InvokeFunction`
* `PreparedFunctionCall.estimate_fee` does not throw an error when `max_fee` is set
* Improvements in the documentation (all available methods are present in the API section)

Please read through the [Migration Guide](https://starknetpy.readthedocs.io/en/latest/migration_guide.html#migration-guide) to be up to date with the API changes!

**Full Changelog**: https://github.com/software-mansion/starknet.py/compare/0.10.2-alpha...0.11.0-alpha

Page 4 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.