Stack Exchange Network

Stack Exchange network consists of 174 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
1answer
12 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
21 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
25 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
15 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
19 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
39 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
179 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
90 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
27 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
22 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 ...
-1
votes
0answers
15 views

Geth Core Development - How to retrieve addresses written in the genesis block?

I am currently trying to retrieve the account addresses that are stored in the genesis block as seen in the alloc section here: { "config": { "chainId": 15, "homesteadBlock": 0, "eip155Block": 0, ...
0
votes
0answers
48 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
33 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
99 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
86 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 ...
5
votes
2answers
232 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
1answer
64 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; ...
2
votes
1answer
54 views

Address checksum Solidity implementation

Looking at EIP-55, there are quite a few client-side address checksum implementations provided but no Solidity implementation. Are there any existing examples of computing address checksums directly ...
1
vote
1answer
35 views

Problem with push

This is my code. When i push address into participants the length is zero. Why? pragma solidity ^0.4.0 contract Registration { address public owner; uint threshold = 2; address [] ...
1
vote
1answer
38 views

How to gather all addresses of nodes in a private network?

I am currently learning core-development in go-ethereum. I am a little weak with networking, RPC and connections. I am trying to write a function in my own consensus mechanism that gathers all ...
2
votes
1answer
19 views

How do I find the token address as on line 11 in etherscan

How do I get the token address for a token as stated on line 11? Got blocked out of Token.store by S.E.C. action having a U.S. IPS I asked their support and they said the following: If your account ...
0
votes
1answer
19 views

Does contract address support uppercase? [duplicate]

Does it support uppercase in web3.js? I write and deploy a test contract on rinkeby 0x7b84de0c31d308b42427d562306526e3eb95c825 if I change it to uppercase it return error Attempting to run ...
1
vote
1answer
29 views

Byte32 error, even after converting string to hex

I looked everywhere for people with similar problems, but I couldn't find anything. I am confused why I keep getting this error (yes, I know others have had this error too, but not for the same ...
0
votes
2answers
39 views

How can I build this list of addresses

An investment round ask new investors to put exactly 0.1 ether to enter the round. function invest() public payable { require(msg.value == 0.1 ether); } How can I save every new investor ...
1
vote
1answer
24 views

Use DNS TXT records for wallet address resolution?

Are there any Ethereum wallet projects using DNS TXT records to resolve wallet addresses? Setting a TXT record would allow users to have a human readable wallet "address", eg $ dig example.com TXT ...
1
vote
1answer
35 views

How to generate address from xpub in JS?

How to generate address from xpub in JS? Should i use BIP39 or 44? If yes, how exactly?
0
votes
2answers
75 views

Trouble connecting to web3 1.0 through web browser using Infura.io

I am trying to connect to web3 1.0 through a web browser, I dont see much documentation for 1.0 though. This script says im connected but I think its the previous version as anytime I try and run a 1....
1
vote
1answer
48 views

Query a block explorer to return the balance of a specific type of token in an ethereum address? [duplicate]

Is there a block explorer where one can query an address and it outputs the balance of a specific type of token? Is there an example of how this can be done?
1
vote
1answer
28 views

Provide security wallet

I have a service where users can buy my product. Besides paying by card, I want to be able to allow users to pay in ETH. I think that it will correctly generate addresses for each user so that it is ...
-1
votes
0answers
16 views

Why does ENS's public resolver have a setPubkey function?

The contract at 0x1da022710df5002339274aadee8d58218e9d6ab5 has a setPubkey function, which I assume takes the x and y-coordinates of an ellptic curve (secp256k1 public key). Most guides tell the user ...
2
votes
1answer
90 views

Create Accounts Using Web3.js in Browser

TL;DR - Replicated Ethereum Blockchain. Running Local Node. Connecting Local Node to Web3.js in browser using RPC. Want to create addresses & send transactions Details - I have a blockchain that ...
2
votes
2answers
197 views

How is it possible for 0x0000000000000000000000000000000000000000 to send out ERC-20 tokens?

Isn't 0x0000000000000000000000000000000000000000 a burn address where no one has private key? If that is the case, how can this address send tokens to other addresses? If you look at Etherscan's ERC-...
1
vote
1answer
24 views

How to get two points (x, y) from an encoded pubkey?

this gives a valid address from two points; address(uint256(keccak256(abi.encodePacked(point[0], point[1]))) & 0x00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF); but does that mean that if you are ...
1
vote
1answer
59 views

web3.py manually derive address from public key string [for dummies]

Let's say I need to derive the address from a public key string. 0xbb8250cc01a0afa7dcaee987b2adda8d1b0a0bb2f7cc427bd942a98c7837364d62e6ea4728a99db39fd55a6f7474a159ca88a96b40279044a1349a2280c8cd43 ...
0
votes
1answer
22 views

Smart contract balances question

I have a few questions regarding ETH and token storage. Is it a good practice to store ETH on smart contract address in case only owner is authorized to withdraw it? When deploing smart contract, do ...
0
votes
1answer
44 views

Create accounts on ethereum network using programmatically generated key pairs and addresses

Say I have a node application that has user registration feature. Now when a user registers, using node libraries like crypto I generate a cryptographic key pair(private and public). Then also ...
1
vote
1answer
65 views

How to have an address inside a solidity Struct?

My problem Suppose I have this struct: struct TextThatWorks { bytes32 text; uint reads; } How can I add a address variable to it? What I tried I tried simply adding address ...
3
votes
1answer
210 views

Set default address in web3?

I've tried to change the value of defaultAccount on web3.min.js from void to an address, but it didn't seem to work and web3.eth.defaultAccount remained undefined when I called it from the console. ...
0
votes
2answers
33 views

From where this Ether came from?

Let's have a look at this address on Etherscan: https://etherscan.io/address/0xfbe0aFcd7658BA86be41922059dD879C192D4c73 First transaction is a Smart Contract creation, that costs about 15 ETH. Can't ...
1
vote
1answer
21 views

Is attaching a name to an Ethereum address a “faux pas?”

I'm currently working on a DApp right now, and I was curious if it's considered poor design to include a string with the user's name that is mapped to a particular address. A user who has access to ...
4
votes
1answer
83 views

What are 'payable' state variables?

https://solidity.readthedocs.io/en/latest/solidity-by-example.html#simple-open-auction pragma solidity ^0.4.22; contract SimpleAuction { address payable public beneficiary; What exactly does ...
2
votes
2answers
56 views

send() or transfer() functions always fail

I created a few code below pragma solidity ^0.4.19; contract SendAndTransferExample { function SimpleSendToAccount() public returns(bool) { return msg.sender.send(10000000000000000000); ...
0
votes
2answers
252 views

How to test contract with multiple accounts / addresses in truffle?

I want to test my truffle contract with multiple msg.sender addresses. Like "the first user sell token, the second user buys this token". For one address I simply write something like contract.buy....
2
votes
1answer
58 views

How does a contract know which library to query or know the library address?

How does a contract know which library to query? For Example in the code below (The code is from solidity docs: https://solidity.readthedocs.io/en/v0.4.24/contracts.html?highlight=library#libraries ...
4
votes
2answers
154 views

Updated: Is it possible to hide the sender or receiver of transactions by “zk-SNARK” or “Bulletproofs”?

To support the user privacy, is it possible to hide the sender address or receiver address of transactions by "zk-SNARK" or "Bulletproofs" ? Or we’ll be able only to hide the value that is mapped to ...
1
vote
1answer
32 views

What does the logger's address mean in Ethereum yellow paper?

In the Ethereum yellow paper Page 5 says that the log entry O consists of (O_a,(O_{t0}, O_{t1},...),O_d). And O_a means the logger's address. What's the meaning of logger's address? Does it mean the ...
1
vote
1answer
92 views

How to retrieve holdings by address by token? [duplicate]

One can find on etherscan, for any token, the list of holdings by address. I would like to retrieve this info programmatically. Does the etherscan API enable us to do this? If not, what is a good ...
1
vote
1answer
40 views

Can't withdraw from Crowdsale multiple times

I'm using a crowdsale contract (listed below) and on Ropsten network I just set founding goal to 1ETH send it to crowdsale address and then I can withdraw to beneficiary address but when I send ETH a ...
1
vote
1answer
98 views

How to get the address of a contract deployed by another contract?

// deploy a new purchase contract function newPurchase() public payable returns(address newContract) { Purchase c = (new Purchase).value(msg.value)(address(msg.sender)); contracts....