New crate versions
starknet
: v0.13.0starknet-signers
: v0.10.1starknet-providers
: v0.12.1starknet-crypto
: v0.7.4starknet-core
: v0.12.1starknet-core-derive
: v0.1.0starknet-contract
: v0.12.0starknet-accounts
: v0.12.0
Breaking changes
ArgentAccountFactory
updated for Argent X contracts v0.4.0
The ArgentAccountFactory
type for deploying Argent X accounts has been updated to use the new constructor signature from Argent X contracts v0.4.0. Using this updated type with older class hashes would not work.
Deprecations
All functions that involve using pre-v3 transactions are now deprecated. Downstream libraries and applications are advised to migrate to using v3 transactions.
New features
Basic Cairo encoding/decoding support
Basic Cairo (de)serialization support has been added via the derivable Encode
and Decode
traits.
A new example is available for demonstrating this feature.
Basic SNIP-12 support
Support for SNIP-12 message hashing has been implemented via the new TypedData
type.
A new example is available for demonstrating this feature.