Releases: NethermindEth/starknet.go
v0.7.2
This version implements RPCv0.7.1
What's Changed
- Upgrades Juno and Go version by @thiagodeev in #625
- Create codeql.yml by @yevh in #627
- fix definition of invoke transaction trace by @dkatzan in #631
- fix test validation bug by @rianhughes in #632
- Update CONTRIBUTING.md by @RuneRogue in #633
New Contributors
- @yevh made their first contribution in #627
- @dkatzan made their first contribution in #631
- @RuneRogue made their first contribution in #633
Full Changelog: v0.7.1...v0.7.2
v0.7.1
Summary
This release primarily replaces Goerli test data with Sepolia test data, improves test coverage, fixes several bugs related to RPC methods and the Pedersen hash function, adds support for Byte array serialization, refactors certain types for a better user experience (UX), updates examples, and implements RPCv0.7.1.
What's Changed
- RPC methods to return error by @rianhughes in #542
- Allow configuring the RPC client by @archseer in #547
- Update SpecVersion to stop returning InternalError for nil errors by @AryanGodara in #549
- #545 Add golangci-lint workflow by @nsiregar in #546
- only load .env for non-mock envs by @rianhughes in #559
- fix account testnet environment load by @rianhughes in #560
- set base by @rianhughes in #561
- provider_test.go upgraded to Sepolia by @thiagodeev in #563
- RPC/block tests upgraded to sepolia, fixed not running correct RPC url passed from env flag on CLI bug by @thiagodeev in #566
- Update transaction tests to sepolia by @AryanGodara in #557
- Update account tests to sepolia by @AryanGodara in #558
- Update block tests to Sepolia and add more tests by @AryanGodara in #554
- Update rpc: Call, Contract, Event and mock tests by @AryanGodara in #555
- Update README.md by @thiagodeev in #568
- correct json tag price_in_fri by @rianhughes in #572
- add missing l1 transaction receipt field by @rianhughes in #577
- Upgrade examples to use Sepolia network by @thiagodeev in #579
- Move PrecomputeAddress function to 'contract' package by @thiagodeev in #574
- Migrate from test-go to stretchr by @mdantonio in #582
- chore ::> method on the BroadcastInvokeTxnType interface to constrain it. by @PsychoPunkSage in #584
- chore::> Constrain BroadcastDeclare and BroadcastDeployAccount by @PsychoPunkSage in #585
- Update README.md by @RV12R in #587
- chore ::> Merging all TransactionReceipt types into a single type by @PsychoPunkSage in #588
- pedersen x range bug fix by @rianhughes in #595
- Adding support for Byte array serialization by @krishnateja262 in #583
deployContractUDC
added in CI test. by @PsychoPunkSage in #606- Reverted changes in
BroadcastDeclareTxnV3
by @PsychoPunkSage in #604 - Update tests to Sepolia by @thiagodeev in #589
- Add Juno Pederson hash by @thiagodeev in #610
- Thiagodeev/fix unreturned tx hash by @thiagodeev in #614
- Fixes before 7.1 release by @thiagodeev in #617
- Thiagodeev/fixes before 7 1 release v2 by @thiagodeev in #619
- update readme for 0.7.1 release by @rianhughes in #621
New Contributors
- @AryanGodara made their first contribution in #549
- @nsiregar made their first contribution in #546
- @thiagodeev made their first contribution in #563
- @mdantonio made their first contribution in #582
- @PsychoPunkSage made their first contribution in #584
- @RV12R made their first contribution in #587
- @krishnateja262 made their first contribution in #583
Full Changelog: v0.7.0...v0.7.1
v0.7.0
The main changes include upgrading the rpc and accounts packages to support the new Starknet RPC spec v0.7.0-rc2
Added
- RPCv0.7-rc2 support
- New examples (estimateFee and deployAccountUDC)
- RPC handlers now return RPC errors
Full Changelog: v0.6.1...v0.7.0
v0.6.1
What's Changed
- Fix FmtCallData by @rianhughes in #498
- Fix starknet_EstimateFee by @rianhughes in #500
- Add an example that fetches token balance of account by @ChiHaoLu in #509
New Contributors
Full Changelog: v0.6.0...v0.6.1
v0.6.0
The main changes include upgrading the rpc and accounts pkg to support the new starknet rpc spec v0.6.0
Note: we still need to add e2e tests for v3 transactions. We decided to wait until Goerli supports v0.13 to reduce friction in generating tests. These tests will be added soon.
What's Changed
- Rpcv06 trace file by @rianhughes in #471
- rpcv06 update exec resources by @rianhughes in #466
- rpcv06 update emitted event by @rianhughes in #473
- rpcv06 update receipts by @rianhughes in #464
- rpcv06 implement v3 transactions by @rianhughes in #462
- Update Felt.go by @Bitcoinnoobie in #482
- Rpcv06 rv2 to rc4 by @rianhughes in #487
- Rianhughes/rpcv06 integration tests by @rianhughes in #485
- update readme by @rianhughes in #480
- rpcv06 update readme to rc-5 by @rianhughes in #494
- update readme for rpcv0.6.0 non rc by @rianhughes in #495
Full Changelog: v0.5.0...v0.6.0
v0.5.0
Full support for Starknet RPC v.0.5.
🔧 What's Changed
- Implement rpc05
specVersion
method by @rianhughes in #416 - Fix domain name in typed message by @fico308 in #417
- Implement
GetTransactionStatus
method by @rianhughes in #418 - Remove
pendingTransactions
method by @rianhughes in #419 - Update
DeclareTxn
types by @rianhughes in #421 - Update pending types by @rianhughes in #424
- Update
traceBlockTransactions
method by @rianhughes in #428 - Update Function Invocation type by @rianhughes and @cicr99 in #430
- Update transaction trace types by @rianhughes and @cicr99 in #432
- Update BlockHeader and PendingBlockHeader by @rianhughes and @cicr99 in #435
- Implement BroadcastedTxn types and update related methods by @rianhughes and @cicr99 in #437, #438, #454
- Replace deadlinks by @jelilat in #439
- Update go version by @cicr99 and @joshklop in #446, #447
- Implement new example for adding an invoke transaction and update README and workflow accordingly by @Akashneelesh and @cicr99 in #450, #456, #457
- Fix
Nonce
method return type by @cicr99 in #453 - Handle errors by @cicr99 in #455
- Add code comments by @aquental in #415
New Contributors
- @fico308 made their first contribution in #417
- @jelilat made their first contribution in #439
- @joshklop made their first contribution in #447
- @Akashneelesh made their first contribution in #450
- @aquental made their first contribution in #415
Full Changelog: v0.4.6...v0.5.0
Note:
FmtCalldata() may be unstable.
v0.4.6
A "housekeeping" release including:
- Dedicated 'account' package
- Other library packages and code repository restructuring
IMPORTANT:exclamation::eyes:: This release does include breaking changes, and will require refactoring of application code which depends on starknet.go library.
🔧 What's Changed
- New account implementation by @rianhughes in #302
- Test Declare transaction by @rianhughes in #386
- Implement
WaitForTransactionReceipt
in accounts by @rianhughes in #389 - Implement
formatCallDAta
for Cairo2 by @rianhughes in #399 - Update examples to use account interface by @rianhughes in #414
- Remove deprecated packages by @cicr99 in #373
- Restructuring rpc tests folder by @cicr99 in #379
- Remove types package by @rianhughes in #384
- Create contracts package and hash logic by @rianhughes in #377
- Create curve package and organize remaining files by @cicr99 in #394, #398
- Fix tests package and rename to
devnet
by @rianhughes in #395 - GH Action improvements by @stranger80 and @rianhughes in #396, #397, #413 and #362
- Fix typos by @omahs in #363
- Update contract class
abi
to string by @rianhughes in #368
New Contributors
- @omahs made their first contribution in #363
- @stranger80 made their first contribution in #396
Full Changelog: v0.4.5...v0.4.6
v0.4.5
Full support for Starknet RPC v.0.4.
What's Changed
- rpcv04 update trace and read errros by @rianhughes in #331
- rpcv04 update trace api by @rianhughes in #330
- Merge changes in Rpcv04 branch by @cicr99 in #338
- Implement DeclareTxn rpcv04 by @rianhughes in #288
- Update readme by @cicr99 in #339
- Rpcv04 tx status by @rianhughes in #289
- rpcv4_write_errors by @rianhughes in #332
- fix unknown type by @rianhughes in #343
- RPCv04 Remove BroadcastTx by @rianhughes in #290
- Modification to InvokeTxnV0 by @cicr99 in #340
- fix node error handling by @rianhughes in #352
- Block with tx hashes by @cicr99 in #354
- Create deployAccount example using rpc by @rianhughes in #349
- Readme rpcv04 update by @cicr99 in #357
Full Changelog: v0.4.3...v0.4.5
v0.4.4
Full support for Starknet RPC v.0.4.
What's Changed
- rpcv04 update trace and read errros by @rianhughes in #331
- rpcv04 update trace api by @rianhughes in #330
- Merge changes in Rpcv04 branch by @cicr99 in #338
- Implement DeclareTxn rpcv04 by @rianhughes in #288
- Update readme by @cicr99 in #339
- Rpcv04 tx status by @rianhughes in #289
- rpcv4_write_errors by @rianhughes in #332
- fix unknown type by @rianhughes in #343
- RPCv04 Remove BroadcastTx by @rianhughes in #290
- Modification to InvokeTxnV0 by @cicr99 in #340
- fix node error handling by @rianhughes in #352
- Block with tx hashes by @cicr99 in #354
- Create deployAccount example using rpc by @rianhughes in #349
- Readme rpcv04 update by @cicr99 in #357
Full Changelog: v0.4.3...v0.4.4
v0.4.1
this is a preview of go-starknet
, the caigo cli to work with Starknet.
if you have Go 1.18+ installed
cd
go install github.com/dontpanicdao/caigo/go-starknet@latest
go-starknet help
on MacOS with Homebrew
cd
brew tap dontpanicdao/dontpanicdao
brew install go-starknet
go-starknet help