Questions tagged [addresses]

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

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

Help me figure out wallet address

0xd3d631C35Bc4F8c672E8cA1Ce4da68BA2898a6aC I sent eth from Binance to Uniswap to this address successfully, so it says on Etherscan. On Uniswap it said I didnt have enough eth for the transaction to ...
0
votes
2answers
265 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
321 views

Nethereum: CallAsync return a wrong msg.sender

I write this simple contract: contract greeter { event LogSender(address sender); function getSender() constant returns (address) { LogSender(msg.sender); return msg.sender; }...
0
votes
1answer
12 views

Adding a binance smart chain on metamask results in same address for Eth and BNB, how does it work?

Creating a trust wallet account gives different addresses for different currencies
0
votes
2answers
1k 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....
1
vote
3answers
495 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?
3
votes
3answers
2k views

How to select a different Metamask address when using Uniswap?

I want to use Uniswap with my hardware wallet. So I go into my Metamask wallet, connect to my hardware wallet, I see my coin balance, then I open Uniswap. The trouble is that Uniswap is showing an ...
1
vote
1answer
617 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 ...
2
votes
2answers
627 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. ...
0
votes
0answers
17 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
1answer
871 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
2answers
721 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 ...
0
votes
0answers
79 views

Web3: call the solidity function with the address can't return the expected outcome! (everyone can help?)

solidity code: address public administrator; constructor() public { administrator = msg.sender; } function isAdministrator(address _address) public view returns (bool) { return _address ==...
0
votes
1answer
26 views

Transaction works or fails depending on the destination address

I was trying to make a deal with another user and he sent me this address: 0xb1f4c727afa220eec5d218399eb443662ab2610e But when I tried to do the transfer I received this error TypeError: Transaction ...
0
votes
0answers
43 views

Private key opens a different address than the one that it “should”

I have a small problem (hope it doesn't prove to be huge) with importing wallets using private keys. I am not the most knowledgeable when it comes to Ethereum, and was hoping you guys could maybe help ...
0
votes
0answers
16 views

BSC Wallet and all its token amounts/cash balance [duplicate]

Just started playing with the Blockchain overall. It's pretty hard to get into and understand but trying my best. I would like to know how I can get all the tokens that the BSC wallet had Contracted ...
3
votes
4answers
1k views

How to implement a watching wallet for thousands/millions of addresses

I need to check for customers' deposits and need to scan for receiving transactions for those addresses for Ether and in next step ERC-20 tokens. What's the most efficient way to do this with go-...
0
votes
1answer
36 views

Is the ETH in this Address Mine to Claim? Etherscan Shows Balance Left [closed]

I was wondering if someone could help me understand some confusing situation with a Binance ETH address I have. I was going through my records and noticed that one of the addresses I have used in the ...
1
vote
1answer
52 views

Retrieve public key of an address to verify off-chain signatures

I have a question regarding use of keys in Ethereum for signing requests/data OUTSIDE of Ethereum. Let's say I have a regular Ethereum EOA with an address and keypair. I now want to have a piece of ...
0
votes
0answers
11 views

ONE MNEMONIC different addresses [duplicate]

I will try keep it short. I am having a curious case here. In etherscan I see all coins available in my address. All except one shit coin is available on my old windows machine, that I was using some ...
3
votes
2answers
3k views

Coinbase Account and Etherscan

I just opened a Coinbase account and purchased one ETH. Then I looked up the ETH wallet address (right on Coinbase), went to etherscan and searched for this address....Account was found, but doesn't ...
0
votes
4answers
2k 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(...
1
vote
1answer
393 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: ...
1
vote
0answers
17 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 ...
0
votes
1answer
283 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
490 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.
1
vote
3answers
6k views

Reinstalled MetaMask, account lost?

I had 3 accounts under my MetaMask Chrome extension. One of them had some small deposit. I have reinstalled the extension and used seed phrase to get access again. However, I can see only one account (...
-2
votes
2answers
88 views

I SENT ETH TO WRONG ADDRESS [duplicate]

I sent eth to wrong address by accident thru and exchange hitbtc 2. It whats a mistyped attempt so it is considered a "fresh" or unclaimed account. Is there any way around this? if so im up ...
0
votes
0answers
10 views

Truffle test - doesn't send funds to msg.sender

it seems like I have a wrong gnache or truffle setup ... I already ask a simular question here: Owner of contract is set to contract address? Basicly there is some mess up with addresses on my local ...
0
votes
0answers
13 views

Mapping with different datatypes showing on one struct

is it possible that in I can use a uint and a address that showing on the same struct(Submission) as mapping ? I need something what makes it easy to read out the mapping with a uint (number) and with ...
3
votes
2answers
98 views

How to use address.call{}() in solidity

I have seen here and several other places that the correct way to send ether from a contract to an address is to call the .call{}() method. Then here I have seen the method being used with arguments. ...
1
vote
1answer
17 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 ...
2
votes
2answers
149 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 ...
2
votes
1answer
108 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-...
0
votes
0answers
24 views

Is there any method to generate new public private key pair in solidity?

I want to generate a new ethereum account in solidity(if possible in online Ide remix) & sign transactions with the private key. In other words, I want more ethereum account apart from the default ...
21
votes
5answers
7k views

How does a contract find out if another address is a contract?

Is it possible, from within a contract written in Solidity, to check if a contract is placed on a specific address or if this address does not contain any code?
0
votes
1answer
55 views

How can I implement redactable chain for ETH?

I am trying to research about Redactable blockchain so my question is how can I implement a Redactable chain in Eth if someone has some idea about it I will be thankful
5
votes
1answer
155 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 ...
6
votes
4answers
4k views

Why does mist throw 'Uncaught invalid address'?

I'm trying to make a web page that gets a message from a simple "hello world" smart contract. Unfortunately, it isn't working. I'm seeing this in the Mist console. Uncaught invalid address v ...
3
votes
2answers
933 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-...
2
votes
0answers
23 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. ...
0
votes
1answer
24 views

Assigning addresses while publishing contract in Solidity

I was recently viewing a DApp on GitHub. The following is a part of .sol address contractOwner; address withdrawWallet; function contractName(address _contractOwner, address ...
1
vote
3answers
18k views

Can I mine directly to Ledger Nano S?

I am mining Ethereum, was using Mist wallet. Just purchased Ledger Nano S. Is it possible to transfer Ether without paying transaction fee? Is it possible to mine directly into Ledger Nano S? (...
0
votes
1answer
65 views

receive ether from address only after another address has sent ether

I have a two smart contracts. One receives ether(ReceiveEther) and the other sends ether(SendEther). I have it set so whoever made SendEther can only send to ReceiveEther if both contract creators ...
2
votes
0answers
19 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 ...
0
votes
1answer
117 views

Cap is not showing actual amount after deploying contract on Main Ethereum network

I have deployed a crowdsale contract with bonus stages on Main Ethereum Network using remix.ethereum.org. I have set a Cap amount of ether in wei as my goal. After deploying contract, I looked into ...
0
votes
2answers
31 views

Can I recover a blockchain transaction to a phishing address [duplicate]

I was scammed and sent 3 eth to a phishing address. 0x2ed31556f20db283569ae040d6968f65efa240ca a.k.a (Fake_Phishing4397) It is possible to recover my losses? Thank you so much!
0
votes
1answer
130 views

Hardhat local network keys generation

I noticed the generation of Hardhat local Etheruem network keys are found on the Mainnet. Example: After running npx hardhat node. Accounts ======== Account #0: ...
1
vote
1answer
240 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 ...
0
votes
0answers
13 views

What is IBAN/BBAN address and what is the purpose of web3.eth.Iban? [duplicate]

I do not find too much information about the use cases of Iban, in web3.eth.Iban object. Could anyone tell me what is exactly an IBAN address in web3, and when to use it? https://web3js.readthedocs.io/...

1
2 3 4 5
12