Starknet-py

Latest version: v0.22.0

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

Scan your dependencies

Page 6 of 11

0.8.0

New version of StarkNet.py is out, bringing support for StarkNet 0.8.0 and several changes to the API:
* Fee mechanism support including fee estimation
* Cairo-lang named tuples
* Changed account contract
* Removal of `tx_id` param from `get_transaction_status`, `get_transaction` and `get_transaction_receipt`
* Other improvements, see "What's Changed" below

Your code will need to be updated to work with this version of StarkNet.py as it **contains breaking** changes.

See [migration guide](https://starknetpy.readthedocs.io/en/latest/migration_guide.html) for more in depth instructions.

What's Changed
* Expose search paths when compiling contracts by cptartur in https://github.com/software-mansion/starknet.py/pull/97
* docs: show how to import AccountClient by unparalleled-js in https://github.com/software-mansion/starknet.py/pull/99
* fix: correct the type of Multicall.calls by unparalleled-js in https://github.com/software-mansion/starknet.py/pull/101
* Support starknet 0.8.0 by cptartur in https://github.com/software-mansion/starknet.py/pull/109


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

0.8.0alpha

The new version of StarkNet.py is here to support StarkNet 0.10.1 fully 🔥

What's Changed
* `DeployAcount` transaction can be used 🎆
* `Deploy` transaction is deprecated
* There is a new `Account creation` section in the docs

Read through the `0.8.0 Migration guide` to be up to date with breaking changes!


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

0.7.0alpha

New version of StarkNet.py is out, bringing initial support for StarkNet 0.10.1. All existing functionalities of StarkNet.py should work with this update, and new features related to changes from StarkNet 0.10.1 is coming at a later date.

Breaking Changes

- `InvokeTransaction.entry_point_selector` has been changed from `int` to `Optional[int]` to reflect the changes in StarkNet gateway


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

0.6.3alpha

What's Changed
* Test and fix HttpClient custom session by cptartur in https://github.com/software-mansion/starknet.py/pull/414
* Support `L1_HANDLER` transactions in GatewayClient by cptartur in https://github.com/software-mansion/starknet.py/pull/452


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

0.6.2alpha

What's Changed
* Add older macOS SDK targets for crypto-cpp-py by THenry14 in https://github.com/software-mansion/starknet.py/pull/411


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

0.6.1alpha

New version of Starknet.py:
- adds custom exceptions for the `CairoSerializer` (`CairoSerializerException` is a general exception)
- deprecates `get_code` method in the `AccountClient`
- adds the `gas_price` field to the `StarknetBlock` returned by `GatewayClient` (`GatewayBlock`)
- updates the docs:
- adds information about `AccountClient`'s `supported_tx_version` to the Quickstart
- adds the `Declaring contracts` section to the Guide
- removes outdated `FullNodeClient` info


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

Page 6 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.