Starknet-py

Latest version: v0.24.3

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

Scan your dependencies

Page 1 of 12

0.24.3

New version of starknet.py is out (v0.24.3) :airplane:
* Modules for Ledger signing are now optional, use `poetry install -E ledger`
* Update `crypto-cpp-py` version to `1.4.5`

What's Changed
* Make dependencies for Ledger support optional by droserasprout in https://github.com/software-mansion/starknet.py/pull/1474
* Bump `crypto-cpp-py` to `1.4.5` by franciszekjob in https://github.com/software-mansion/starknet.py/pull/1521

**Migration guide**: https://starknetpy.readthedocs.io/en/latest/migration_guide.html

**Full Changelog**: https://github.com/software-mansion/starknet.py/compare/v0.24.2...v0.24.3

0.24.2

- Added random key pair generation.
- Deploying contracts is now possible without providing abi.
- Fix bounded int parsing post cairo 2.8.0

What's Changed
* Add random key pair generation by franciszekjob in https://github.com/software-mansion/starknet.py/pull/1421
* Enable deploying contracts without providing abi by kkawula in https://github.com/software-mansion/starknet.py/pull/1452
* Update readme by kkawula in https://github.com/software-mansion/starknet.py/pull/1462
* Fix bounded int parsing post cairo 2.8.0 by feltroidprime in https://github.com/software-mansion/starknet.py/pull/1463

New Contributors
* feltroidprime made their first contribution in https://github.com/software-mansion/starknet.py/pull/1463
* droserasprout made their first contribution in https://github.com/software-mansion/starknet.py/pull/1392

**Full Changelog**: https://github.com/software-mansion/starknet.py/compare/v0.24.1...v0.24.2

0.24.1

- Fixed parsing ABI that contains `u96` data type.
- Fixed `l1_address` deserialization in `L2toL1MessageSchema`.

What's Changed
* Fix `l1_address` deserialization in `L2toL1MessageSchema` by franciszekjob in https://github.com/software-mansion/starknet.py/pull/1435
* Add BoundedInt terminal to grammar definition for parsing ABI by kkawula in https://github.com/software-mansion/starknet.py/pull/1449

**Migration Guide**: https://starknetpy.readthedocs.io/en/latest/migration_guide.html

**Full Changelog**: https://github.com/software-mansion/starknet.py/compare/v0.24.0...v0.24.1

0.24.0

- `DevnetClient` has been implemented to interact with additional features of the [starknet-devnet-rs](https://github.com/0xSpaceShard/starknet-devnet-rs>)
- `LedgerSigner` has been implemented to enable signing with Ledger hardware wallet

What's Changed
* Add DevnetClient implementation by kkawula in https://github.com/software-mansion/starknet.py/pull/1393
* Support Ledger signer by franciszekjob in https://github.com/software-mansion/starknet.py/pull/1402

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

**Full Changelog**: https://github.com/software-mansion/starknet.py/compare/v0.23.0...v0.24.0

0.23.0

- Update `TypedData` in line with [SNIP-12](https://github.com/starknet-io/SNIPs/blob/main/SNIPS/snip-12.md)
- Add `KeyPair.from_keystore` method

What's Changed
* Change default cairo version to 1 by tserg in https://github.com/software-mansion/starknet.py/pull/1352
* Accept `typed_data` param as `TypedData` dataclass by franciszekjob in https://github.com/software-mansion/starknet.py/pull/1362
* feat: from_keystore method by EvolveArt in https://github.com/software-mansion/starknet.py/pull/1371
* Update `TypedData` in line with [SNIP-12](https://github.com/starknet-io/SNIPs/blob/main/SNIPS/snip-12.md) by franciszekjob in #1360, 1363, 1369, 1370, 1380, 1383, 1382, 1377


New Contributors
* tserg made their first contribution in https://github.com/software-mansion/starknet.py/pull/1352
* EvolveArt made their first contribution in https://github.com/software-mansion/starknet.py/pull/1371

**Full Changelog**: https://github.com/software-mansion/starknet.py/compare/v0.22.0...v0.23.0

0.22.0

- Remove `Goerli` support
- Add method to convert `EstimatedFee` to `ResourceBoundsMapping`
- Support `ByteArray` serialization

What's Changed
* Remove Goerli and migrate network tests on sepolia by tkumor3 in https://github.com/software-mansion/starknet.py/pull/1328
* Move compiling contracts on github actions by tkumor3 in https://github.com/software-mansion/starknet.py/pull/1322
* Simplifies using a custom network by tkumor3 in https://github.com/software-mansion/starknet.py/pull/1327
* Use pre-compiled devnet binary from release assets by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1345
* Support serialization of ByteArrays by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1344
* Add method to convert `EstimatedFee` to `ResourceBoundsMapping` by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1347
* Make `execution_resources` required in `L1HandlerTransactionTrace` by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1348

**Migration Guide**: https://starknetpy.readthedocs.io/en/latest/migration_guide.html

**Full Changelog**: https://github.com/software-mansion/starknet.py/compare/v0.21.0...v0.22.0

Page 1 of 12

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.