Questions tagged [addresses]

Addresses are the particulars of names, domains or accounts on the blockchain.

Filter by
Sorted by
Tagged with
1
vote
0answers
6 views

Retrieve public key of an address to verify off-chain signatures

I have a question regarding use of keys in Ethereum for signing requests/data OUTSIDE of Ethereum. Let's say I have a regular Ethereum EOA with an address and keypair. I now want to have a piece of ...
-2
votes
2answers
40 views

I SENT ETH TO WRONG ADDRESS [duplicate]

I sent eth to wrong address by accident thru and exchange hitbtc 2. It whats a mistyped attempt so it is considered a "fresh" or unclaimed account. Is there any way around this? if so im up ...
0
votes
0answers
9 views

Truffle test - doesn't send funds to msg.sender

it seems like I have a wrong gnache or truffle setup ... I already ask a simular question here: Owner of contract is set to contract address? Basicly there is some mess up with addresses on my local ...
0
votes
0answers
12 views

Mapping with different datatypes showing on one struct

is it possible that in I can use a uint and a address that showing on the same struct(Submission) as mapping ? I need something what makes it easy to read out the mapping with a uint (number) and with ...
1
vote
1answer
14 views

How to get tokens from a contracts 0x0 address?

I was having a deep dive through an address I found interesting and noticed that all his tokens always came from a contracts 0x0 address. How is this done? I assume this is how smart contracts work ...
0
votes
0answers
12 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 ...
3
votes
2answers
49 views

How to use address.call{}() in solidity

I have seen here and several other places that the correct way to send ether from a contract to an address is to call the .call{}() method. Then here I have seen the method being used with arguments. ...
2
votes
0answers
18 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. ...
0
votes
1answer
19 views

Assigning addresses while publishing contract in Solidity

I was recently viewing a DApp on GitHub. The following is a part of .sol address contractOwner; address withdrawWallet; function contractName(address _contractOwner, address ...
2
votes
0answers
14 views

How to get public key from private key in C?

I know the theory behind generating the public address. convert to 65 byte uncompressed key removed first "04" byte, we have ...
0
votes
2answers
20 views

Can I recover a blockchain transaction to a phishing address [duplicate]

I was scammed and sent 3 eth to a phishing address. 0x2ed31556f20db283569ae040d6968f65efa240ca a.k.a (Fake_Phishing4397) It is possible to recover my losses? Thank you so much!
0
votes
1answer
52 views

Hardhat local network keys generation

I noticed the generation of Hardhat local Etheruem network keys are found on the Mainnet. Example: After running npx hardhat node. Accounts ======== Account #0: ...
0
votes
0answers
11 views

What is IBAN/BBAN address and what is the purpose of web3.eth.Iban? [duplicate]

I do not find too much information about the use cases of Iban, in web3.eth.Iban object. Could anyone tell me what is exactly an IBAN address in web3, and when to use it? https://web3js.readthedocs.io/...
0
votes
0answers
27 views

How do I manipulate data in multiple contracts and output them

I am trying to manipulate data I retrieve from my contract, and then display it. Currently, I am running into 2 problems: 1- I am unable to manipulate the data correctly. 2- I am unable to display ...
1
vote
0answers
16 views

How to store in `address` two kinds of addresses at once?

I have a set of address values, each of them can contain a real Ethereum account (user account or contract) or a "virtual" address (an address pseudo-randomly generated by my contract, in ...
2
votes
1answer
51 views

Cancelled Transaction in MetaMask USDC leads to loss of funds

I had attempted to transfer 992 USDC from MetaMask to a Ledger Account but had decided to cancel the transaction. On cancelling, MetaMask reports that the cancellation succeeded, but my MetaMask USDC ...
0
votes
1answer
33 views

How to type-cast contract type to address type?

Contracts can be explicitly converted to and from the address type. In solidity docs, it's mentioned that the contracts can be converted into an address type. But when I try to do so the compiler ...
0
votes
1answer
24 views

Error: Member “send” not found or not visible after argument-dependent lookup

I am trying to compile the following smart contract: pragma solidity ^0.5.1; contract Governmental{ uint constant TWELVE_HOURS = 12; function lendGovernmentMoney ( address buddy ) public ...
1
vote
0answers
10 views

Getting INVALID_ARGUMENT error when passing zero to a view function with a parameter of type address?

I recently upgraded to solidity 0.8.1 from 0.4.21. I have a view function in my contract with an address parameter. In the past I could pass 0 for this argument and that would be written to the ...
1
vote
1answer
44 views

How is it possible for Centre and the like to blacklist Ethereum addresses when they themselves are not miners/validators?

There is no shortage of the news on stablecoin censorship, in particular blacklisting of Ethereum addresses: Tether has been blacklisting Ethereum addresses that hold USDT for a couple of years now—...
0
votes
1answer
22 views

Contract Polymorphism based on address type cast issue

I am new to solidity and having difficulty understanding polymorphism and address typecasting of contracts. I am passing the address of child_1 contract to getChild2Value(address adr) which type cast ...
0
votes
0answers
76 views

In uniswap v2 periphery, how does the contract fetch token pair address?

function pairFor(address factory, address tokenA, address tokenB) internal pure returns (address pair) { (address token0, address token1) = sortTokens(tokenA, tokenB); pair = address(uint(...
1
vote
0answers
45 views

Recover Lost Funds from Botched ETH Deposit Without Access to Private Keys?

I'm using the wei approach (4 right-most zeros) as a marker to track user deposits on my site. In short, every user on the site is told to append a custom amount of "wei" to every deposit ...
1
vote
1answer
36 views

How do I retrieve funds sent to wrong address that doesn’t exist [duplicate]

I sent some funds to my MEW wallet but I fat fingered the address and sent it to a different address that does not seem to exist. How do I claim that address to retrieve funds I see sitting in the ...
0
votes
2answers
37 views

contacting an address possible?

this might sound stupid for some, maybe even hilarious, have a laugh but please be kind when replying: the question: is there a way to contact or send a message to an ETH-address? my issue: I only ...
1
vote
0answers
26 views

How to obtain the implementation address from an upgradeable proxy smart contract?

Is there any way to externally obtain the current implementation address of a proxy that doesn't involve interacting actively with it (e.g. calling a transfer or approve function, i.e. without using ...
0
votes
2answers
47 views

Can Ethereum wallets be deleted for fraud?

Stellar Foundation, who created the Stellar Lumens coin (XLM), are able to shut down XLM addresses that engage in fraud. Stellar scammers often send small payments to other XLM wallets at random with ...
0
votes
1answer
34 views

Multiple receiver addresses for a single private key possible?

I'm looking at the difference between bitcoin and Ethereum wallets, and I'm confused about this part: It seems that a bitcoin wallet can have multiple receiver addresses: In my mind this translates to ...
0
votes
0answers
7 views

How do I pass a dictionary for the in3_registry value for the Incubed Python API?

I am using Python 3. I have installed the in3 (Incubed) Python module. I want to invoke the ClientConfig of the in3 Python API in a specific way. There is an in3_registry argument that is part of ...
1
vote
1answer
54 views

when msg.sender is the owner?

how do I know if the msg.sender is the owner (the person that deployed) of the contract or a random address that interacted with the contract? in this case for example: address payable owner = ...
0
votes
1answer
21 views

any 3rd party service that can get all transaction?

3rd party service recommended have any 3rd party service that can get all transaction of address? because from my research the web3 cant get the full transaction by account.
0
votes
0answers
65 views

How can I create an ethereum wallet which can show many addresses balance?

I'm looking for a wallet which can scan many ethereum addresses balance,(like electrum for bitcoin). I need to import 200 (or more) eth addresses and scan their balances include their tokens(if funded)...
1
vote
1answer
77 views

How is this address a contract in kovan and address in mainnet

0x4F96Fe3b7A6Cf9725f59d353F723c1bDb64CA6Aa is the address for kovan DAI. However this is an actual address on the ethereum mainnet. How is this possible? How is the private key for this address ...
0
votes
0answers
16 views

Traversing transaction within a contract

Is it possible to get an address' transaction history within a contract using solidity? If it is possible, how can one go about it?
2
votes
0answers
41 views

events and relationships between smart contracts and oracle smart contracts [closed]

How to subscribe a web3j client node to a smart Oracle contract event? Do I need the Oracle contract address?
0
votes
0answers
7 views

Will Ethereum generate the same private key? [duplicate]

We know that Ethereum first generates a 256-bit private key, and then generates a 160-bit address on the basis of this private key. So in theory, it is possible for Ethereum to generate the same ...
0
votes
0answers
22 views

Which blockchains use the same addressing as Ethereum?

Which blockchains use the same addressing as Ethereum? I find this blockchains: Smart chain BNB ETC VeChain VET GoChain GO POA Network Callisto Wanchain TomoChain Thunder Theta Minter (without MX) ...
1
vote
1answer
586 views

Uniswap v2 pair before liquidity add

I have a token contract and I want to add liquidity to Uniswap (mytoken + ETH). Before that, I would like to know the pair address in order to set it in my contract. Is it possible to create a pair on ...
1
vote
1answer
31 views

How to generate unique ETH deposit address for ecommerce or payment processor?

Example of a payment processor or an ecommerce website. I would like to generate unique ETH address for each transaction. I'm genuinely curious what is the the best way of doing it? Potential solution ...
0
votes
1answer
41 views

Why cast address to address?

In defi contracts, I see codes like this address public constant dai = address(0x6B175474E89094C44Da98b954EedeAC495271d0F); What's the point of casting an address to address? Or is this just messy ...
1
vote
0answers
30 views

Deriving a Bitcoin Address from Ethereum Private Key

There have been many answers about how to derive an Ethereum Address from a Bitcoin private key, but a curious problem has led me to ask how one would do the reverse. I'm sure it's possible because ...
0
votes
0answers
15 views

What is impacting generated contract address? [duplicate]

What is used to generate contract address. I found this project https://github.com/johguse/profanity And I want to generate vanity contract address. If I understand correctly it not depends from ...
2
votes
1answer
830 views

how to get list of transactions history about specific contract address using web3?

I really don't know how to get a list of transactions history about specific contract address using web3.py and I use Infura HTTPProvider I just have only one 'contract address'. Can i get information ...
1
vote
1answer
47 views

Simple way to find the exact address / transaction by the part of the address / transaction hash?

Imagine I have only a part of the address, for example, 0xa2793n. The rest of the address is unknown. Is there any indexer, that stores this information in any suitable format, so I can find the list ...
0
votes
2answers
17 views

How to check if a particular address is already present in an array

I know a similar question has been asked before but I want to understand where am I going wrong in terms of logic for the code below. I am building a lottery contract where if an address has been ...
1
vote
1answer
145 views

TypeError: push is not detected as a function for address payable dynamic array

I'm trying to add the manager address to the playes array. I get the following error: TypeError: Member "push" not found or not visible after argument-dependent lookup in address payable[] ...
1
vote
1answer
52 views

How to find official smart contract addresses

Is there a directory somewhere that references official projects smart contract addresses ? I can't find a reliable way for finding smart contract addresses of public projects. The only solution I ...
0
votes
0answers
131 views

An ERC-1151 with two kinds of tokens, how to number them?

I have a potentially infinite set of each of the two kinds of tokens: seller tokens corresponding to Ethereum addresses; merchandise tokens corresponding to small uint256 values (item IDs). What is ...
1
vote
1answer
98 views

ComponentDidMount doesn' detect Metamask change account

I'm quite new to Web3 and Metamask and would like to ask how should I change the basic componenDidMount of the React truffle box so that it can detect and change accounts when I'm switching an account ...
0
votes
0answers
165 views

Gas requirement is infinite for the function

pragma solidity ^0.5.9; contract kyc2{ bool public isallowed; // Structure of customer struct customer{ string custname; ...

1
2 3 4 5
12