We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
uni-arts-chain/sr25519#1
hi,
params:
{ "message": "I'm verifying my DOT address", "address": "5HBwjWDWZTqRCv98pku9NwoSRo7euCowciut12tviPNAt7WK", "signature": "0xc02fd26ba216daa8cd285314a8059aa60744fd5cff1af606e14a9160c854a57c6b42abe0a986ae6b868703359c32c55069b819d23217f01ac513f8bc51482683" }
use codes:
server.post<{ Body: { message: string, signature: string, address: string } }>("/worker/dotSignatureVerify", async (request, reply) => { let {message, signature, address} = request.body await cryptoWaitReady(); const isValid = signatureVerify(stringToU8a(message), signature, address); return { isValid: isValid } });
is_valid is true, but use:
verify_result = SR25519.verify("5HBwjWDWZTqRCv98pku9NwoSRo7euCowciut12tviPNAt7WK", "I'm verifying my DOT address", "0xc02fd26ba216daa8cd285314a8059aa60744fd5cff1af606e14a9160c854a57c6b42abe0a 986ae6b868703359c32c55069b819d23217f01ac513f8bc51482683")
is false
use sign a message:
The text was updated successfully, but these errors were encountered:
You should open an issue at https://github.com/uni-arts-chain/sr25519/
Sorry, something went wrong.
No branches or pull requests
uni-arts-chain/sr25519#1
hi,
params:
use codes:
is_valid is true, but use:
is false
use sign a message:
The text was updated successfully, but these errors were encountered: