I hereby claim:
- I am juanmanavella on github.
- I am juanmanavella (https://keybase.io/juanmanavella) on keybase.
- I have a public key ASDVrcn-dCzMt0dLJFWI4EcoreTgfDJo9XqFX8rMmklp8Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# This hosts file is brought to you by Dan Pollock and can be found at | |
# http://someonewhocares.org/hosts/ | |
# You are free to copy and distribute this file for non-commercial uses, | |
# as long the original URL and attribution is included. | |
#<localhost> | |
127.0.0.1 localhost | |
127.0.0.1 localhost.localdomain | |
255.255.255.255 broadcasthost | |
::1 localhost |
# Generate the private and public keys | |
openssl ecparam -name secp256k1 -genkey -noout | openssl ec -text -noout > key | |
# Extract the public key and remove the EC prefix 0x04 | |
cat key | grep pub -A 5 | tail -n +2 | tr -d '\n[:space:]:' | sed 's/^04//' > pub | |
# Extract the private key and remove the leading zero byte | |
cat key | grep priv -A 3 | tail -n +2 | tr -d '\n[:space:]:' | sed 's/^00//' > priv | |
# Generate the hash and take the address part |
const util = require('ethereumjs-util') | |
const Wallet = require('ethereumjs-wallet') | |
const basePrivateKey = '1cd3b30424316919712c483929787eefa0d724a78274a506530dbb26916b1' | |
const charsMissing = 64 - basePrivateKey.length | |
const targetPublicAddress = '0xe8Ca70C909905Ebbbe6a49c34797beF31d895241' | |
console.log(" \n" + | |
"searching for address : " + targetPublicAddress + " \n" + | |
"base private key : " + basePrivateKey + " \n" + |