NethermindEth / starknet.go

Golang Library for StarkNet/Cairo
MIT License
152 stars 109 forks source link

Import Juno rpc types #337

Open rianhughes opened 1 year ago

rianhughes commented 1 year ago

Juno and starknet.go should share the same rpc types. Both Juno and starknet.go follow the same RPC spec. Juno should dictate the RPC types as it's maintenance team is bigger. The types from Juno should be imported into starknet.go to ensure tight compatibility between the two.

The projects will share components and errors, but not methods.

We will still need to implement the methods

Depends on https://github.com/NethermindEth/juno/issues/1247

stranger80 commented 1 year ago

Reconsider the approach to reusing the RPC types from Juno - the use cases are actually different between Starknet go and Juno