Releases: xJonathanLEI/starkli
v0.1.17
A small release mainly to make the ancient class hash calculation bug fix available.
Starting from this release, multi-arch Docker images (also built from CI) will be available for Starkli at Docker Hub.
Features
- 2256413: configurable tx poll interval
Fixed
- 6aac2fb: hash calculation for ancient contract classes
Full Changelog: v0.1.16...v0.1.17
v0.1.16
This release adds support for OpenZeppelin account with Cairo 1. Users can now deploy OZ accounts on mainnet without worrying about being prune at regenesis.
Additionally, a new mechanism of "built-in" accounts, which can be used by simply setting --account
or STARKNET_ACCOUNT
to unique identifiers instead of account file paths. This is useful for accessing pre-funded accounts in development networks, and helps new users get started with Starknet faster.
An example of using such an account is:
starkli invoke --account katana-0 eth transfer ...
Note that there's no need to supply a signer, as it's already included in the built-in account specified.
Features
- 7274ad1: switch to cairo 1 oz account
- 3e45b79: built-in Katana accounts
- f03f7d2: use pending block for account deployment
Misc
- 2b25eda: more flexible signer resolution
Full Changelog: v0.1.15...v0.1.16
v0.1.15
A small release to make the widely used OZ account deployment fetchable. Also adds support for katana
address book.
Features
Full Changelog: v0.1.14...v0.1.15
v0.1.14
This release brings Argent X Cairo 1 account contract support. It also switches to use query-only transaction versions for fee estimation.
Note
If you upgraded your legacy Argent X accounts outside of Starkli, you'll need to re-fetch the account file via the starkli account fetch
command to make it work. Otherwise, Starkli would attempt to use the Cairo 0 encoding on the account as it relies on the account file to determine whether it's a legacy account.
Features
Full Changelog: v0.1.13...v0.1.14
v0.1.13
This release makes it easier to work with new Cairo versions by offering more ways to compute the CASM hash needed for contract declration. Previously, users had to either use a bundled version or directly supply a CASM hash.
In addition, initial support for using Cairo 1 account contracts has been added to the OpenZeppelin account variant. However, since OpenZeppelin hasn't officially released their Cairo 1 version, Starkli does not support creating Cairo 1 accounts yet.
For users that want to use Starkli for Cairo 1 account contracts, a temporary workaround exists by modifying an existing OpenZeppelin account file to change its legacy
field to false
. If the field does not exist, re-fetch the account file first.
Important
The workaround for using Cairo 1 account contracts mentioned above is not considered supported. Manually tampered account files may be broken by a future release. Users would need to fetch/re-create their account files in the event of tampered account file breaking.
Features
- 12c510c: declare with already-compiled CASM file
- 8d2fe49: use local Sierra compiler binary
- afc85bc: support Cairo 1 account contract
Misc
Full Changelog: v0.1.12...v0.1.13
v0.1.12
This release fixes a bug in keystore path tilde expansion when using the flag like --keystore=~
. It also fixes a keystore decryption bug on Android.
Starting from this release, pre-built release binaries are available for aarch64
Android devices (via Termux). starkliup
does not support Android at the moment, so users would need to manually download the binaries for now.
Features
- 1b32cad: randomized mine-udc-salt
Fixed
Full Changelog: v0.1.11...v0.1.12
v0.1.11
This release adds support for Starknet v0.12.1.
Note
This release switches to use JSON-RPC specification v0.4.0. You need to use the v0.4.0 endpoint if you're using a JSON-RPC provider.
However, since most methods experienced no change from v0.3.0, you might be able to use certain features against a v0.3.0 endpoint.
Support for CPU parallelism has also been added for the experimental mine-udc-salt
command.
Features
- d46cd94: support starknet v0.12.1 and jsonrpc v0.4.0
- b08191d: cpu parallelism for mine-udc-salt
- af8b717: use compiler 2.1.0 for all networks
Full Changelog: v0.1.10...v0.1.11
v0.1.10
This release adds Argent X and Braavos account support. Users can now create these accounts from Starkli, or migrate existing accounts created through the official wallet applications using the starkli account fetch
command.
A new starkli balance
command is also added, allowing quick query of account Ether balances.
This will be the last release supporting JSON-RPC v0.3.0. Specification v0.4.0 will be used instead starting next release. Users who do not have access to v0.4.0 endpoints yet (e.g. those using API providers that do not offer an option to choose between versions) should stay on this version until they do.
Features
- 331173c: braavos account support
- abc8bf6: argent x account support
- 00585c1: include jsonrpc version in verbose version
- 00585c1: add balance command
Full Changelog: v0.1.9...v0.1.10
v0.1.9
This release adds the Sierra compiler version 2.1.0 and uses it by default for testnets and the integration environment.
Features
- 9c724ef: add sierra compiler version 2.1.0
Full Changelog: v0.1.8...v0.1.9
v0.1.8
This release adds a new lab
command for accessing experimental features that have no stability guarantee. The only subcommand for now is the mine-udc-salt
command, which tries to find a salt
value for contract deployment that would result in an address with some specific prefix and/or suffix.
The hard-coded tx polling interval has also been decreased from 10 seconds to 5 seconds, as Starknet has become much faster.
Features
- 0f3c74f: mine-udc-salt command
Misc
- 5dfdeb4: change tx watching polling interval to 5s
Full Changelog: v0.1.7...v0.1.8