Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [secp256k1]

The tag has no usage guidance.

1
vote
1answer
231 views

How to generate public key from private key in Rust?

How to generate Ethereum public key from private key in Rust? I found rust-secp256k1 and it seems to be what I need, but there is no documentation at all, which makes this crate for me, Rust newbie, ...
1
vote
0answers
82 views

How to change Go Ethereum ECC Curve

In Geth\crypto I found the default implementation of ECC curve (secp256k1). I would like to change it to secp256r1 curve for my private network. In normal circumstances, all I need to change is the ...
0
votes
1answer
223 views

Can Ethereum Contracts Store Bitcoin?

I know that Ethereum and Bitcoin both you the same underlying elliptic curve, so I'm wondering, is it possible to store bitcoin in an Ethereum contract?
2
votes
1answer
579 views

Secp256k1 bindings are not compiled. Pure JS implementation will be used

I am trying to create a meteor dapp that can sign a piece of data and then recover the address it was signed with. When I run the dapp I get this error in the console: Secp256k1 bindings are not ...
6
votes
1answer
691 views

How to sign a message using secp256k1 in Ruby?

I'm trying to write a sign function in Ruby for Ethereum using secp256k1. I have access to this sign_compact function which seems to be for Bitcoin: https://github.com/lian/bitcoin-ruby/blob/master/...
4
votes
2answers
2k views

Deriving Ethereum address from Bitcoin address

As far as I know Ethereum private keys are compatible with Bitcoin private keys, as described in Can I use the same private key for Ethereum and Bitcoin? . HOWEVER Can I derive an Ethereum public ...
17
votes
1answer
3k views

Can I use the same private key for Ethereum and Bitcoin?

Both Bitcoin and Ethereum private keys are usually a 256-bit number, isn't it possible to use the same private key for both Bitcoin wallets and Ethereum accounts? For instance, the Bitcoin wiki ...