Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not verifySign, response: something went wrong. #1

Open
YoungWong315 opened this issue Jan 17, 2024 · 0 comments
Open

can not verifySign, response: something went wrong. #1

YoungWong315 opened this issue Jan 17, 2024 · 0 comments

Comments

@YoungWong315
Copy link

code example:
const url = "https://auth.api.4everland.org";
const authclient = new AuthClient(url);
const address = "0x664b4Fab7aCe6489d59a8d70712BD148f3C4E0f4"; // metamask address
const signature = await authclient.getSignText(address);
console.log(signature);

// get error response
const { accessKeyId, secretAccessKey, sessionToken } = await authclient.verifySign(
address,
signature
);
const params = {
accessKeyId,
secretAccessKey,
sessionToken,
endpoint: "https://endpoint.4everland.co"
};
console.log(params);

please help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant