Questions tagged [addresses]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
22 views

Why does etherscan show such unusual results for the creation of this specific contract?

Normally, when I browse for the address of a specific contract and then click the contract-creation transaction label, I get: To: [Contract 0x... Created] For example, consider the BNB contract at ...
0
votes
1answer
30 views

ICAP 34 characters long. What's this kind of ICAP?

My understanding is that an ICAP address will have 33 characters for Direct or 35 characters for Basic, thus I've generated some 34 characters long ICAP addresses using: helpeth keyGenerate In ...
1
vote
2answers
15 views

How to check if an address is an active contract in Vyper?

Often for security reasons I want to limit certain address parameters to non-contract addresses for certain functions in my contracts, ie. there are no code stored on the addresses passed in as ...
0
votes
1answer
20 views

One smart contract deployed on 2 nodes will have same address?

Let's get creation of a smart contract address out of the way: The address for an Ethereum contract is deterministically computed from the address of its creator (sender) and how many transactions ...
0
votes
1answer
12 views

Address Payable and New Contracts

The following compiles in 0.4.26, but not 0.5.0. The error is "Type contract CustList is not implicitly convertible to expected type address." I figure it's something with address payable, but I have ...
1
vote
1answer
23 views

How does EIP-55 prove a string is ACTUALLY a valid Ethereum address?

I wonder how EIP 55 check proves an address is actually an Ethereum address, or does it prove this at all? Am I missing an obvious point in Vitalik's code below from EIP 55? from ethereum import ...
0
votes
0answers
14 views

After generating Address, how to checksum it? [duplicate]

After generating address for example "0x8c1821a90ecce75ec2901633b2c9164cf9406b54" what is the algorithm to generate checksummed address to "0x8C1821A90EcCE75ec2901633b2c9164CF9406B54". Although, There ...
2
votes
1answer
79 views

0x0000000000000000000000000000000000000000 address behaviour

I have a question about the possibly strange behaviours of address: 0x0000000000000000000000000000000000000000 We know that: ETH + ERC20 tokens sent there are burnt Upon creation of a new smart ...
1
vote
1answer
14 views

Scope Issue: Not successfully storing accounts after using web3.eth.getAccounts()

I am having trouble with the following code: var accounts = [] let accounts = await web3.eth.getAccounts((error, result) => { accounts = result; console.log(accounts); }); console.log(...
1
vote
1answer
16 views

Find keyfile of an account

I have several accounts in my Geth wallet. I need to locate the keystore file of a given account but there doesn't seem to be any connection between the keystore file names and the accounts. How do I ...
2
votes
1answer
43 views

Convert address to string after solidity 0.5.x

After solidity 0.5.x release none of conversions from address to string appear to be working. I've tested all of them on remix and got errors like converting bytes to uint or something like this. ...
0
votes
0answers
26 views

The reasons behind using public/private and addresses?

I understand that we need a public/private key so anyone can sign a message and miners can verify the signature using the public key. But, In this Question Relationship between Ethereum Address and ...
1
vote
1answer
34 views

How can I send ether [duplicate]

Hey guys I am a beginer on Solidity. I write a function and try to send ether on remix accounts and check balances this accounts. But I can't connect accounts I think because when I check balance of ...
0
votes
2answers
43 views

Unused function parameter. Remove or comment out the variable name to silence this warning

I have a smart contact which have 2 owner address and 3 functions. my set functions is set a users with msg.sender and my getUser functions is returns name,surname and age and I want to add a admin ...
0
votes
1answer
32 views

Member “name” not found or not visible after argument-dependent lookup in string storage ref

I have code like this and I want to set my name, surname and age in my struct so I want to set them and get them using with my functions here's my code : pragma solidity >=0.4.0 <0.7.0; ...
0
votes
0answers
22 views

Are there any examples of ETH addresses that periodically send or receive funds at regular intervals?

I'm looking for any known ETH addresses that send or receive money at regular intervals. For example, once per day, an amount from a hot wallet might be sent to a cold wallet. Are there any widely ...
0
votes
1answer
35 views

member not found or not visible after argument-dependent lookup in mapping

pragma solidity >=0.4.0 <0.7.0; contract New{ mapping(address => string) public users; string name; address[] public userAddress ; //string[] public userNames; ...
0
votes
1answer
53 views

Type string memory is not implicitly convertible to expected type struct InsanFactory.User storage ref

pragma solidity >=0.4.0 <0.7.0; contract InsanFactory{ struct User{ string name; address myaddress; } mapping(address => User) public userStructs; ...
0
votes
1answer
15 views

Is possible for a contract to manage and hold different address and its balance for different erc20 tokens?

Imagine an exchange contract to store and handle different accounts for different buyers and sellers, it is possible for a contract to manage and hold different address and its balance for different ...
0
votes
1answer
69 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
85 views

Solidity: Convert from “bytes memory” to “address”

I'm using solidity 0.5.0 and when i try to compile my contract it's giving me this error Explicit type conversion not allowed from "bytes memory" to "address" my code is this: /// @dev get broker ...
0
votes
1answer
34 views

How to convert Postgres BYTEA format to Ethereum string address (PYTHON)?

Bytea (hex) is format of PSQL. It is used by many explorers/dapps/apps to store ethereum address. how to convert this format to Python String? By default it is read as a memory view. More on Bytea: ...
0
votes
1answer
40 views

How does one query the Ethereum ENS name service via an API endpoint with a JSON response?

Using the https://ens.domains/ is there a way to query the ENS name service using an API endpoint and get a JSON response? I want to be able to integrate these eth addresses into my application.
0
votes
2answers
18 views

web3js returns non-checksumed addresses!

Why does web3js 0.20.6 returns all-lowercase addresses on contract creation not a checksumed address?! How to deal with this trouble?
2
votes
1answer
22 views

Event and method different address type

This is my contract pragma solidity ^'0.5.2'; contract MyContract { address[] public contracts; event ContractCreated(address newAddress); constructor() public { } function ...
0
votes
1answer
22 views

how do etherscan get all the token balance of particular address?

I want to create service where just by providing address i can fetch all the token (erc 20 & erc721) balance just like etherscan for a private network? is there any way to do it by writing for ...
0
votes
1answer
19 views

Can I have a listener to cryptocurrencies / tokens reaching a specific address?

Let's say that there is an address called 0x1 There is another address called 0x2 which just released a new token called ABA. Is there a way to constantly listen for 0x1 to see if it receives ABA ...
0
votes
1answer
29 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
34 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
47 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
24 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
50 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
14 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
80 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
97 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
37 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 = ...
1
vote
2answers
28 views

is account nonce network dependent?

In Ethereum, does Account nonce depend on network? I mean for same address on different network, will there be different nonce?
1
vote
2answers
69 views

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

These are the addresses: 0x7cB57B5A97Eabe94205c07890BE3C1aD31E486A8 0x7Cb57B5a97EaBe94205c07890bE4C1aD31E456a8 0x7cB57B5A97eAbe94205C07890BE4c1aD31E486A8 0x7CB57b5A97eabe94205C07890beaC1aD31E486a8 ...
1
vote
2answers
37 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
46 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
14 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
48 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
13 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
49 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
41 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
359 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
83 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
115 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
112 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 ...