Starknet.py

Latest version: v0.4.7a0

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

Scan your dependencies

Page 3 of 5

0.3.3alpha

This versions improves estimate_fee behavior by adding a default `block_number="pending"` parameter that should result in more accurate fee estimations. It also fixes AccountClient behavior when used with account contracts that are using proxies.

What's Changed
* Rollback pylint to 2.13.5, remove duplicate-code warning by cptartur in https://github.com/software-mansion/starknet.py/pull/209
* estimate_fee updated by war-in in https://github.com/software-mansion/starknet.py/pull/205
* Hot fix for using "get_code" in add_transaction by war-in in https://github.com/software-mansion/starknet.py/pull/211
* migration guide deleted and guide updated by war-in in https://github.com/software-mansion/starknet.py/pull/210
* v0.3.3-alpha by war-in in https://github.com/software-mansion/starknet.py/pull/214


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

0.3.2alpha

This version brings support for new declare method, as well as fixes related to typing in the whole library. It also brings initial work on separation of AccountClient from message Signer.

What's Changed
* Change dependency source by Arcticae in https://github.com/software-mansion/starknet.py/pull/196
* Remove errors in whole codebase by cptartur in https://github.com/software-mansion/starknet.py/pull/185
* Use BaseSigner in AccountClient, add default KeypairSigner by cptartur in https://github.com/software-mansion/starknet.py/pull/182
* Use pylint 2.14.1 by cptartur in https://github.com/software-mansion/starknet.py/pull/202
* New declare method by war-in in https://github.com/software-mansion/starknet.py/pull/178
* Add new methods by cptartur in https://github.com/software-mansion/starknet.py/pull/183
* v0.3.2-alpha by cptartur in https://github.com/software-mansion/starknet.py/pull/206


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

0.3.1alpha

What's changed

- Provide a fix for the security issue https://github.com/OpenZeppelin/cairo-contracts/issues/344 within our `AccountClient` contract

0.3.0alpha

What's Changed
* Use pending instead of latest as a default block parameter
* Add `is_account_contract` parameter to compiler
* Add deploy transaction version parameters
* Enable warnings if max fee is set to zero
* Bump cairo-lang to 0.9.0

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

0.2.5alpha

What's Changed
* Remove wheel packaging by THenry14 in https://github.com/software-mansion/starknet.py/pull/168
* Add checklist for releasing new starknet.py versions by cptartur in https://github.com/software-mansion/starknet.py/pull/167
* Two more tests for estimate fee by war-in in https://github.com/software-mansion/starknet.py/pull/166
* Update crypto-cpp-py by THenry14 in https://github.com/software-mansion/starknet.py/pull/172
* Add mac wheels for crypto-cpp-py to lock file by THenry14 in https://github.com/software-mansion/starknet.py/pull/184
* v0.2.5-alpha by Arcticae in https://github.com/software-mansion/starknet.py/pull/186


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

0.2.4alpha

This release brings long awaited updates to the documentation as well as improvements and fixes to APIs including:
* fix for fee estimation in `AccountClient`
* proxy support in `Contract.from_address`
* support for checking balance in starknet token bridge using `AccountClient`
* improved quick-start guide

Proxy support

Contract.from_address now support resolving proxies, with out of the box support for Argent and OpenZeppelin proxy format (see docs on how to add custom proxies). Just pass a `proxy_config=True` to use default proxy resolving:

python3
await contract = Contract.from_address("0x1234", client=client, proxy_config=True)


or use with custom proxies:

python3
class CustomProxy(ProxyConfig):
async def is_proxy(self, contract: "Contract") -> bool:
...

async def implementation_address(self, contract: "Contract") -> int:
...


proxy = CustomProxy()
await contract = Contract.from_address("0x1234", client=client, proxy_config={"proxy_checks": [proxy]})


What's Changed
* Quickstart and guide update by war-in in https://github.com/software-mansion/starknet.py/pull/140
* Contract.from_address proxy support by cptartur in https://github.com/software-mansion/starknet.py/pull/135
* Add parameter for changing between testnet and devnet in e2e tests by cptartur in https://github.com/software-mansion/starknet.py/pull/143
* Fix parallel tests by cptartur in https://github.com/software-mansion/starknet.py/pull/151
* Move crypto-cpp to separate package by THenry14 in https://github.com/software-mansion/starknet.py/pull/153
* get_balance for account_client by war-in in https://github.com/software-mansion/starknet.py/pull/150
* Update the way of creating account client in tests by war-in in https://github.com/software-mansion/starknet.py/pull/157
* Fail checks if documentation fails by war-in in https://github.com/software-mansion/starknet.py/pull/162
* Bug/estimate fee for account client by war-in in https://github.com/software-mansion/starknet.py/pull/164

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

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

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.