Questions tagged [addresses]

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

126 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
161 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 ...
5
votes
1answer
436 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 ...
4
votes
2answers
484 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 ...
3
votes
2answers
1k views

How to generate a new token for ERC1155?

Developing an ERC1155 contract, how to generate an address for a new token? I need to create an API function like function createToken() returns (address). How? Should I just use an incrementing-by-...
3
votes
1answer
313 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 ...
3
votes
1answer
273 views

Communicating between a Sidechain and a Mainchain

Side chains (see linked question ) can be seen as a blockchain attached to a "parent" blockchain using a "two way" peg. Smart contract addresses are generated deterministically(HD wallet style), but ...
3
votes
0answers
436 views

How to export extended (master) public key from MetaMask

I want to export extended public key for watch-only access to all ethereum addresses in the MetaMask HD wallet at once. It's very usefull for tracking of all portfolio/wallets in one place, especially ...
3
votes
0answers
252 views

How to transfer coins from Super Contract back to account

Some funds were mistakenly transferred to an ethereum based smart contract address instead to a personal address. Is there any way anyone (coin developers maybe) can transfer coins from this smart ...
2
votes
0answers
30 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. ...
2
votes
0answers
32 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 ...
2
votes
1answer
147 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-...
2
votes
0answers
303 views

Combine two addresses into one

I want Solidity code to define a function f that would map two Ethereum addresses A, B into a new address X = f(A,B) such that there is nearly zero probability that X is an already taken address (an ...
2
votes
0answers
232 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 ...
2
votes
0answers
132 views

How get public address from State Root leaf node (code inside)?

In article "Understanding the ethereum trie"is written that: For the state trie, the keys are ethereum addresses. So i obtain State Trie and in that trie I got Merkle Leaf node: ['9:', ' LEAF ...
2
votes
2answers
641 views

How to programmatically generate sub addresses using the root address in hd wallet?

And without using the private key. I've been digging into the ConsenSys's eth-lightwallet, although it uses a derived private key to generate the address which would expose the root private in danger. ...
1
vote
1answer
11 views

memory allocated to addresses

How many bytes are allocated to store an address in storage? In order to simplify my code I am considering using bytes32 as a generic data type to store addresses, strings and uint256, but this means ...
1
vote
0answers
32 views

How to get another address in Remix IDE

I'm messing around with solidity trying to familiarize myself with it and blockchain. So I have this simple dragon selling game. A user (targaryen) registers with a username and gets some dragons, ...
1
vote
1answer
26 views

How to concatenate an address to a string in solidity

I am trying to find the correct way to concatenate an Ethereum address to a string in Solidity v0.6.7 I tried the following but it did not seem to work : function append(string a, address b) ...
1
vote
0answers
21 views

Get address of contract

Is this the right way to get the address of a Contract, that is stored inside another contract: Example: import "B.sol"; contract A{ B private bContract; construtor(){} function ...
1
vote
1answer
27 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 ...
1
vote
0answers
17 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 ...
1
vote
0answers
17 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
0answers
64 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
0answers
59 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 ...
1
vote
0answers
45 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 ...
1
vote
0answers
163 views

What's the correct address of SNX?

That is, the address of the token used as collateral in the Synthetix ecosystem. I found two addresses: 0xC011A72400E58ecD99Ee497CF89E3775d4bd732F 0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F The ...
1
vote
0answers
73 views

address recovery from signature

Sorry for the long question, I tried to keep it as standalone as possible. For my master thesis I'm analyzing historical data coming from price oracles contract events. In particular, the MakerDAO ...
1
vote
0answers
18 views

getSender() is returning burn address

I'm not getting the same hash running this function function getMineDigest(uint256 challenge_number, bytes32 nonce) public view returns (bytes32 digesttest) { bytes32 digest = keccak256(...
1
vote
1answer
63 views

Different address make same signature for one message

Is it possible two different wallets (address) make the same signature for one message? I have one message: '...
1
vote
0answers
19 views

Any idea how to add new contracts into drizzle react app using the address?

I have a react app which creates new contracts. lets say A creates B. I have the addresses of the newly created contracts of B. How do i add the newly created contracts of B using its address to ...
1
vote
1answer
897 views

MetaMask - RPC Error: Error: WalletMiddleware - Invalid “from” address

I'm trying to create a simple Dapp (via tutorial) which would allow me to send Ether from sender to receiver (via a contract with an address that automatically approves the transaction). The truffle ...
1
vote
1answer
29 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 { ...
1
vote
0answers
107 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 ) => { ...
1
vote
0answers
55 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 ...
1
vote
0answers
95 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 ?
1
vote
1answer
204 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 ...
1
vote
1answer
591 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 ...
1
vote
1answer
1k views

ERC20 tokens transactions' history from Ethereum node

I have a parity node. I developed a web3.js interface on top of it. I have APIs whose job is to fetch addresses' balances and transactions. Example response of transaction API: { tx_hash: '...
1
vote
1answer
268 views

How can I provide an ethereum public address to each user registering on my website.?

is it possible to do using web3.js for a dapp that is going to be run on mainnet.? I have a requirement to assign valid ethereum address to each user who are registering on my website. I want this ...
1
vote
3answers
508 views

Transaction receiving ether from a contract address

Are transactions sending ether from contract addresses to normal addresses listed in block.transactions or are they not trivial to detect? If not in block.transactions than how to detect?
1
vote
0answers
546 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 ...
1
vote
0answers
27 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
0answers
168 views

Mist main wallet address changed after instalation

During the instalation of mist on a mac I get to the following screen: I then have to wait for synching to complete. During this time I can deposit ether into my wallet using Bitcoin or just use the ...
1
vote
0answers
716 views

I accidentally sent the same transaction twice because it was pending

I seem to have gotten myself in a bit of a pickle. I sent some ether to another one of my wallets. The gas price was too low and it was pending for hours. I read online that if you send the same ...
1
vote
0answers
508 views

MyEtherWallet - address doesn't match

Well, I'm pretty certain I' screwed, but I figured I'd ask for help just in case. I created one, and only one wallet on MEW. I was meticulous about saving my Private Key and address correctly. I ...
1
vote
1answer
674 views

C# - Convert Ethereum ABI Address To String (Solidity)

I'm new to Ethereum so please excuse my ignorance. Ethereum seems to have an ABI serialization protocol called Solidity. The spec is here: https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI ...
1
vote
0answers
152 views

How to collect addresses with a specific token

I run a local eth node on my server and would like to collect all addresses which hold a specific token. In addition I'd like to supply them with another token. One way I researched is to send them ...
1
vote
0answers
261 views

Link a profile page to an ethereum address?

If I have made a page with meteor where a user can login and see his own personal profile page, is it then possible to link that profile page to an ethereum address, so the user can update his profile ...
1
vote
2answers
723 views

Problem to use an address within a contract. Error: invalid address

I have a private blockchain. I am creating a contract and then I am calling a function that returns the main account. I have the error calling this function. This is the contract creation code: var ...
1
vote
0answers
220 views

How to convert Ethereumj byte arrays to Strings?

Ethereumj gives a lot of byte arrays, when the equivalent would be a string in Bitcoin. A few examples (in Scala) ECKey.getAddress // returns Array[Byte], need String Transaction.getHash // returns ...