Questions tagged [addresses]
Addresses are the particulars of names, domains or accounts on the blockchain.
169
questions with no upvoted or accepted answers
7
votes
2
answers
228
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
2
answers
594
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 ...
3
votes
2
answers
428
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-...
3
votes
0
answers
628
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
0
answers
262
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
1
answer
195
views
How to view contract source code from ABI, address and bytecode?
I have the address and ABI of a contract. I can also view the bytecode from that address on Etherscan but not the source code. Is it possible to get the contract source code using these information?
2
votes
2
answers
214
views
I want to get Public key from transaction
I want to get public key from transaction.
For example, TXID : 0x191095343fd26cbb4c58996aa6512d5cdf43281d565072bab8d0d5ea9e3d644e
I have tried "Get Raw Transaction Hex" in etherscan and use ...
2
votes
0
answers
138
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
0
answers
89
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
0
answers
182
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 ...
2
votes
0
answers
247
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 ...
2
votes
0
answers
566
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
0
answers
159
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 ) => {
...
2
votes
0
answers
239
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
0
answers
151
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
2
answers
703
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.
...
2
votes
1
answer
702
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
0
answers
112
views
Getting tokenID from wallet address in ERC721
I'm fairly new to solidity and especially token contracts, so please correct me if I'm missing something obvious.
I am currently working on my own implementation of ERC721 token (using ...
1
vote
1
answer
194
views
how to deploy the smart contract in brownie
Error: Final argument must be a dict of transaction parameters that includes a `from` field specifying the address to deploy from
Terminating local RPC client...
smart contract:
pragma solidity ^0.5....
1
vote
0
answers
33
views
how do exchanges move their users assets?
do big exchanges move their users assets from HD wallets different dresses to a main wallet address ? to eventually move it to cold wallet ? if the answer is YES how do they do it? that's a lot of on ...
1
vote
1
answer
266
views
How to set the receiver of ETH in a contract to send ETH from one address to another with solidity usign call() in remix IDE
I'm starting to learn solidity, and I'm trying to build a sendEther contract where some address sends an amount of ether to another address. I'm building it on remix, and I'm having trouble while ...
1
vote
0
answers
49
views
update ENS subdomains based on votes
Let's say I use ENS to assign a domain name to an IPNS address. This address would point to a json object like the following:
{
"stakeholders": ["address_of_sh_1", "...
1
vote
0
answers
160
views
Can I verify if given address is a correct ETH address using web3j/Java?
Is there a possibility to verify if given String is a correct Ethereum address?
I have found out that there is a possibility to do that using web3js I can do either:
web3.utils.isAddress('...
1
vote
1
answer
54
views
Would appreciate help opening a wallet with only the recovery phrase
I am the proud owner of this wallet: 0xb34e464673ee9867E330FBef628b7571a169fe74
But I can't get to my funds. Even though I have the recovery phrase. I installed Metamask in my browser and used it to ...
1
vote
0
answers
105
views
Is it bad practice to store contract addresses as state variables?
So, here's an example.
Say there is a dapp that has contracts A and B, and B has a function that calls a function in A.
In order for B to access A's code, B store A's address as a state variable, as ...
1
vote
0
answers
345
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
0
answers
185
views
Calling the fuction GetEthToTokenInputPrice
Please help since I'm getting furious over this problem.
I deployed a contract to the ropsten network, and am trying to call a function getEthToTokenInputPrice to see if it worked through solidity. I ...
1
vote
0
answers
59
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
1
answer
83
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
0
answers
22
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
0
answers
94
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
0
answers
83
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
0
answers
86
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
0
answers
201
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
0
answers
22
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
1
answer
92
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
0
answers
31
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
1
answer
1k
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
1
answer
56
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
0
answers
113
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
0
answers
101
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
1
answer
260
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
1
answer
945
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
1
answer
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
1
answer
414
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
3
answers
622
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
0
answers
610
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
0
answers
28
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
0
answers
177
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
0
answers
943
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 ...