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
1answer
105 views

local private chain account, switch to test net, start to lose ether?

I built a local private chain, and created an account via geth. Then I switched to test net from metamask. After that, the account started to lose ether. People sent the ether in that account to ...
0
votes
1answer
128 views

Sending Ether from private Geth node to Mist Account

I have Sended Ether from my private geth node to an another account created by metamask. I have choosed custum RPC to metamsk, with the valide IP and Port, Also i have activated rpc in my geth node. ...
0
votes
1answer
381 views

Generate wallet public and private key using web3 PHP

I am using this to get public key: https://github.com/sc0Vu/web3.php#assign-value-to-outside-scopefrom-callback-scope-to-outside-scope I am in need of to get the public and private key using PHP ...
0
votes
1answer
143 views

Unable to send ether to account

I am trying to send ehter using this code web3.eth.accounts.wallet.add(privateKey); web3.eth.sendTransaction({ to:someAddress, from:onwer, value:amount*1, ...
0
votes
1answer
18 views

Help on recovering wallet through brute force or from extension data (Bounty on recovery)

I know 10 of 64 characters (hex) of my ethereum private key unencrypted and their positions. I also know the corresponding wallet address. Is a brute-force possible? What I am thinking of is ...
0
votes
1answer
188 views

Ethereum converting string & random string to private key

I am receiving as input a private key string and a random string. Goal is to get public key and address. When I am receiving the string I do: var hash = Crypto.util.hexToBytes(privStr); this.priv = ...
1
vote
1answer
26 views

Generating multiple deposite address for one account

I want to create something like a Crypto exchange, in which I need to generate different unique deposit addresses for each user, so they can send funds to their accounts while I can keep track of how ...
1
vote
2answers
628 views

geth: command not found (Ubuntu)

I have Ubuntu 18.04 installed, and I just installed Mist. To my understanding, installing Mist should have installed Geth as well, but when I do the command geth in a terminal, I receive geth: ...
0
votes
1answer
17 views

Why HD wallet instance returns two xpub-xpriv key pairs inside Root and HDKey?

I have implemented address generation using HDWallet as shown in the snippet below: let Seed = generateMnemonic(); const wallet = EthHdWallet.fromMnemonic(Seed); console.log("Wallet" + JSON....
0
votes
1answer
191 views

Web wallet best practices

I'm putting together an ether/erc20 token wallet in a chrome extension but would like to follow best practices with regards to private key security. I'm using localstorage to handle login and its ...
1
vote
1answer
78 views

How can I get a private key from a mnemonic phrase?

I want to convert a 24 words length seed phrase into a private key using web3.
0
votes
2answers
11 views

What is the privatekey to be used to sign web3.js transactions?

I created an account on metamask, and downloaded the json of my wallet. It's on rinkeby. The structure of the json is { "version":3," id":"...", "address":"....", "crypto": {...
0
votes
1answer
855 views

How to use not personal account web3

In my previous post I got answer but still I need some clarifications let say when deploying contract with node js we have this line try { web3.personal.unlockAccount(web3.eth.coinbase, ...
2
votes
2answers
534 views

How to programmatically generate sub addresses using the root address in hd wallet?

And without using the private key. I've been digging into the ConsenSys's eth-lightwallet, although it uses a derived private key to generate the address which would expose the root private in danger. ...
4
votes
1answer
4k views

UTC/json wallet file: deleted -> recovered -> corrupted. 0.1 ETH REWARD

--EDIT-- I have advanced in my research. The UTC/JSON file in question is a 491 byte file. There are 256 random characters in the file with each 16 possible characters. Like a 256-number long ...
0
votes
1answer
411 views

Mist: how to view private key of an account

Question: How do I use Mist to extract the Raw private key of an account. The account is password protected (if that makes a difference I don't know). Elaborating: I made an account with mist that ...
2
votes
2answers
495 views

Consolidate Batch of ETH Wallets w/ERC20 Tokens?

I have a large number of Ethereum wallets with small amounts of ERC-20 tokens in each. How can I send all of these tokens to a single ethereum wallet without doing this process manually? (it would ...
3
votes
2answers
1k views

How to generate ethereum address derived from xpub in PHP?

How to generate ethereum address derived from xpub in PHP? I am trying to generate ethereum address similar like below link does for bitcoin. https://github.com/blockchain/receive-payments-demos I ...
1
vote
1answer
55 views

How get private key in private network?

I launched a private RPC Blockchain network and connected through another computer to this network. The connection is successful. How can I get a private key(through Python) if the file is on another ...
2
votes
1answer
2k views

Generate Ethereum address from a private key

My question was first asked on stackoverflow but due lack of privileges I couldn't move it here directly. I am trying to generate an Ethereum address based on a given private key following this "How ...
1
vote
1answer
27 views

private key vs seed

I made an extra account in Metamask for my GF, I kept Account 1 for myself and I gave only the private key of Account 2 to my GF. I kept the seed words only to myself. Since then, she has dumped me ...
0
votes
2answers
1k views

Is it possible to regenerate my seed phrase if I have my private key?

The thing is I lost my seed phrase for MetaMask wallet. Luckily I had also backed up my private key. Is it possible to regenerate my "seed phrase" from my private key? It would be great if I could do ...
0
votes
1answer
716 views

MyEthereumWallet got stolen

2000 tenx tokens were stolen from MyEtherWallet after i transferred it. Luckily i didn't transfer everything, i wanted to test it first. I was looking for a safe wallet and decided to go ahead with ...
0
votes
1answer
431 views

missing ether after uninstalling metamask

Lost my ether from Metamask when I uninstalled it and it did not show up when reinstalled...but it is showing on Etherdelta with the no private key error in red. How do I recover it please? I'm leery ...
11
votes
2answers
2k views

Does knowing half private key provide any useful information?

I have a private key and I want to store a paper version of it. I would like to split it in 2 equal parts (first 32 numbers and last 32 numbers) and store them in 2 different locations. Let's assume I'...
0
votes
1answer
27 views

CLI wallet where I can pass in a Private Key and send out ETH and then delete this key?

Is there a CLI command where I can pass in an ethereum private key and send some coins to another address? I'm trying to build out a reoccurring payment system where a user can send 1 eth to another ...
1
vote
1answer
48 views

How can I export/show private key on parity cli?

I did this command on parity parity --chain mainnet account new I got the address but, How can I export or see the private key?
0
votes
2answers
40 views

How to find private keys on Remix ide

I want to sign a message on Remix and I can't find the pair of private/public key. For example - I going to Deploy & Run Transactions, then trying to "Sign a message using this account key" with ...
1
vote
2answers
78 views

geth node on ubuntu setup question

To run a node on my vps, --rpccorsdomain "mydomain.com" and set maxconnection, can be set at the same time so that only my own website can send rpc call for security, also I use max connection to ...
0
votes
2answers
690 views

How to transfer ERC20 tokes from Blockchain wallet to MyEtherWallet?

I got some token and by mistake sent them to my Blockchain ETH address. Now, what is the process of transferring them to MEW? They talk about exporting your private key, what does that mean and to ...
1
vote
0answers
21 views

Is there a way to view the private key of test account in Remix (javascript VM)

Seeing how the keys are random and those "100 ethers" aren't real I can't think of why this is not obvious functionality, I'll need this for many reasons.
2
votes
1answer
118 views

Is it possible that Ganache can handle a private key without an “0x” prefix, but Parity cannot?

I am trying to sign and send a transaction as follows: let signedTx = await web3.eth.accounts.signTransaction(options, PRIVATE_KEY); let txReceipt = await web3.eth.sendSignedTransaction(signedTx....
0
votes
1answer
653 views

How can I obtain my public key (using web3)

I know my Ethereum address, my Metamask wallet will give it to me, and I can run : web3.eth.coinbase But I want to know what my public key is. Is there any way I can find that ? (the reason I want ...
0
votes
1answer
51 views

go-ethereum: deploy contract with pub + private + key + password

I'm not sure if I create the right title. But the problem is: I do have a public and private key from ganache network. I want to deploy contract using go-ethereum which requires me to setup keystore ...
0
votes
1answer
24 views

How to Locate Private Key/JSON file of Account Created in Geth terminal

Software: Ubuntu on Virtual Box I created test account in geth terminal (rinkeby network), i.e., but I am not finding keystore, or json file in home\rinkeby\keystore Please assist can someone ...
1
vote
1answer
34 views

how do I create an ethereum valid key pair in nodeJS?

I need to generate a key pair that can be used to write the a besu (ethereum) private ledger. I wrote the following code but the architect says this will probably not work with ethereum. The ...
0
votes
1answer
156 views

How can I provide an ethereum public address to each user registering on my website.?

is it possible to do using web3.js for a dapp that is going to be run on mainnet.? I have a requirement to assign valid ethereum address to each user who are registering on my website. I want this ...
1
vote
1answer
37 views

How to have users sign transactions on an ethereum based platform without giving up their Private Keys to the platform?

How to have users sign transactions on an ethereum based platform without surrendering their Private Keys to the platform? Need the process to be automated, while users not giving up their private ...
2
votes
2answers
277 views

Is there a way to access my wallet's private key? Recovering passcodes?

Not sure if this is appropriate here, but I'm trying to recover a lost wallet by brute-forcing the passcode. From a previous answer to the same question, it seems like the developers decided against ...
0
votes
1answer
43 views

Building a deterministic wallet without random seed phrase instead multiple static inputs

If I want to be able to create a private key given inputs x,y,z and these inputs are constant, if I add enough entropy as a salt would it be secure to create a key this way (in terms of brute force ...
4
votes
1answer
2k views

Difference between Account Extended Private Key and BIP32 Extended Private Key

I was using this this useful tool to verify that my wallet generation process was accurate, however when I thought I was generating an Account Extended Private Key, I realized I was actually ...
0
votes
1answer
37 views

DDEX Api Question for Python… Signing ETH Transactions?

Having an issue with signing a message for the DDEX api... I'm trying to do it in python, and for some reason my signature is off by two characters. Here's my code using the private key and UTC ...
1
vote
1answer
53 views

How Can I Sign A Transaction Server-Side?

I have a server-side Node.js app that sends a transaction to an Ethereum smart contract like so: const transaction = await contract.methods .method_name([params]).send({ from: [...
24
votes
8answers
34k views

How do I get the raw private key from my Mist keystore file?

I use the Mist wallet. I would like to know: How I can get the private key of my account. How I can use this private key to sign messages.
0
votes
0answers
22 views

ethereum whisper's method 'addPrivateKey' returning different keyid pair for same private key

Can somebody please explain why running this code produces different key-id pair each time? Is it not supposed to be unique for a given pvt key? web3.shh.addPrivateKey('...
0
votes
1answer
99 views

What to do if the private key was compromised?

A hacker has entered my account. When I get some payment, it sends to another in 30 seconds. I need to get my tokens out of this wallet.. Is there any way? Is there any way I can change the private ...
0
votes
0answers
28 views

How to get my private key from keystore file for creating raw transactions Web3.js [duplicate]

I am trying to get my Ethereum private key, so that I can create raw transactions to broadcast through infura. Currently, I have a keystore file that was created with Geth, but this is not directly ...
21
votes
2answers
4k views

Is each Ethereum address shared by (theoretically) 2 ** 96 private keys?

Summary This is an extended question to How are ethereum addresses generated?. In Ethereum, a private key is 256-bit long, but an address is only 160-bit long. By "Pigeonhole Principle", it ...
1
vote
1answer
265 views

Access to a private blockchain controlled by one entity

How can I be the unique authority that can grant access to my private blockchain to only my users and forbid that users to grant access to others?
0
votes
1answer
46 views

If Address and private key doesn't get stored in Ethereum,then how will it validate users?

I think in a normal database,the username and password gets stored in the database and when a user enters his/her credentials,it checks with the content in the database to know his/her Authenticity. ...

1 2 3 4 5 6