Questions tagged [private-key]

in assymetric cryptography, the private key is used to unlock, sign or decrypt

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

Generating Private and public keys from a given mnemonic and derivation path in javascript

How to generate public and private key if have mnemonic and derivation path. what is the code for it in javascript
0
votes
0answers
9 views

bip39 tool created a private key that cannot be imported

I have a mnemonic phrase generated by the bip39 tool. (The prior use case was that program uses the public keys in an array and people send to the one they randomly get. Occassionally when an address ...
0
votes
0answers
11 views

How to avoid handling private keys when minting tokens using web3j?

I am able to use web3j to successfully mint NFT. However, in this process, I need to provide the public and private keys as credentials. Web3j web3 = Web3j.build(new HttpService(ENDPOINT)); ...
0
votes
1answer
30 views

Is it possible to get the mnemonic phrase back, if I have a few private keys derived from this mnemonic phrase? [duplicate]

I used my mnemonic phrase to create a lot of accounts long time ago. I have the private keys of some account derived from this mnemonic phrase. Is there a possible way to find the mnemonic phrase back/...
1
vote
1answer
18 views

Does ethereum support re-keying?

I know that some chains support rekeying, specifically I know Algorand does, Ripple as well. I could not find a definitive answer anywhere so I thought I'd try my luck here
2
votes
1answer
45 views

Best practice for storing a user's private key or mnemonic locally on their computer

So, I'll immediately preface this question with a statement: You should never share your private key or mnemonic phrase with anyone for any reason. This gives that person full access to your wallet, ...
0
votes
0answers
78 views

Recover account from 64-byte string

In October 2015, I generated an account and backed up two things: the address, and a mysterious 64-byte string. I can see the correct balance on the address, so no problem here. I initially assumed ...
0
votes
1answer
43 views

How to verify a signed message and that it hasn't been reused/tampered with?

I have seen this question and others but none answers my qustion. How can I sign a message and make sure that the public key I recover is actually belongs to the private key that signed the message? ...
0
votes
0answers
64 views

Why can't we sign a message using a public key and get the private key?

I have just learnt how signing of messages works in ethereum. You take a message, then sign it using a private key to get a signed message. And using the message and the signed message you can get the ...
0
votes
1answer
29 views

Why is it considered a good practice to generate private key from mnemonic words?

If I understand things correctly - we can use 12 mnemonic words to generate a private key. Having 2048 possible mnemonic words it means that there will be 2048^12 possible states. Private key is 256 ...
2
votes
2answers
335 views

What is best to use - Private Key or Mnemonic?

Is there a best practice for which one to use? Many tutorials online take various approaches - the older ones seems to use mnemonic whereas the newer ones tends to utilize private key. I understand ...
2
votes
2answers
69 views

deploying a contract private key error

I am following tutorial entitled "DApp Development for Python Programmers" by levelup.gitconnected. The url is https://levelup.gitconnected.com/dapps-development-for-python-developers-...
0
votes
0answers
50 views

Old shapeshift account with secret key. How do I extract my ETH address?

My secret key looks like this, but its all numbers. No letters or words at all. The format looks like this: 500000 100000 300000 600000 400000 411111 900000 400000 611111 811111 I have some FOX tokens ...
0
votes
0answers
22 views

How is the private key generated in myetherwallet or mycrypto etc

What random generator is used? Does it take your password as a starting point? Is it secure enough? Сould there be a trick?
1
vote
1answer
44 views

What are the SECURITY CONSIDERATIONS when using INFURA to interact with the ETHEREUM mainnet?

What are the security considerations that should be noted when interacting via Infura to the Ethereum Mainnet? Are your private keys or mnemonic phrase ever sent to Infura? Can Infura execute any ...
0
votes
1answer
124 views

How get private key from eth address public key/address

By mistake I send "TRU" erc20 token in a ether address and can't access it now. I have only eth address and public key of this address. How to get private key from eth address or using ...
1
vote
1answer
33 views

How can a customer prove me that he owns a certain address and made a certain transaction?

In my e-shops there may be situations when a customer sent me coins but forgot to add secret order pin code in the memo. In such cases he'd contact me via email and claim that a certain transaction ...
0
votes
1answer
45 views

For a given contract address, does a private key exist that maps to it?

I was reading this section from Mastering Ethereum. This specific part caught my attention: However, not all Ethereum addresses represent public–private key pairs; they can also represent contracts, ...
1
vote
1answer
367 views

Can you get the seed phrase of a HD wallet from the private key of one of the wallets?

Let us say I have a HD wallet. Can I get it’s seed phrase from the private key of one of its wallets? Also are seed phrases just easy to remember private keys? If so does that mean that from the seed ...
0
votes
1answer
55 views

How do i redirect any transaction entering my wallet to the parent wallet

My wallet private key has been conpromised and anytime I receive any eth transaction it automatically redirect to the Hacker wallet address almost immediately I'm so confused right now I need all the ...
0
votes
0answers
33 views

BIP Ethereum Key Generation -- Hardened Keys

You may know what the term hardened key is as it relates to the BIP-32 key generation method. If so would explain why the term 'hardened' is used to refer to the numbers which are about 231 through ...
1
vote
2answers
1k views

Coinbase wallet 12 word seed used on metamask?

I have a couple of issues. I have a Coinbase acct. I have a number of coins on there. And, of course I have the 12 word seed. If I use this 12 word seed and import it on metamask will all my coins ...
1
vote
1answer
25 views

Newbie question - What does it mean to download one's Ethereum wallet into a file?

I am a crypto/Ethereum newbie. I came across LocalCryptos (localcryptos.com), which is a non-custodial platform used mainly for trading ETH. It says: Keep your funds secure by backing up your wallet. ...
0
votes
0answers
367 views

Private key opens a different address than the one that it "should"

I have a small problem (hope it doesn't prove to be huge) with importing wallets using private keys. I am not the most knowledgeable when it comes to Ethereum, and was hoping you guys could maybe help ...
1
vote
1answer
64 views

Simple question : Can I send private key via Solidity and an approved contract code?

I want to make an approved contract using Solidity and place the private key altering the state of a contract, for a certain address owner to obtain. Can this be done, and how ?
1
vote
1answer
125 views

Change seed phrases

How I understand seed phrase is a secured phrase of my private keys. And then I have a question: If I create a wallet I get one seed phrase, one account and one private key. If I push another private ...
1
vote
1answer
209 views

Does Exporting tokens from a metamask account with private key to a wallet, export the ethereum too?

Wanting to know if I’m exporting with my private key from metamask to a wallet will all contents of the MM account be exported? iE will the ethereum be exported along with my Theta token? Or would ...
0
votes
0answers
95 views

Is there any method to generate new public private key pair in solidity?

I want to generate a new ethereum account in solidity(if possible in online Ide remix) & sign transactions with the private key. In other words, I want more ethereum account apart from the default ...
0
votes
2answers
143 views

Understanding private key handling with Parity Signer

I'm new to the world of crypto currency and need some explanations on how Parity Signer in particular handles private keys. As far as I've understood, the private key is the most critical piece of ...
2
votes
2answers
371 views

Generating an Ethereum wallet with an existing private key

I want to understand how Ethereum works and i want to calculate the public key and wallet address from private key. I have read this tutorial: https://piyopiyo.medium.com/generating-an-ethereum-wallet-...
1
vote
0answers
34 views

Sign a transaction programmatically with a bash command line command

Let's suppose i have my metamask/ledger secret seed phrase. Here is what i want to do: I want to calculate the first account private key I want to sign a message with this private key It is possible ...
2
votes
0answers
65 views

Check whether public address was derived from a private key

I have several ETH accounts (and I own a private key from each one of them). I also have an address with a public key (holding some funds of course) but I totally forgot where this address came from. ...
3
votes
2answers
230 views

How to hide the private key for sign trnx with NodeJS?

When I sign a transacction in a website I do it with Metamask and my private key is safe. Now I am signing transactions automatically from a NodeJS like the next code. Can I somehow hide my privateKey ...
2
votes
0answers
39 views

How to get public key from private key in C?

I know the theory behind generating the public address. convert to 65 byte uncompressed key removed first "04" byte, we have ...
0
votes
1answer
124 views

How to extract private key for Ethereum Ledger Account using Recovery Phrase BIP39 tool?

Can someone please tell me how to find my public key address in a "sea" of Derived Addresses when using the BIP39 (44 for Ethereum) tool? I've isolated a laptop with this loaded in a browser,...
0
votes
1answer
172 views

What is the safest way to generate an ethereum wallet for cold storage?

I am currently making a DIY cold storage using a desktop computer. I cannot find any good desktop wallet for ethereum cold storage. Something like electrum for BTC. So, I can only found these 3 ways ...
0
votes
1answer
78 views

Is it safe to publish a raw signed transaction in etherscan?

I'm making a flow of creating a transaction offline, and publish it using external node (etherscan.io). So the flow will go from here: I will use this code to generate a signed raw tx var { ...
0
votes
0answers
132 views

Non ERC 20 coin sent by mistake to MyEtherWallet (MEW)

Newbie here - apologies for anything inappropriate and lack of tech expertise. I made a dumb mistake and sent some THETA tokens to a MEW Ether address. My bad - I had not realised that THETA had moved ...
0
votes
1answer
43 views

If I don't use metamask who manages the private key and the incoming or outgoing ether?

I want to build a dapp without using metamask but web3.js and a node (geth / parity). So if I use this second method what happens when ethere needs to be sent to an account?
0
votes
1answer
73 views

Exchange wallets, hardware wallets and web wallets: Why don't they all have a seed recovery phrase?

Here's what I think is going on Exchange wallets for ether have no seed recovery phrase. Only one's log-in and password to their account on the exchange grants access to their wallet. Hardware ...
1
vote
1answer
852 views

Generating a private key from a single mnemonic

I want to generate an Ethereum private key from a single word mnemonic. For example, (1) I could use keccack256 online tool to transform a word to a private key. Would this be a valid key? Are there ...
0
votes
0answers
45 views

Please help to detect ETHEREUM JSON key file

Time: 2014 year. I have next key: {"public_key":"02f6197ef15d989898b11c6c0axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "data":"...
0
votes
1answer
97 views

one wallet address, multiple users, what is the best way to keep the private key secured?

I would like to develop an application using the web3j. However, it needs to be just one wallet that multiple users will deposit and withdraw from. The allowances are kept in a centralized database. ...
1
vote
0answers
71 views

Recover Lost Funds from Botched ETH Deposit Without Access to Private Keys?

I'm using the wei approach (4 right-most zeros) as a marker to track user deposits on my site. In short, every user on the site is told to append a custom amount of "wei" to every deposit ...
0
votes
1answer
31 views

Why is sending ETH from multiple accounts in a single transaction deemed a "security hole"?

A user on Ethereum SE posted the following As you noticed, there is no way to send a single from multiple addresses. There is always just one sender. For Ether transfers the Ether value is always ...
2
votes
1answer
1k views

Recovering private key from keystore file

Recently I came across my old keystore file from the original Ethereum Wallet that I used back in 2017. Unfortunately I cannot find the private key or password for that wallet anymore, big problem of ...
0
votes
0answers
29 views

What is a better way to use whisper to implement a chat room?

I want to use whisper to implement a chat room in my dapp. I learned about whisper, if you want to realize the function of private chat, you need to know the public key of other people. For a user who ...
0
votes
1answer
59 views

Finding Wallet Password Using Known Private Key

I have a bit of an odd question, I have two wallet files that I encrypted a few years ago, both of them have the same password, I have the private key for one of the wallet json files (MEW structure). ...
0
votes
1answer
27 views

Reliable and universal account recovery

I am producing kinda salary system. If somebody loses an account, he or she loses the salary for his entire lifetime!! So need some account recovery. First I wanted to use my own recovery system with ...
0
votes
1answer
215 views

How to get the private key from the keystore file

The book Mastering Ethereum explains the keystore file in geth as follows: "The private key in the JSON file is not directly encrypted by the password. On the contrary, the password will be ...

1
2 3 4 5
8