InjectiveLabs / sdk-go

Tools to work with the Injective Chain, Injective EVM and EIP712.
Apache License 2.0
95 stars 41 forks source link

Is this SDK ready to use? #211

Closed nxy7 closed 1 month ago

nxy7 commented 7 months ago

Hello, I'm trying to create integration with Injective exchange and I was planning on using this SDK to achieve it. It seems though that cosmos-sdk changed their module name and that causes bunch of issues. Any chance that someone could have a look into it?

nxy7 commented 7 months ago

More details - I was trying to use this sdk by running go get github.com/InjectiveLabs/sdk-go and can't get it to build. Right now I'm getting # github.com/cosmos/gogoproto/proto ../go/pkg/mod/github.com/cosmos/gogoproto@v1.4.10/proto/merge.go:260:25: type func(x *descriptorpb.FileDescriptorProto, y *descriptorpb.FileDescriptorProto) bool of func(x, y *descriptorpb.FileDescriptorProto) bool {…} does not match inferred type func(a *descriptorpb.FileDescriptorProto, b *descriptorpb.FileDescriptorProto) int for func(a E, b E) int.

JTG947 commented 6 months ago

Could you please advise if the SDK is fully functional to use?

maxrobot commented 3 months ago

Can you write which version of sdk-go you are using with with version of injective-core?

The issue comes from a delta between gogoproto v1.4.10 and v1.4.11.

Although without more info I can't help :)

maxim-inj commented 1 month ago

@JTG947 @nxy7 SDK is fully functional to use.