Questions tagged [addresses]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
165 views

mapping an address to several value

I want to map an address to two different field. which one is correct or better ? Approach 1 : mapping(address => uint256) balances_En; mapping(address => uint256) balances_PW; and to return ...
1
vote
1answer
346 views

Someone placed 7.77 VIN tokens into my MyEtherWallet account according to EtherScan, what can I do?

I use MyEtherWallet and a Ledger for my tokens. I check today that in Etherscan that 15 days ago some different address placed 7.77 VIN tokens and sent them to my MyEtherWallet address in my account ...
1
vote
2answers
82 views

Ico Contract Address Transfer About

I'm using this contract code and want to create ico contract. But when I create contract code and try to transfer eth I'm getting error. I can't transfer ethereum to ico contract address. Warning! ...
1
vote
2answers
204 views

How to verify if an address is an instance of the desired smart contract?

Given an address (in server-side javascript), is there a way to check that the address is an instance of a specific smart contract? I've tried using web3.eth.getCode(addr) for a recently deployed ...
0
votes
1answer
40 views

Ether Address returned is different (second half) from the one stored in contract's array

I have a simple setter and getter for address[] type array in a contract. I deployed the contracts on testrpc using truffle. Then in truffle console: truffle(development)> lot....
0
votes
1answer
166 views

Mapping an address to two balances

I want to map an address to two balances, because in contract, we have two types of token i.e. energy and power. Is following code is correct in solidity program ? mapping(address => uint256) ...
4
votes
1answer
133 views

Receive deployed contract address by transaction hash with JSON-RPC request

I want to receive deployed contract address by transaction hash. Transcation example - 0x996a683acd59a2ad17461f76ce0f387a89a5ac257ec5d667556219c6acc7f45a. As you can see this contract was deployed by ...
0
votes
1answer
343 views

Picking random ETH address

This question is not specific to Solidity but in general - if i would like to randomly pick some existing ETH address, how should i do that? For example, i wanna send some token to random ETH address, ...
0
votes
0answers
34 views

Is it possible an address would have two types of balance?

I have developed a smart contract such that there are two types of tokens i.e. energy and power. I need to transfer each of them separately to an account address and as a result each address needs to ...
8
votes
1answer
573 views

How could msg.sender != tx.origin AND extcodesize(caller) == 0 be true?

I'm working on a puzzle where msg.sender != tx.origin, so the implication is that the caller needs to be a contract or at least something in between the calling account. But extcodesize(caller) == 0 ...
4
votes
1answer
823 views

How to watch several ethereum addresses for transactions [duplicate]

I am wondering what the best way is to watch several (hundreds or thousands) Ethereum addresses at once for incoming transactions and send out the amount deposited once a transaction is detected. I ...
2
votes
3answers
119 views

Can I send data to non-contract address?

Metamask allows to attach data to any transaction. What happens if I send some data with some ETH to existing non-contract address? Is that data recorded on the blockchain? Can I read it later?
0
votes
1answer
44 views

What would happen to transfers to a contract address before creation?

If someone transfers funds to a contract address before I create the contract, what will happen to the funds when I create the contract? For example: Get address of future contract. Transfer funds. ...
0
votes
1answer
232 views

“Error: invalid address” for dapp, works on geth (Ganache)

I have a contract that creates another contract in a function. I am testing the contract using Ganache. When calling this function using geth, it works fine. But when calling it using my dapp (yeoman, ...
1
vote
1answer
261 views

Using ENS as address inside a contract [duplicate]

Is it possible to use a ENS name as an address in solidity, instead of having to use the usual long address? Example: address public _address = myname.eth;
1
vote
1answer
350 views

how to generate multiple accounts that all debit one single account at the end

I know that it is not possible to create multiple addresses that are bound to one ethereum wallet unlike in bitcoin. However, I am trying to create an ico page where each user should get unique ...
1
vote
1answer
669 views

How might you identify eth addresses with the same owner?

Given an ethereum address, how might you identify (or make a good guess) as to which other ethereum addresses belong to the same owner? Note: I'd come across some content that somewhat answers this ...
0
votes
2answers
75 views

Trying to compile a smart contract Error: Type literal_string

I'm learning smart contract, and I have a problem compiling one it gives me this error message: Error: Type literal_string "0x5c15741c7abb1b0e8fb0bd41b5ed8c17219926a1" is not implicitly convertible ...
2
votes
1answer
4k views

How to generate private, public and ethereum addresses using web3.py?

I want to know the process of generating the keys for ethereum using web3.py. How to generate the keys if I install my ether node. from web3 import Web3, HTTPProvider, IPCProvider web3 = Web3(...
0
votes
1answer
84 views

(SOLIDITY) Address in mapping - BUG?

Original post: Sorry I just found out this way it actually works. But the problem is when I trying to look up address manually, not by msg.sender. Code: mapping (address => uint) count; ...
0
votes
1answer
46 views

What should I share with my developer? [closed]

I have a stock exchange project that I hired to a developer. I'm okay with bitcoin but I am new to Ethereum. The developer is in the process of develop the Ether wallet. Like a regular stock market, I ...
1
vote
0answers
452 views

Whats going on with these mysterious ethereum addresses?

A while ago I found website ethersecret.com which turned out to be very interesting; it provides a search engine for ethereum private keys and their corresponding addresses and whether they hold any ...
0
votes
1answer
42 views

Paradox - I need two deployed contracts to refer to one another

I have two contracts. #1 creates tokens and sends them to my address. #2 does some other stuff. '#1 contains a reference to, say, 0xMyAddress (known in advance, of course) in order to grant it ...
3
votes
1answer
3k views

What does address(0) mean? [duplicate]

Referring to this link: https://theethereum.wiki/w/index.php/ERC20_Token_Standard looking at the last contract. (Line 130) function totalSupply() public constant returns (uint) { return ...
2
votes
1answer
272 views

convert padded topics address to valid address string

I am parsing some information from the topics array. I receive 32bit padded addresses in some indexes. Is there a web3 utility function or useful helper method to get these back into normal sized ...
1
vote
1answer
1k views

Can I see an example of a payable function in practical use?

I would like to see an example of a function modified as payable in practice. I would like for it to accept payment and hold the ether. I would like to read another function in the same contract that ...
2
votes
1answer
52 views

Can I know an address on another blockchain that was generated with the same key as an ETH address?

Let's assume another blockchain (blockchain ATH) uses the same protocol to derive addresses from private keys as the one used by Ethereum. If I see an ETH address then I know for sure that the ...
1
vote
0answers
25 views

How load out data from blockchain when it occupies too much space?

If the blockchain working long enough it fills the memory of the mining device, how to load out the data and then rerun the system? and why does my mining device has different miner address every time ...
1
vote
1answer
570 views

Find the public key of any ethereum account (that hasn't signed a transaction)?

I need to find the public key of a list of Ethereum addresses. Is it possible to do this only with the transaction hash of one of their transactions? Per Get public key of any ethereum account the v, ...
1
vote
1answer
15 views

Address Not Getting Stored Correctly in State Variable?

I am trying to write a contract where the originator of the contract will offer a reward that can only be claimed by a different address that she or he specifies. To do that, I am trying to create ...
4
votes
3answers
160 views

Can a contract control another address?

Say I have control of addresses A and B, and I am writing contract C. When I deploy C on the blockchain, it will have it's own address, that can send and receive ether. But I want to have a method on ...
2
votes
3answers
2k views

How store ETH in a smart contract

The question it's How store Ether in a smart contract. In first step, I try transfer the transaction value to the smartcontract address doing something y something like that: function storeETH() ...
2
votes
4answers
488 views

How to implement a watching wallet for thousands/millions of addresses

I need to check for customers' deposits and need to scan for receiving transactions for those addresses for Ether and in next step ERC-20 tokens. What's the most efficient way to do this with go-...
5
votes
3answers
1k views

Get address from public key in Solidity

The address is the last 20 bytes of sha3(publicKey) In Solidity, using assembly if needed, how could I splice the first 12 bytes from sha3(publicKey) and get the address? What I came up with runs out ...
2
votes
0answers
224 views

What exactly is an extended public/private key?

How do they differ per derivation level? For example is the extended public key of the master node equivalent for all intents and purposes as a depth 3 node's extended public key? Therefor can I ...
1
vote
1answer
83 views

How is excepting ether from a smart contract different than from a regular address?

We are implementing an ethereum payment for our customers and need to decide between deposits to a smart contract or individual customer addresses. What are pros and cons? Is it possible to hide our ...
4
votes
4answers
57 views

Find source of funds

Is there an automated way to discover the source of funds that were sent to a specific address? Theory: The EOS team releases 2m EOS tokens every 23 hours. See https://eos.io/instructions for more ...
0
votes
1answer
114 views

Wrong network used on metamask by mistake [duplicate]

I have bought some HUR tokens through metamask (transaction is confirmed) but cannot see the tokens in the wallet. I sent the ETH over main network, instead of rinkeby test network- what can i do??
3
votes
2answers
2k views

Get Balance History of address

In building an IONIC app, I am attempting to retrieve the historical balance of a single Ethereum address. I am currently not sure how far back I will need to go. I know that Etherscan.IO offers a web ...
6
votes
1answer
771 views

Why doesn't my private key's public key generate the correct public address?

Private Key: 9ccbcabf23e271183dbed503b43277f4c6eee9ac918cd6cda75ebb73ceb35c7d Corresponding Public Address: 0xa73Fb234B1773ed7b115D18A1f0a15579bA2C1e1 (check for yourself on MyCrypto, for example) ...
0
votes
1answer
456 views

Track owner and price in Ethereum Pet Shop

I've been following along with the Ethereum Pet Shop tutorial, and I'm fascinated by how all of this works. I have a few questions, though. Before I get into it, here's the code: pragma solidity ^...
3
votes
1answer
984 views

is it possible to have multiple address in the same account?

i mean : getting several payments from several addresses to the same account so i could send all the coins at once and not paying the fee for each transaction i'm willing to run ETH Node if necessary ...
0
votes
1answer
292 views

Stolen coins and hacked wallets

How do I track down the owner of an address that stole my wallet. I have the address need to follow up. My coins show up in their wallet.
5
votes
2answers
843 views

How to track payments to contract

Can I track received payments to smart contract on a block explorer or do I need to run a contract method for this? I need the amount and payment identification information (I need to identify the ...
0
votes
3answers
894 views

Export all addresses with a balance above a certain number

Is there a way to find/export all addresses with a balance above a certain number in Ether? Any service/API provider is available for above requirement?
0
votes
2answers
154 views

Contract function returns address?

Learning ethereum, I am hoping this is an easy one. I wrote a simple test contract contract Mini{ uint balance; // constructor // runs once upon creation function Mini(){ balance = 1000; } ...
7
votes
2answers
967 views

What is the ENS-BurnAddress?

I stumbled upon this Ethereum address. Etherscan calls it the ENS-BurnAddress. Currently, the account holds more than $9,000,000 US. My guess is that this is used to impose a cost on each bid so ...
0
votes
1answer
5k views

Multiple addresses on Metamask

First of congrats for the great work in the forum! I´ve tried to avoid posting but I can´t find the solution to my problem, this is causing me lots of stress and I really don´t know what else to do ...
0
votes
3answers
4k views

Web3j generate new address in a wallet

I'm using Java (web3j). I have some users and I want to give address to each user. How to generate new address in an ethereum wallet? For example I can generate lots of address from bitcoin wallet. Is ...
2
votes
1answer
2k views

What is an Ethereum address?

I am being asked to enter my Ethereum address, but I don't know what to put there and I already created an Ethereum account.