
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
github.com/rianhughes/starknet.go
Advanced tools
Caigo is an MIT-licensed Go library for interacting with StarkNet.
starkcurve
cd examples/curve
go mod tidy
go run main.go
starknet contract
cd examples/contract
go mod tidy
go run main.go
starknet account
cd examples/account
go mod tidy
go run main.go
Caigo RPC implements the StarkNet RPC Spec:
| Method | Implemented (*) |
|---|---|
starknet_getBlockByHash | :heavy_check_mark: |
starknet_getBlockByNumber | :heavy_check_mark: |
starknet_getTransactionByHash | :heavy_check_mark: |
starknet_getTransactionReceipt | :heavy_check_mark: |
starknet_getClass | :heavy_check_mark: |
starknet_getClassHashAt | :heavy_check_mark: |
starknet_getClassAt | :heavy_check_mark: |
starknet_call | :heavy_check_mark: |
starknet_blockNumber | :heavy_check_mark: |
starknet_chainId | :heavy_check_mark: |
starknet_syncing | :heavy_check_mark: |
starknet_getEvents | :heavy_check_mark: |
starknet_addInvokeTransaction | :heavy_check_mark: |
starknet_addDeployTransaction | :heavy_check_mark: |
starknet_addDeclareTransaction | :heavy_check_mark: |
starknet_estimateFee | :heavy_check_mark: |
starknet_getBlockTransactionCountByHash | :heavy_check_mark: |
starknet_getBlockTransactionCountByNumber | :heavy_check_mark: |
starknet_getTransactionByBlockNumberAndIndex | :heavy_check_mark: |
starknet_getTransactionByBlockHashAndIndex | :heavy_check_mark: |
starknet_getStorageAt | :heavy_check_mark: |
starknet_getNonce | :heavy_check_mark: |
starknet_getStateUpdate | :heavy_check_mark: |
*starknet_traceBlockTransactions | :x: |
*starknet_traceTransaction | :x: |
(*) some methods are not implemented because they are not yet available from eqlabs/pathfinder.
go test -v ./...
go test -v ./rpc -env [mainnet|devnet|testnet|mock]
go test -bench=.
Caigo is currently under active development and will under go breaking changes until the initial stable(v1.0.0) release. The example directories and *_test.go files should always be applicable for the latest commitment on the main branch. NOTE: examples and tests may be out of sync with tagged versions and pkg.go.dev documentation
If you find an issue/bug or have a feature request please submit an issue here Issues
If you are looking to contribute, please head to the Contributing section.
FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.