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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMjkwMDgsIm5iZiI6MTczOTEyODcwOCwicGF0aCI6Ii8xMzIyMDA2LzM2NTE3OTgzMS05YzUwNzllMy0yYzZlLTRlZWMtOTY3Ny03ZDQyODkzZDFhY2QucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDlUMTkxODI4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OWIyYWE4NjgwYjBkZjExZDIxNTUwODE2Mjg0YjJkN2UyNDk5ZGIzYWM4MTZjM2RlZGQzYzZlZmIwMzVhNWVmOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.AUzVxJm6--HSV7eh0rfDzKbmlVJ6sbIbdb5DsdUUGy8)
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMjkwMDgsIm5iZiI6MTczOTEyODcwOCwicGF0aCI6Ii8xMzIyMDA2LzM2NTE3OTkwOC1mZGMzYTBiNC1lN2FhLTQ1MjMtYmI3ZS1lODFhNTRhYmQ5YzkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDlUMTkxODI4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODRlNjA5ZDE1ODVhZmM2NGYxODE1NDc5NWJlODQ0N2M5NWM1NzUzNjk0ZGMzYzljMDI1MmExYzc3MTUyNjE4YSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.81SaBE2NysDx5YUnP8f488eIsGjysQkv0FrZaNCuU5Q)
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