Closed AKnownEntity closed 4 months ago
Yeah unfortunately Keplr doesn't support injective for signArbitrary, will have to take a look and see if there is some workaround it.
@afsardo Does this solve the issue - https://github.com/chainapsis/keplr-wallet/pull/694
That should be it! Will take a look by EOW, thanks for the link
@thandaanda From what I understood, I don't think we need to do anything in Shuttle right? This should start working as soon as that fix is out with a new Keplr version?
@afsardo We were able to fix verifyArbitray using verifyADR36Amino
from @keplr-wallet/cosmos
for extensions. However, we have ran into issues for mobile providers.
We tried with Leap, Keplr. Metamask works with provided values.
When we contacted Leap team, they said walletconnect is not supported so using Leap Browser is a way to go.
For Keplr, we changed the data to sign - https://github.com/thandaanda/nextjs-shuttle-demo/blob/main/src/components/ArbitrarySign.tsx#L77
Do you think there is a bug in the prepareSigningWithMemo
code since it doesn't send any message.
Demo - https://shuttle.keyval.me/ Repo - https://github.com/thandaanda/nextjs-shuttle-demo
@afsardo We were able to fix verifyArbitray using
verifyADR36Amino
from@keplr-wallet/cosmos
for extensions. However, we have ran into issues for mobile providers. We tried with Leap, Keplr. Metamask works with provided values.When we contacted Leap team, they said walletconnect is not supported so using Leap Browser is a way to go.
For Keplr, we changed the data to sign - https://github.com/thandaanda/nextjs-shuttle-demo/blob/main/src/components/ArbitrarySign.tsx#L77
Do you think there is a bug in the
prepareSigningWithMemo
code since it doesn't send any message.Demo - https://shuttle.keyval.me/ Repo - https://github.com/thandaanda/nextjs-shuttle-demo
Will have to give it a run, and check out.
@afsardo We can close this ticket. We created custom signArbitry call for mobile providers.
I'm trying to use Shuttle to sign an arbitrary message and prove ownership on the injective network.
I will skip most of the setup, but the code I am using for signing a network comes from the react example:
When I run this, I always get a console error after signing the tx:
sign arbitrary error Error: Unsupported algorithm: ethsecp256k1
I am using a Keplr wallet for this test.Any help with this issue? Am I missing something?