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
12 views

Using ECDSA to verify a signature inside smart contract

Following the technique to verify ethereum signature with ECDSA. Sign it like you mean it: creating and verifying Ethereum signatures Signing and Verifying Messages in Ethereum A Closer Look At ...
0
votes
0answers
13 views

how to set up an ETH sweeper bot or scavenger on a private key

So I have been studying wallet sweeper bot or scavenger hunt which somehow linked to the private key and as soon you send some Eth to that wallet address it sends to another wallet address of the ...
0
votes
0answers
9 views

Managing private keys used to sign server-side transactions in decentralized apps

What are the best practices for managing private keys used to sign server-side transactions in decentralized apps? Currently, we're testing a dapp with the private key exposed as an environment ...
0
votes
0answers
39 views

Create ethereum address starting from entropy

Yesterday i came across this amazing tool by Ian Coleman https://iancoleman.io/bip39/ .I was wondering if it was possible to reproduce a script in phyton that do the same thing. Which should be the ...
1
vote
1answer
82 views

What are the Pros and Cons of Managing Private Keys Directly vs Wallet Extension?

I would like to develop an app on an EVM compatible L1, however MetaMask currently does not have it on its list of supported networks. Hence the only alternative I can think off would be to manage ...
1
vote
1answer
43 views

Account Extended Private Key / BIP32 Extended Private Key need to import MetaMask?

I would withdraw ETH from my Binance account and give ETH as christmas gift to my nephew and my niece. 1: Is it any drawback in a long run if I use not the ETH network but BSC? In 10-20 years or so. ...
0
votes
2answers
29 views

SSH vs Ethereum keys

What is the difference between private-public key pair used for SSH and that used in an Ethereum account? Can one generate ethereum keys from the ssh RSA-2048 keys?
0
votes
0answers
33 views

Best way to store wallet private key in code?

I'm using web3.js to interact with my smart contract and I need to save my private key in my js code so that I don't have to be constantly asked to approve a transaction. I'm using the signTransaction ...
0
votes
1answer
30 views

Best practice to store private key for containerized apps in the cloud

I am a crypto investor. I am staking a coin but the smart contract requires the user to claim and restake the rewards by transacting a smart contract function every 24 hours. Currently I am doing it ...
0
votes
1answer
70 views

Restore from ethereum keystore file results in an unusable private key

I have a keystore file from an old ellipal wallet with some eth with it. The corresponding password is correct (I can use it to display the private key and keystore in it) and I can also run the ...
0
votes
1answer
354 views

How to import Brave Wallet into Metamask?

I'm trying to write to an Etherscan contract, but Etherscan only supports Metamask and WalletConnect. The contract depends on my Brave address, so I downloaded Metamask and imported my Brave seed. ...
1
vote
1answer
57 views

Is it possible to continuously create new wallets until you "create" an already existing wallet?

This question is inspired after reading How are ethereum addresses generated? This is the section of interest There are three main steps to get from private -> address: Create a random private ...
0
votes
0answers
20 views

Do I need the IV, Ciphertext, and MAC to decrypt a message? Are any of these optional?

This it the encrypted message: { iv: '06ec88010977a8867a8851771b0558bd', ephemPublicKey: '...
0
votes
0answers
71 views

Trust Wallet mnemonic gives binascii.Error: Non-hexadecimal digit found

It's impossible to extract the private key from Trust Wallet. Trying to use their mnemonic in python gives me this error. There isn't a fully working solution on stack for this particular problem. ...
0
votes
1answer
35 views

Is there a way for a third party to determine whether 2 addresses have been created from the same private key or not?

My goal is to create multiple addresses that are trully unreleated to each other. I'm aware that there's a way to do it in such a way that they'll be derived from the same private key. But will they ...
0
votes
0answers
30 views

Which mobile wallets lets you sweep or import an Ethereum private key from a paper wallet?

There are so many mobile wallets now, but which ones let you sweep or import an ETH private key?
0
votes
1answer
75 views

Public/Private Key encryption/decryption with wallet

The following case: There is a dApp in place, connected with a wallet (e.g. Metamask). Wallets usually don't offer public/priate key encryption/decryption. I want to decrypt a message for the owner of ...
0
votes
0answers
78 views

How to derive private key with wallet's mnemonic knowing address?

In 2016 while creating wallet (as far as I remember) via ethereum.org I was given the mnemonic phrase, also I typed passphrase. I saved the address, mnemonic and passphrase. But didn't export the ...
0
votes
0answers
30 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
1answer
174 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
64 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
56 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
39 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
130 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
95 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
128 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
154 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
37 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
683 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
582 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
71 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
26 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
116 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
320 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
40 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
53 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
807 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
72 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
42 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
3k 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
29 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
462 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 ...
2
votes
1answer
93 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
190 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
544 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
159 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
191 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 ...
3
votes
2answers
667 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
54 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
88 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. ...

1
2 3 4 5
8