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

How are we able to verify signatures using the public key?

I get that: private key --ECDSA--> public key private key + message --ECDSA-->signature But then how do we verify the signature with the public key? Wouldn't we have to reverse-ECDSA the public ...
user avatar
0 votes
0 answers
25 views

Getting public and private keys for an ethereum account keyfile and password

I was trying to generate the private and public key of an Ethereum account keyfile(one which gets generated at new account creation) and the password of account. After I found 1st method, I tried to ...
user avatar
0 votes
1 answer
36 views

Lost my Private key but ı have keystore

I have mew v2 json file. I want to convert this file to v3 utc via geth but I am getting an error, what should I do? i get the same error on windows 10 and linux (kali and ubuntu) Geth Error: Fatal: ...
user avatar
  • 1
0 votes
0 answers
17 views

What are the odds I punch in 12 random words from the wordlist and randomly get a wallet hash?

If someone just randomly punches in 12 random valid words from the 2048 wordlist, what are the odds that the generated key is a valid one and that it could belong to someone? I have tried looking this ...
user avatar
0 votes
1 answer
35 views

What is the relationship between the seed phrase and the private key?

Using ethers, I can easily generate a public key (wallet address), private key, and seed phrase: function makeWallet(params) { const wallet = ethers.Wallet.createRandom(); return [wallet....
user avatar
0 votes
1 answer
24 views

How to generate and remember, or to be able to deduce, the private keys of a few millions of addresses?

Goal: generate a few millions addresses and remember or store the private keys of each of them in an easy manner. Using the most straighforward approach, that is, storing all of the addresses as &...
user avatar
0 votes
1 answer
39 views

Truffle default account private keys

Is there a way in truffle develop tests to access the list of private keys in the same way we can access the list of accounts? Basically, for every contract I need to test, the truffle test contract ...
user avatar
1 vote
2 answers
22 views

Is the key generated below valid and cryptographically secure?

For some reason, my React Native 0.68.0 app needs to generate private key for the Ethers wallet providing accessing to crypto.getRandomValues. The crypto.getRandomValues is polyfilled by react-native-...
user avatar
0 votes
0 answers
45 views

keystore DecryptKey (cannot use generic type mapset.Set[T comparable] without instantiation)

I try to decode the private key string from the wallet file. Reading a json string key file, or am (AccountManager) are both okay, just the "github.com/deckarep/golang-set/set.go" is trying ...
user avatar
  • 1
0 votes
0 answers
13 views

How to be able to generate new addresses for my users but avoid having to keep private keys on a server?

I'll have a service where users will deposit funds. How would be able to generate new addresses for my users but yet avoid having to keep private keys on a server? I could pre-generate them locally on ...
user avatar
0 votes
0 answers
32 views

Any security issues with allowing a DApp access to "signing keys"?

Want to use mirror.xyz, but the DApp does not let you do anything without singing the following message in your wallet: I authorize publishing on mirror.xyz from this device using: {"crv":&...
user avatar
  • 155
0 votes
0 answers
30 views

Creating a hundreds of wallet addresses via Infura and the like - where will the private keys get stored?

Let's say I wanted to generate new wallet addresses for my users on regular basis. That is, if I was to create hundreds of new wallet addresses via REST API of Infura or a similar service, where would ...
user avatar
0 votes
0 answers
13 views

Creating a hundreds of wallet addresses via Infura and the like - where will the private keys get stored? [duplicate]

Let's say I wanted to generate new wallet addresses for my users on regular basis. That is, if I was to create hundreds of new wallet addresses via REST API of Infura or a similar service, where would ...
user avatar
0 votes
1 answer
99 views

Find passphrase using private key

I have a wallet's private key. Can I find the secret phrase/backup phrase through it? Can I also find out what the other wallets in the wallet sequence would be?
user avatar
0 votes
1 answer
53 views

How do you generate a private key from a seed phrase?

Without using a library or tool, is it possible to do this in excel for example?
user avatar
  • 15
0 votes
0 answers
16 views

Monitor a lot of wallets and transfer coins once coins have been sent to it

I'm working on a project in which there'll be users. A user will sign up and my service will a) generate a new address - wallet - and assign it to him b) each user will be topping up its wallet, for ...
user avatar
  • 1
0 votes
1 answer
101 views

Brownie: Is it safe to store actual private key?

My question is, is it completely safe to create an account with real funds in Brownie without hardware wallet, only with a password? Is there a possibility the private key stored like that could be ...
user avatar
0 votes
1 answer
55 views

Sign transaction with web3js not working properly

I'm trying to call a smart contract function on a transaction on CELO alfajores network with private keys. I'm using the signing transaction approach with a locked account. However, the transaction it'...
user avatar
  • 111
0 votes
0 answers
108 views

sendSignedTransaction function returns TxHash without any error but the function is not being executed on polygon mainnet

I have deployed contract on Polygon mainnet. I wanted to call a write function using my private key from backend using web3.eth.sendSignedTransaction function, upon calling the function I was getting ...
user avatar
0 votes
2 answers
249 views

How can I store a private key as an environmental variable and call it in my code?

import os from dotenv import dotenv_value . . . private_key = os.getenv("PRIVATE_KEY") . . print(private_key) //for testing purposes only This is what I currently have to utilize my ...
user avatar
0 votes
0 answers
21 views

Error: No "from" address specified?

I have a smart contract that is deployed and verified on the BSC Testnet. I am attempting to use web3.js inside a truffle project folder to write to the contract, and populate a currently empty array. ...
user avatar
  • 11
0 votes
0 answers
37 views

Secure Wallet Architecture Ideas

I have been tasked with developing a wallet that can store Cryptocurrency and NFTs. I understand that cryptos and nfts are not actually stored in the wallet, but the private keys that are used to ...
user avatar
1 vote
1 answer
44 views

Private key problem and stolen money by trader [closed]

I gave money to a trader . for example 300€ and now he gave me the address 0x4c8FeB3e02C67408d36c663Ad868d215B1B3239E and he told me that if i will give him 500€ he will give the private key for my ...
user avatar
  • 11
1 vote
0 answers
26 views

How long can a Metamask password be?

How long can the Metamask password be, that encrypts my private key? I would like to make it as long as possible.
user avatar
1 vote
1 answer
1k views

Expected value of type string and private key too short errors

I got stuck with hardhat config. My .env looks like this: API_URL="https://eth-ropsten.alchemyapi.io/v2/T4w-Ys... my API URL..." PRIVATE_KEY="b285d...my private key..." and hardhat....
user avatar
  • 11
0 votes
0 answers
49 views

How to extract the Private Key from password and public address?

I had an imported account, account 2, in my old metamask install. After I connected my trezor to metamask, uninstalled and installed a new version the account 2 inside the main account 1 that I ...
user avatar
  • 1
0 votes
1 answer
70 views

Why my private key is generating different public address?

I'm using that Javascript code to generate three things: private key, public key and public address (last 40 characters from public key): const EC = require('elliptic').ec; const ec = new EC('...
user avatar
  • 13
0 votes
1 answer
551 views

Encrypting/Decrypting data on IPFS using Ethereum Public/Private key?

I would like my app to connect to a Web3 wallet, store encrypted data on IPFS, then retrieve that data and decrypt it (without the user exposing their private key to my app). Is this possible? If not, ...
user avatar
0 votes
2 answers
256 views

What are the major differences when making a send transaction with ethers.js, hardhat, geth, and eth-cli?

There seems to be so many tools to make a send transaction. What are the differences from using ethers.js, hardhat, geth, and eth-cli? I'm just trying to process a bunch of private keys for my service ...
user avatar
0 votes
1 answer
44 views

Bitcoin address to private key, [closed]

I know its impossible to calculate a Bitcoin private key from address, but how far beck can you go with math, where math stops?
user avatar
  • 1
1 vote
1 answer
331 views

What are the risks of token approvals?

How exactly do token approvals work? As they cost gas fees, I assume they must be stored on the blockchain. Let's say, I approve uniswap to spend all my eth. Does that mean that a central entity has ...
user avatar
  • 113
1 vote
1 answer
41 views

How do wallets generate new key-pairs?

The probability of collision for any two randomly chosen private-public key pairs is notoriously low. However, I wonder whether wallets or key generators use random or pseudorandom numbers to generate ...
user avatar
  • 189
0 votes
2 answers
566 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 ...
user avatar
0 votes
0 answers
327 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 ...
user avatar
0 votes
1 answer
55 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 ...
user avatar
0 votes
0 answers
157 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 ...
user avatar
1 vote
1 answer
106 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 ...
user avatar
  • 230
1 vote
1 answer
343 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. ...
user avatar
  • 111
0 votes
2 answers
46 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?
user avatar
0 votes
2 answers
118 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 ...
user avatar
0 votes
1 answer
276 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 ...
user avatar
0 votes
1 answer
207 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 ...
user avatar
0 votes
1 answer
1k 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. ...
user avatar
1 vote
1 answer
148 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 ...
user avatar
0 votes
0 answers
48 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: '...
user avatar
0 votes
0 answers
122 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. ...
user avatar
0 votes
1 answer
65 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 ...
user avatar
  • 3
0 votes
0 answers
58 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?
user avatar
0 votes
1 answer
360 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 ...
user avatar
  • 199
0 votes
0 answers
167 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 ...
user avatar
  • 1

1
2 3 4 5
9