Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Request for a new method that signs a message using ECDSA so that it can be verified by ink's method ecdsa_recover. #92

Open
corlys opened this issue Jun 21, 2023 · 0 comments

Comments

@corlys
Copy link

corlys commented Jun 21, 2023

Feature Request

Suggestion

add a method that takes an input (could be string, but probably will be bytes) then signs it using ECDSA method.

Motivation

Currently useInk WalletAccount class does not have a method that can generate a signature that can be verified using ink smart contract. Since ink only have ecdsa_recover method (as far as i know) to recover ecdsa siganture it will be nice to have a method that can make ecdsa signature that can be verified using ink's ecdsa_recover method.

Use Cases

meta transaction: user can sign for a transaction that can be run by another user, ex: address A signs a message/data for listing an nft at a marketplace (saved by backend), the user b can use that signature (given by backend) as a proof of listing A listing when buying that nft.

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

No branches or pull requests

1 participant