You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
I want to use a 'user' table in contract to store register users.
User create a key pair with eosjs libaray. The wif is in client side.
Client use the wif to create a signature. Now in the contract, i need to verify this signature is valid, pubKey is stored in 'user' table.
After some digging, i didn't found related api. Can anyone help me?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
86chenjie
changed the title
In contract, how to verify signature which is created by eosjs-ecc sign() method with wif?
In contract, how to verify signature which is created by eosjs-ecc sign('xx', wif) method?
Jul 6, 2018
Yes, I am looking for something similar to this. Like ecrecover() in solidity, where a user can sign data and submit to contract, and the contract verifies that the data was signed correctly. Is there anything like this in EOS?
I want to use a 'user' table in contract to store register users.
User create a key pair with eosjs libaray. The wif is in client side.
Client use the wif to create a signature. Now in the contract, i need to verify this signature is valid, pubKey is stored in 'user' table.
After some digging, i didn't found related api. Can anyone help me?
Thanks in advance!
The text was updated successfully, but these errors were encountered: