Questions tagged [addresses]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
2 views

Accidentally sent DAI to Compound contract address

I withdrew DAI and accidentally pasted the wrong address as the destination, and ended up sending it to the cUSDT contract address. Is there any way to get these tokens back? the contract code is here
1
vote
0answers
24 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
14 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
1answer
24 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 or an associated ...
0
votes
0answers
11 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
37 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
15 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
27 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
19 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
44 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
27 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
15 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
39 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
21 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
103 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
19 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
31 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
21 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
13 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 ...
1
vote
1answer
172 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
22 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 ...
0
votes
1answer
46 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
18 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
37 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
62 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
102 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; ...
0
votes
3answers
32 views

Get a blank address

I have a little problem with my code. I'm trying to follow who are the current sender and the previous sender of a transaction respectively with the variable currentSender and lastSender, and then ...
3
votes
0answers
906 views

How to select a different Metamask address when using Uniswap?

I want to use Uniswap with my hardware wallet. So I go into my Metamask wallet, connect to my hardware wallet, I see my coin balance, then I open Uniswap. The trouble is that Uniswap is showing an ...
0
votes
0answers
36 views

Splice an Address

So in javascript I can take a string such as yourString[7] and get the 8th character within that string returned to me in string format. I want to take the last character in an Ethereum address, be an ...
0
votes
0answers
32 views

Can a smart contract create a wallet address?

Say I'm writing a staking smart contract (Staking Contract) but I don't want it to be taken advantage of by whales (ie YVault) so I would like to limit the deposit amount per address to 1000 eth. ...
0
votes
1answer
33 views

Understanding addresses of contracts (when they deployed twice)

I just have a quick question about addresses of contracts. If I want to make a contract to transfere tokens, how do I get the correct addresses of the token I want? For Exsample: function transfer() ...
0
votes
0answers
55 views

How do I put an Ethereum address in an HTML link?

I'm sure I've seen this done, but I cannot for the life of me remember where. I'm writing a simple HTML page, and on it I'd like to have an Ethereum address as a clickable link, so people with Web3.0-...
0
votes
0answers
33 views

truffle solidity unit test modifiers: How do you test modifiers dependent on the sender account?

QUESTION: How do you write unit test code that would test that a non-owner can't execute a function modified by a requirement that they be the owner using in solidity and truffle? I am trying to write ...
0
votes
1answer
27 views

How msg.sender address gets generated in smartcontract?

msg.sender (address): the sender of the message (current call). Considering a scenario where a user uses a smart contract and try to perform a transaction. For that particular user msg.sender is the ...
0
votes
1answer
51 views

How can a Smart Contract pull an amount of Ether equal to its own balance from an External Account?

I'm writing a 2 Player Game. Rules: Player 1 must place a bet (and send some ether to the contract). Then, Player 2 must match the bet placed by Player 1, and send the same exact amount of ether to ...
0
votes
1answer
18 views

How much Ether does a Smart Contract Address hold before a Payable Instantiation?

The following code always reverts to "Contract must be empty". But shouldn't address(this).balance == 0 if the contract hasn't even been instantiated yet? Maybe since the contract doesn't ...
0
votes
0answers
41 views

Can a new deterministic address be generated with only an Ethereum public key?

BIP-32 defines a way to generate a new address with only knowledge of only the public key for that wallet Deterministic wallets ... permit schemes where one can calculate the public keys without ...
0
votes
1answer
219 views

How do I get a list of tokens held by an Etehereum address?

TL;DR: wanted: a method that receives an address as a parameter and returns an array of token names/contracts/balances held by address. I'm aware of the fact that Etherscan API has a method allowing ...
0
votes
1answer
22 views

When using mapping, why use an address over bytes32?

From an end user standpoint, they will never want to use the address for searching for mapped data when they could just submit a username for function parameters, so is there any specific reason why ...
0
votes
1answer
56 views

how different users write their data in ethereum network?

How a number of blockchain users save their data in the blockchain network using ethereum. Meaning more than one user sends his data using Python to save it in blockchain networl ?? How do I ...
0
votes
2answers
71 views

How do I give every user Ethereum an address and does it affect security

I have a project with Ethereum Blockchain the users send the data to the server and the server writes the data in the blockchain network My question is how do I represent the server in the smart ...
0
votes
1answer
20 views

What is the difference between coinbase address and normal address?

i am unable to find the difference between these two addresses. Do coinbase address also change after each transaction?
0
votes
1answer
168 views

Invalid address

I deployed my contract in ganache. When I was started to call a function with two arguments I started getting an error. I used an address from ganache. Error: invalid address (arg="user", ...
1
vote
1answer
64 views

eth_getLogs was only return erc20 tokens

i have used below command to get every logs on the special blocks but its only return erc20 token logs and ethereum transactions was not listed. my geth command: curl --data '{"method":"eth_getLogs",...
0
votes
1answer
78 views

Why eth_getLogs returns empty result for Ethereum account address?

I'm developing an Ethereum platform and need to fetch the events log of a desired address. I found a code like this: curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getLogs","params":[{"topics":...
1
vote
1answer
37 views

Someone Please Explain this “The concept of payable and non-payable addresses only exists at compile time not after the contract is compiled” [duplicate]

Actually I was reading this Answer https://ethereum.stackexchange.com/a/64109/55286 . And this person says The concept of payable and non-payable addresses only exists in the Solidity type system at ...
0
votes
0answers
23 views

function not found or not visible

I am trying to test different ways of invoking methods of other contract i.e. through an object (works) and through the address (not working). pragma solidity ^0.5.1; contract test1 { function f(...

1
2 3 4 5
12