Comments (3)
looks like it is y_sum_s
in the generate key file.
from multi-party-ecdsa.
Hi! Is y_sum_s
the public key? Here is what I did:
-
I generated an address from this y_sum_s vector by using the following code
const pkey = ethers.utils.computeAddress("0x" + Buffer.from(y_sum_s).toString("hex"));
-
Funded the account with 0.2 ETH, and signed the transaction to send 0.001 ETH to some address.
-
When I tried to broadcast the transaction I received an error saying something like "Insufficient funds for Gas + Value".
Can you please help in this regard?
from multi-party-ecdsa.
yeah, i was probably wrong. I extracted the eth address using ecrecover
:
- Follow #177 (comment). In other words, apply this change narayanprusty@0aba299 by @narayanprusty.
- Compile, and now when you sign using
gg20_sign
, supply the keccak hash as the message. - The signature will be
r,s,recid
. Getv=recid+1
. - Use ecrecover to get the eth address or you can use any web3 library to get recover the public key or the address.
Confirm using multiple signatures that you are getting the same address back.
from multi-party-ecdsa.
Related Issues (20)
- Is this a malicious action if false?
- Question about proof of pubkey consist HOT 1
- Link in README to Binance academy article Threshold Signatures Explained broken.
- symbol not found in flat namespace '_rust_crypto_util_fixed_time_eq_asm' HOT 3
- No zk proof for N_i HOT 1
- Is there any instructions or examples for verifying the signature (for gg20)? HOT 9
- Is there any instructions or examples for decentralized HD wallet using GG20 ?
- libsecp256k1 allows overflowing signatures HOT 1
- Is it possible and practical to integrate the entire signing role, or `sm_client` to frontend implementation?
- Why did you replace libsecp256k1 with secp256k1?
- check_sig from common.rs seems to reject some valid signatures HOT 4
- Generate PublicKey and sign (ETH,BTC ,...) transactions HOT 3
- Question about the GG20 reference being obsolete
- [Feature request] Node.js binding
- How to verify signature generated in blockchain and send transaction using public key generated during key generation process
- how to expand to support starknet curve?
- Is the RFC 6979 can be supported? HOT 2
- Question : How to create "p" and "q" for pailier key pair to satisfy GG18 consideration?
- Question about the limitation of the size of sign message in demo/run.sh
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multi-party-ecdsa.