Starknet.py

Latest version: v0.4.7a0

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

Scan your dependencies

Page 1 of 5

0.8.2

This version adds initial support for Starknet 0.8.2. Package dependencies has been updated to support cairo-lang 0.8.2.1, and support for new feeder_gateway parameters added by this version is coming in a later release.

Also added in this release is a new starknet compiler module, and improvements to transaction error messages.

We've also updated examples in our documentation to reflect changes in recent StarkNet.py versions (🙏 war-in)

What's Changed
* Parallelize e2e tests by cptartur in https://github.com/software-mansion/starknet.py/pull/136
* Add Compiler module by cptartur in https://github.com/software-mansion/starknet.py/pull/102
* Improve transaction error messages by cptartur in https://github.com/software-mansion/starknet.py/pull/131
* Documentation update for Contract and AccountClient by war-in in https://github.com/software-mansion/starknet.py/pull/141
* Support starknet 0.8.2 by cptartur in https://github.com/software-mansion/starknet.py/pull/144

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

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

0.8.1

New version of StarkNet.py is out bringing support for StarkNet 0.8.1 and minor upgrades to the library including:
* Exposed `public_key` property on `AccountClient`
* Custom transaction failure exceptions
* Restored support for python versions 3.9

What's Changed
* Add note about max_fee on mainnet by cptartur in https://github.com/software-mansion/starknet.py/pull/111
* Expose public key in AccountClient by unparalleled-js in https://github.com/software-mansion/starknet.py/pull/107
* Support cairo-lang 0.8.1 by cptartur in https://github.com/software-mansion/starknet.py/pull/118
* Fix devnet dependency, restore python 3.9 support by cptartur in https://github.com/software-mansion/starknet.py/pull/120
* Add custom exceptions for transaction failures by cptartur in https://github.com/software-mansion/starknet.py/pull/115


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

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.4.7alpha

What's Changed
- Exception is raised when too many values are passed to CairoSerializer.to_python
- v0.1.0 RPC specification is supported!

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

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

0.4.6alpha

What's Changed

- Proxy checks are updated and tested
- AccountClient.get_transaction method's return value is correctly typed
- CairoSerializer checks if unnecessary named arguments are passed
- GatewayClient and FullNodeClient can be correctly created without the chain parameter

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

0.4.5alpha

What's Changed
- Cairo Transformer's result has __repr__ method
- GatewayClient can take dict with feeder_gateway_url and gateway_url as net parameter
- The chain property in the Client interface is deprecated

How to migrate

- Remove chain parameter from Gateway and Full Node Clients constructors
- Add chain parameter to AccountClient constructor and AccountClient.create_account method

There are no breaking changes, so no action is required, but it is suggested to apply the above instructions.

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

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.