You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
This PR has the injective addition PR
However, since injective has a different setup than most of the rest of cosmos-sdk chains there needs to be some adaptation.
querying the injective contract works fine (I can see if I won the randdrop or not), but when trying to participate, trying to prepare, sign and broadcast the transaction fails.
Error:
Unsupported type injective.types.v1beta1.EthAccount
The way to solve it is to use @injectivelabs/sdk-ts instead of @cosmjs/stargate
These docs provide how to use the injective library https://docs.ts.injective.network/transactions/transactions-cosmos
And here's an example https://github.com/InjectiveLabs/injective-ts/blob/862e7c30d96120947b056abffbd01b4f378984a1/packages/wallet-ts/src/broadcaster/MsgBroadcaster.ts#L301-L365
The text was updated successfully, but these errors were encountered: