This release implements Starknet RPC v0.9.0
Key changes:
- New
paymasterpkg for interacting with paymaster services via the SNIP-29 API (see theexamples/paymasterfolder to learn how to use it). - Now, all the
account.BuildAndSend*methods will automatically estimate and set the tip to be used in the transaction
based on the average tip of all transactions in the latest block. The user can set a custom tip by setting theCustomTip
field in theopts *TxnOptionsparameter to override the automatic estimation. - The
rpc.NewProviderfunction now returns an error if the node RPC version is different from the version
implemented by the starknet.go provider. The returned Provider instance is still valid, but there might be
unexpected behaviour due to the spec differences. - New
rpc.EstimateTipandrpc.IsCompatibleutility functions. - Two bug fixes in utilities related to fee calculation.
For more details, see the CHANGELOG file.
What's Changed
- chore(deps): bump vite from 6.3.6 to 6.4.1 in /docs in the npm_and_yarn group across 1 directory by @dependabot[bot] in #803
- refactor: update RPC provider initialization to use context by @thiagodeev in #804
- chore(deps): bump hono from 4.9.10 to 4.10.2 in /docs in the npm_and_yarn group across 1 directory by @dependabot[bot] in #806
- Thiagodeev: new
provider.IsCompatiblemethod + error returned by Provider by @thiagodeev in #807 - feat: implement SNIP-29 (issue #745) by @Salonii02 in #768
- refactor: rename typedata package to typeddata by @thiagodeev in #811
- chore(deps): bump hono from 4.10.2 to 4.10.3 in /docs in the npm_and_yarn group across 1 directory by @dependabot[bot] in #814
- Thiagodeev/fix-fee-limit by @thiagodeev in #819
- fix: Overall Fee calculation by @thiagodeev in #820
- feat: tip estimation utility + automatically tip estimation for account methods by @thiagodeev in #812
New Contributors
- @Salonii02 made their first contribution in #768
Full Changelog: v0.16.0...v0.17.0