Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [addresses]

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

0
votes
0answers
15 views

I accidentally sent ETH token REN to the contract address. Can I get it back? [on hold]

I sent my REN to the contact address by mistake. (0x408e41876cccdc0f92210600ef50372656052a38) Please help. I was meant to send it to my REN funds address While using my Ledger I mixed up the contract ...
0
votes
1answer
22 views

How to choose contract address and wallet address

When you start an ICO, to receive a fund from people for your ICO, how do you choose the contract address and your wallet address to receive ETH collected for your ICO? Thank you. And excuse me for my ...
0
votes
1answer
23 views

How can I push data to array when using mapping (address => address[]) mappingName?

What is the exact syntax to push data using the above given syntax?
0
votes
1answer
33 views

How do I get the address from a signature?

As stated in the question, I have the v, r and s values of a signature given and am trying to find the belonging address. All questions similar to this solved it by either using a solidity smart ...
0
votes
0answers
21 views

Why does return address(player) return a weird string?

I am trying to get the player's address through front end and when I run through the solidity function that should return the player's address, it would return ...
1
vote
1answer
40 views

Enigma “secret contract” and concealing transactions history: How is it possible?

Enigma protocol is a second-layer, off-chain network that aims to solve privacy issues in blockchain. However In Enigma blog, there is an article (Link to Article), explaining the secret contract, ...
0
votes
1answer
11 views

can I return an address from a contract interface instead of another contract?

for example i have a contract function that returns a contract, can I define an interface that calls that function, but only returns an address? contract foo { .... .... } contract bar { ...
2
votes
3answers
48 views

How to generate an ethereum address?

How an EOA, contract address can be achieved? What is an mechanism for generating these?
1
vote
1answer
39 views

Convert 64 byte public key to 20 byte address in Solidity

I am trying to convert a 128 characters hex encoded public key to an address in Solidity (0.5). For example the pubkey would be: ...
0
votes
1answer
16 views

how to generate multiple ethereum addres using Hd wallet?

const mnemonic= 'clown shiver beach wheel this mixture emotion illness fatigue amateur talent bitter' console.log(0x${hdwallet.derive(m/44'/60'/0'/0/0).getAddress().toString('hex')}) const seed = ...
0
votes
2answers
22 views

is account nonce network dependent?

In Ethereum, is Account nonce depends on network? I mean for same address on different network, will there be different nonce?
1
vote
2answers
65 views

I found 4 very similar wallet addresses. How is this possible?

These are the addresses: 0x7cB57B5A97Eabe94205c07890BE3C1aD31E486A8 0x7Cb57B5a97EaBe94205c07890bE4C1aD31E456a8 0x7cB57B5A97eAbe94205C07890BE4c1aD31E486A8 0x7CB57b5A97eabe94205C07890beaC1aD31E486a8 ...
1
vote
2answers
34 views

find out network using contract address

I know that in Ethereum, same addresses works across the network(mainnet and all testnets). But I am looking to know if there are any chances to find out the network on which a contract is deployed ...
0
votes
1answer
29 views

msg.sender 'spoofing' when function is public or external

I have a Smart contract where I want only the onwer to call a specific function, for example: function getInfo() view public onlyOwner() returns (address) { return msg.sender; } ..... modifier ...
0
votes
0answers
13 views

Is there a service to email or alert me for ONLY incoming transactions to my address?

Is there some type of service that can monitor my account for only incoming transactions to my address? I found a few, but they also email me when I send something out which can be annoying.
0
votes
1answer
30 views

What DSAuthority(0) and eos.owner() means and does?

In ERC20 EOS crowdsale contract, what these three lines(469-471) does? function initialize(DSToken eos) auth { assert(address(EOS) == address(0)); //[Someone explained this line here][...
0
votes
1answer
10 views

Is it likely to receive more token airdrops to one of the original Ethereum addresses from the crowdsale?

Is it likely to receive more token airdrops to one of the original Ethereum addresses from the crowdsale? Hi there, I participated in the original Ethereum crowdsale and I used to store a certain ...
1
vote
0answers
30 views

Ecrecover wrong address is returned

I'm trying to validate signed data with ecrecover. The message is signed like this on the FE: return this.web3.eth.personal.sign( `${nonce}`, publicAddress ).then( ( signature ) => { ...
0
votes
2answers
33 views

truffle pet shop example question(address convert) [duplicate]

I have some question about truffle pet shop example ,here is the original link pet shop, when I work this command:truffle test , and I have some compile problem. here is original code: I have some ...
0
votes
1answer
162 views

A solidity 0.5.x function to convert adress-string to ethereum address

I'm looking for a Solidity 0.5.x compatible function to convert a string with and address like "0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe" into a real address. I did use this function: function ...
0
votes
0answers
48 views

Generate derivated address from xpub

I managed to get Bitcoin addresses from xpub using bitcoinj with this code : DeterministicKey hd = DeterministicKey.deserializeB58("xpub...", MainNetParams.get()); DeterministicHierarchy hi = new ...
0
votes
1answer
98 views

Initial ERC20 Token supply split into 2 or more hardcoded addresses

don't know if someone can help me, but let me explain my problem. For more transparency in my ERC20 token generation smart contract, I want to hardcode the Team Pool (0xA) and Crowdfunding Pool (0xB) ...
1
vote
2answers
60 views

Check if a variable exists in external contract

kinda new to the development side of Ethereum. Been searching around for days but can't seem to find an answer for my specific case. I'm trying this challenge here. The problem is that I can't seem ...
0
votes
1answer
27 views

Revert Assert best option

I have a contract(A) function with the standard onlyOwner access. If I call directly from the deployed account the function works fine. But when I import this contract(A) into another contract(B) and ...
0
votes
0answers
36 views

How to pass the whole array from one contract to another when working with different solidity files?

For example, I am taking one function function transferAddresses() in my contract contract one{} from where I am taking number of addresses in array. Now I want to transfer the whole data of the array ...
0
votes
0answers
22 views

Contract deployed address

Is there a way to save the deployed contract address into a variable. Something related to a constructor that save the deployed address into the variable?
1
vote
1answer
182 views

Type contract is not implicitly convertible to expected type address

what is the wrong with this function i can't get the address of LenderRegistration contract mapping (address=>address) lendersToContracts; function lenderRegister(uint256 ...
0
votes
1answer
28 views

How to map one to many

I am working on rent agreement and I have a situation here One landlord can have multiple properties every property have different details (property details, values) now I want to link property ...
0
votes
2answers
239 views

Convert contract to payable address

Not sure how to successfully convert a contract to a payable address.. ERC721 public nonFungibleContract; function withdrawBalance() external { address payable nftAddress = address(...
0
votes
1answer
21 views

Unable to resolve TypeError

I'm looking to ensure that an address is not the 0 address and with the update to 0.5.0 I am running into a TypeError Operator != not compatible with types contract GeneScienceInterface and address ...
1
vote
1answer
44 views

Solidity : Error when pushing an address into a dynamic address type array

I'm trying to insert an address into an address type dynamic array. It works well when I do the operation inside a function. There are no errors and the elements are properly pushed into the array. ...
1
vote
1answer
20 views

Problem with array of adresses

I have following code of my smart contract, it has simple problem: browser/Referrals.sol:100:35: TypeError: Type function (uint256) pure returns (address[] memory) is not implicitly convertible ...
0
votes
2answers
41 views

Find the address of the wallet know almost all the letters

I want to find ethereum address and I have almost all the letters. The beginning of the wallet: 0xb6b2ceb624a6b667e67af1893b16706baec21 But how can I find remaining letters?
0
votes
1answer
86 views

Changing “proxywallet” in “local.config” in ethOS, but I receive mining reward in previous address

I've changed my proxywallet from proxywallet 0xB4... to proxywallet 0x5B... in the local.config file. However, I received mining reward again in previous address: 0xB4... . Do I need to restart the ...
0
votes
0answers
86 views

Recover public key from transaction signature

I have this transaction: {"blockHash":"0x163ad564b32bf17db9262391c2c9a5f191e4fd0b098ae5ce9d2e3 e7dcde4bd70","blockNumber":"0x2","from":"0x55d40a83b8445c004df5964ce4a0e261b599c01a","gas":" ...
0
votes
1answer
12 views

How do I get product/parcelID from particular Assigned address using struct and mapping?

struct Sellers{ address sellerAddress; uint parcelId; uint parcelPrice; } In this struct I've entered multiple parcel Ids to sellerAddress and I've retreived them using _sellerAddress. ...
1
vote
0answers
32 views

Is there a way to figure out if 2 (or more) address is belong to same HD Wallet account or not?

I'm a new to Wallet concept, I know that a HD Wallet structure is created from a root seed as Mnemonic Code, from that HD Wallet help to generate child keys as the meaning of multiple difference ...
0
votes
0answers
17 views

How to set an address where the reward will go in `ethOS`?

How to set an address where the reward will go in ethOS in a miner rig ?
1
vote
0answers
28 views

What useful information can we get from ethOS mining log?

What useful information can we get from ethOS mining log information ? For example, can we find the ethereum address of this miner from this log information ?
0
votes
1answer
375 views

Solidity 0.5.x - make address array payable

I'm trying to write a contract that uses an address[] array which should contain payable addresses. But apparently creating a payable address array doesn't work in solidity 0.5.x. All I'm trying to ...
1
vote
1answer
789 views

TypeError: Data location must be “memory” for return parameter public view returns (address[16]){

I know that is question has been answered in one form. However, I could not find an answer for my specific case. Here is my code: pragma solidity ^0.5.0; contract Adoption { address[16] adopters; ...
5
votes
1answer
100 views

How to view ENS name from transaction?

This is ethereum address. On which there are a bunch of registered ENS names How can we view the actual ENS names which were registered/won in auctions from this address?
1
vote
1answer
29 views

Does a storage array have a unique address on the block-chain?

The question in the title is a little vague, so I will try to explain here. Suppose I have a contract with a storage array: pragma solidity 0.4.24; contract MyContract { uint256[10] public ...
0
votes
1answer
34 views

Watch an Ethereum address for incoming payments

I want to watch a set of Ethereum contracts and be notified (preferably by email) when a contact receives a payment to it. I prefer me not to write my own software for this and not to install it on ...
0
votes
0answers
168 views

Quorum transaction not mined and no address

I am running a private Quorum chain consisting of 3 nodes with raft consensus. When I deploy a contract to the chain via web3 I get returned a hash and can then look up the transaction with the local ...
1
vote
1answer
46 views

How does Transactions work in Ethereum Virtual Machine?

While reading the transactions sections of EVM documentation many questions raised in my head: If the target account is not set (the transaction does not have a recipient or the recipient is set ...
1
vote
5answers
230 views

Can I easily generate a public address which has no private key?

I might be wrong in some of the facts that I state here, so please correct me if necessary. My understanding: Private key - 256 bits Public key - 256 bits Public address - the last 160 bits of a ...
1
vote
1answer
146 views

Recently upgraded Solc and Web3. Transactions with zero addresses now reverting with “invalid address” message?

I recently upgraded Web3JS and Solc. Now every time I pass a zero address to a Solidity contact method the transaction reverts with an "invalid address" message. This message appears to be coming ...
10
votes
2answers
2k views

What's the difference between 'address' and 'address payable'?

I saw a Solidity smart contract where some variables were declared with the type address and some were declared with the type address payable. What are the differences between the two? Do they store ...
1
vote
2answers
349 views

Unable to return address array in solidity

I have the following code for a simple gambling game. The code works fine except for getPlayers function pragma solidity >=0.4.22 <0.6.0; contract Lottery { address payable public manager; ...