Replies: 3 comments
-
The Providers used in the RootLayout of our Next.js app
The
The
This is my config file
We use the
The Let me know if you need any more info |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
The 4 requests: 308
308
200
401
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I need to make signature for both our SCA and EOA users. I'm using
useSignMessage
hook to sign.The signature message is:
"Sign into voxies"
This is the result of what I logged:
This is the logs of the
![image](https://private-user-images.githubusercontent.com/1322006/365179831-9c5079e3-2c6e-4eec-9677-7d42893d1acd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxODY5NTYsIm5iZiI6MTczOTE4NjY1NiwicGF0aCI6Ii8xMzIyMDA2LzM2NTE3OTgzMS05YzUwNzllMy0yYzZlLTRlZWMtOTY3Ny03ZDQyODkzZDFhY2QucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMTEyNDE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjY1ZDBlZmJiYWM5ZTBhYzhlMjhkYjE3YWFhZDRkMmJmZmRiMWVjNDllZjU2YWI5MzFkMTY5MzE1NjliODdmMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.HYimm9t603xhrI_Od6vj_qaYHzsylG2d1_W-OgzwnRg)
account
ofuseAccount
This is the logs of the
![image](https://private-user-images.githubusercontent.com/1322006/365179908-fdc3a0b4-e7aa-4523-bb7e-e81a54abd9c9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxODY5NTYsIm5iZiI6MTczOTE4NjY1NiwicGF0aCI6Ii8xMzIyMDA2LzM2NTE3OTkwOC1mZGMzYTBiNC1lN2FhLTQ1MjMtYmI3ZS1lODFhNTRhYmQ5YzkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMTEyNDE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODhjZTc1ZjU5YWM1ZWMxN2JkNWU0ODBhMGY3Njg3ZjNhODkxNjdhM2UxZTBkMWIzYzY5NDE3YmViZjk1MDU4NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.fecONWGKw2_9n2alGDQgyPdXlg29NHDF99AIp1d3SMA)
user
ofuseUser
The signature's decoded wallet address is not in any of them.
When trying to do the signature, it makes 4 requests;
POST to http://localhost:3001/api/rpc//signer/v1/sign-payload gives 308
POST to http://localhost:3001/api/rpc//signer/v1/sign-payload gives 308
POST to http://localhost:3001/api/rpc/signer/v1/sign-payload gives 200 with the signature in the response
POST to http://localhost:3001/api/rpc/signer/v1/sign-payload gives 401 with {"error":"could not verify api key signature"}
In the onError I receive {"error":"could not verify api key signature"}
This is the logs for an EOA signature:
The EOA signature is not making 4 requests.
Can you help me sorting that out to make valid signatures please?
Beta Was this translation helpful? Give feedback.
All reactions