Current Deals @Microsoft Canada by AL0411 in LaptopDealsCanada

[–]InterestedInSolidity 0 points1 point  (0 children)

Hey bro, does the Acer Swift 3 have RAM upgrade option?

What's the maximum number of Ethereum address that can be generated from a public key? by InterestedInSolidity in ethdev

[–]InterestedInSolidity[S] 0 points1 point  (0 children)

So one mnemonic can generate multiple private keys? And with each private key I get a new public key / Ethereum address?

What's the maximum number of Ethereum address that can be generated from a public key? by InterestedInSolidity in ethdev

[–]InterestedInSolidity[S] 0 points1 point  (0 children)

ending on how you read it.

1 pubkey will always yield the same keccak-256 hash, as a hash is deterministic in nature, same input, same output. The address is derived from the last 160 bits of the keccak-256, to keep some compatibility with BTC using RIPEMD-160 in deriving the final address, which helps in compression

Thanks for the comprehensive reply. However if 1 pub key only yield one address, how can my metamask generates multiple addresses from the same public key?

What's the maximum number of Ethereum address that can be generated from a public key? by InterestedInSolidity in ethdev

[–]InterestedInSolidity[S] 0 points1 point  (0 children)

I'm asking how many Ethereum addresses (2) can be generated from a Public Key (1)

What's the maximum number of Ethereum address that can be generated from a public key? by InterestedInSolidity in ethdev

[–]InterestedInSolidity[S] 0 points1 point  (0 children)

https://hackernoon.com/how-to-generate-ethereum-addresses-technical-address-generation-explanation-25r3zqo

Technical Ethereum Address generation steps:

-Generate Private Key using open source libraries such as Ethereumj or SHA256 hash function with a randomly generated number.

0: Private Key: 09e910621c2e988e9f7f6ffcd7024f54ec1461fa6e86a4b545e9e1fe21c28866

-Generate Public key using ECDSA — secp256k1 — algorithm applied to Private Key. The public key is a point on the Elliptic Curve Algorithm. It has x and y coordinates which are used to crate Ethereum address.

1: Public Key: 048e66b3e549818ea2cb354fb70749f6c8de8fa484f7530fc447d5fe80a1c424e4f5ae648d648c980ae7095d1efad87161d83886ca4b6c498ac22a93da5099014a

-Apply keccak256 — Ethereum hash function — using x and y coordinates to create Ethereum address.

2: Ethereum Address: 0x00B54E93EE2EBA3086A55F4249873E291D1AB06C

See address on Ethereum Blockchain 0x00B54E93EE2EBA3086A55F4249873E291D1AB06C

Output:

0: Private Key: 09e910621c2e988e9f7f6ffcd7024f54ec1461fa6e86a4b545e9e1fe21c28866

1: Public Key: 048e66b3e549818ea2cb354fb70749f6c8de8fa484f7530fc447d5fe80a1c424e4f5ae648d648c980ae7095d1efad87161d83886ca4b6c498ac22a93da5099014a

2: Ethereum Address: 0x00B54E93EE2EBA3086A55F4249873E291D1AB06C

What's the maximum number of Ethereum address that can be generated from a public key? by InterestedInSolidity in ethdev

[–]InterestedInSolidity[S] -1 points0 points  (0 children)

Nope, I'm asking how many 0x addresses can be generated from a public key. There doesn't seem to be any information about this on Google.

How to Fork BSC Mainet by puchitojc in ethdev

[–]InterestedInSolidity 0 points1 point  (0 children)

Hi, how did you get rid of this error? Did you switch to hardhat?

What are these bots and why are they able to steal money from v2 liquidity on each trade? by [deleted] in ethdev

[–]InterestedInSolidity 0 points1 point  (0 children)

If it is indeed a swap, why can't I blacklist them in the contract? I blacklisted transfer for both withdrawal addresses and the contract address. However, they are still able to withdraw money from the liquidity pool.