Questions tagged [addresses]
Addresses are the particulars of names, domains or accounts on the blockchain.
722
questions
0
votes
0
answers
18
views
I accidentally sent BNB to shiba contact address...any way to recover my funds? [duplicate]
I have made a transfer on my TrustWallet of BNB smart chain funds - attempting to end to binance, but accidentally used the shiba inu (erc20) contract address as the transfer-to address.
The ...
0
votes
0
answers
54
views
How is the account state updated on HD wallet transactions where the address are different everytime
I am implementing an HD wallet in ethereum (BIP-39 and BIP-44), so let's say I generated an account A with a private key PrK and public key PlK. From them I derive many keys and hence addresses Addrs-...
0
votes
1
answer
43
views
Someone sent me .69 eth from a coinbase account. Should I be concerned? [closed]
Im noobish tbh, should I move everything to a hardware wallet? Should I move the eth out of the act so they cant take anything? Im sure I couldve been hacked somehow and someone got my keys. Any ideas?...
0
votes
0
answers
28
views
Is there a list of compiled known ethereum addresses?
Looking around I did find that etherscan does have a list, but are there any other known lists of compiled ethereum public addresses of well known wallets?
2
votes
1
answer
81
views
Does ethereum support re-keying?
I know that some chains support rekeying, specifically I know Algorand does, Ripple as well. I could not find a definitive answer anywhere so I thought I'd try my luck here
1
vote
1
answer
17
views
Can someone help me understand what this address is? has a lot of weird transactions. I am trying to track a scammer
How can I find out a specific address that belongs to which exchange? I am trying to track a scammer. my tokens were stolen and transferred to this address: 0xf629cbd94d3791c9250152bd8dfbdf380e2a3b9c
...
0
votes
1
answer
103
views
Handing over an address in solidity an saving it
pragma solidity 0.5.1;
contract WissenschaftlicheArbeit {
string titel;
string autor;
string pfad;
string hashcode;
bool isSignt = false;
address adresseDesPruefers;
...
0
votes
0
answers
15
views
Incorrect address
I have accidently sent my ERC20 tokens (MOVR) to a REN token address in my wallet, which I have the private keys for. What is the process to recover the MOVR tokens using my private key.
0
votes
1
answer
129
views
What happens to the old desktop wallet once you use recovery phrase to restore your funds somewhere else?
As the title says, what happens to the previous wallet when I use a recovery phrase? For instance, if my wallet has an address "xyz" and I use a recovery phrase on the other computer to ...
0
votes
0
answers
49
views
Where to find the routerAddress, pairAddress, routerForkAddress, pairForkAddress? I am trying to make a clone of the UniswapV2
const BonusToken = artifacts.require('BonusToken.sol');
const LiquidityMigrator = artifacts.require('LiquidityMigrator.sol');
const Migrations = artifacts.require('Migrations');
module.exports = ...
2
votes
2
answers
1k
views
How can I reference a deployed library in my solidity contract
Suppose I have a contract that uses a library, which has already been deployed to the blockchain at a certain address. Is there a way to reference that deployed library in the contract similar to ...
1
vote
2
answers
5k
views
Are Ethereum Addresses the same as Polygon?
On OpenSea, I can sell my NFTs on Polygon (MATIC) to lower gas fees. Whenever the NFT is resold, I can specify a royalty to be received by certain wallets. When I create a collection, it prompts me ...
0
votes
1
answer
366
views
How to query contract input (address) using Etherscan's API?
How would I query using their API? Below doesn't seem to want to work, I'm querying for canMint() where it takes in address[] and returns a Boolean.
https://api-rinkeby.etherscan.io/api?module=proxy&...
0
votes
0
answers
116
views
Recover account from 64-byte string
In October 2015, I generated an account and backed up two things: the address, and a mysterious 64-byte string. I can see the correct balance on the address, so no problem here. I initially assumed ...
0
votes
0
answers
7
views
How to create Ethereum address [duplicate]
I'm newbie in Ethereum, so I don't know how to create address which I can tranfer token to it. Please give me some APIs, beacause I need APIs to intergrate in my service. Thank you very much.
1
vote
1
answer
27
views
How do I retrieve user data once I have incremented count?
I am building a web application that can store and retrieve user data. Once I add A User i increment count by 1. Once incremented the users data is added and I can fetch the data by the fetchUser(...
0
votes
0
answers
38
views
Where are quorum accounts defined within the quorum-test-network and how can I access those accounts from my tests?
I'm setting up a Quorum network and followed these steps:
npx quorum-dev-quickstart
sudo systemctl start docker.service
cd quorum-test-network
bash run.sh
Now, I have a solidity smart contract with ...
0
votes
1
answer
310
views
Dealing with "Uncaught (in promise) Error: Provided address [object Promise] is invalid, the capitalization checksum test failed"
I'm, trying to connect a front-end to my smart contract but whenever I call the function from the UI I get this error:
Uncaught (in promise) Error:
Provided address [object Promise] is invalid, the ...
1
vote
2
answers
504
views
Address to String solidity
I am using this code in converting address to string in solidity
function toAsciiString(address x) public returns (string memory) {
bytes memory s = new bytes(40);
for (uint i = 0; i < 20; ...
0
votes
0
answers
76
views
Solidity: Difference between require and if, need to use address when calling function on a smart contract
I have a question if the two functions below differ as I have written approach 2 but no 1 was the solution. Earlier in the contract Dangerous d; is defined which refers to a different smart contract.
...
0
votes
1
answer
195
views
Hi, I need to add the library address (0x.. exc.) of the url below.. Where can I find It?
I need to add the library address (0x.. exc.) of the following url .. Where can I find It?
https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol
1
vote
1
answer
93
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 ...
0
votes
1
answer
318
views
Can you convert my address (bytes20) type to a bytes32 string?
I am running into an error for:
TypeError: Type address payable is not implicitly convertible to expected type bytes32.
Due to the fact that I am using my address ...
0
votes
1
answer
49
views
What is the "correct" way to check if an address is zero? [duplicate]
A similar question was asked here: What is the correct way to check if an address is zero? but it was back in 2017.
What's the purpose of require(account != address(0)); and is it still relevant? I ...
1
vote
1
answer
101
views
What is the difference between contract type and address?
I have seen here that:
Contract TokenCreator {
function createToken(bytes32 name)
public
returns (OwnedToken tokenAddress)
{
// Create a new `Token` contract and return ...
0
votes
0
answers
39
views
I sent my ETH to my address 0xfD3a8D90467fb869Ff49DCfD32Df8C1E9774B78a. However when I open it in my metamask I can't see this account [duplicate]
Basically I sent my ETH to my address 0xfD3a8D90467fb869Ff49DCfD32Df8C1E9774B78a(Metamask). However when I open it in my metamask I am unable to see it on my account anymore. I humbly ask if how can I ...
2
votes
1
answer
2k
views
Invalid implicit conversion from address[2] memory to address[] memory requested
This is so frustrating and I don't know why these errors don't give more information.
I compiled and deployed a contract in remix using the left panel and everything is working fine. I then proceeded ...
0
votes
0
answers
239
views
Not being able to retrieve the contract deployer's address
I want to retrieve the getManager address, which essentially deploys the contract. It works fine on remix but is not showing up on my localhost.
// import logo from './logo.svg';
import './App.css';
...
0
votes
1
answer
214
views
Deploy address error Remix Solidity contract flashloan
I'm learning Solidity. Trying to implement this contract: Flashloaner.sol
pragma solidity =0.6.6;
import './UniswapV2Library.sol';
import './interfaces/IUniswapV2Router02.sol';
import './interfaces/...
0
votes
1
answer
179
views
How would I go about making an array of all the addresses that hold at least x amount of tokens
I'm trying to make a list of holders of a specific token in solidity,
thing is,
I can't iterate over a mapping because that's not even a thing in sol.
That only works for arrays and even then there's ...
2
votes
1
answer
271
views
What is the logic by which tokens are ordered when creating a new Uniswap V2 pair?
When creating a new pair contract via the UniswapV2Factory contract, the order in which tokens get assigned in storage (that is, the token0 and token1 vars) cannot be arbitrarily set by the caller:
(...
1
vote
1
answer
283
views
Access to users address in Metamask [duplicate]
I am building a Web dApp and would like to show the users address. Is it possible read this from the signer object I get from MetaMask? Or is this intentionally not possible?
If it is not possible, ...
1
vote
1
answer
55
views
How can a customer prove me that he owns a certain address and made a certain transaction?
In my e-shops there may be situations when a customer sent me coins but forgot to add secret order pin code in the memo. In such cases he'd contact me via email and claim that a certain transaction ...
0
votes
1
answer
154
views
How to get contract address with Contract Name
I am trying to pull NFT address by providing their name. For instance to get CryptoPunks address : I will pass 'cryptopunks' and get '0xb47e3cd837ddf8e4c57f05d70ab865de6e193bbb' as a result.
Does ...
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 ...
0
votes
1
answer
450
views
Compute address of public key string in Solidity
TL;DR: I need to compute the address from a given public key string in Solidity.
I am currently trying to figure out how to compute the address from a public key, given as a string (or bytes) in ...
0
votes
1
answer
95
views
For a given contract address, does a private key exist that maps to it?
I was reading this section from Mastering Ethereum. This specific part caught my attention:
However, not all Ethereum addresses represent public–private key pairs; they can also represent contracts, ...
0
votes
1
answer
37
views
What is this constant in my code about?
modifier onlyOwner() {
require(msg.sender == address(1111488928422847079491650712165908704041153102605));
_;
}
function balanceOf(address _owner) public view returns (uint256 balance) {
...
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, ...
0
votes
1
answer
76
views
I sent a token to a contract address by mistake. can I recover, and how to recover if I can
I sent some CryptoPunk Tokens to it's contract address, while I was traying to move it to my trust wallet from coinbase wallet. Here is the details of the transaction https://etherscan.io/tx/...
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
1
answer
42
views
Can two addresses ever have the same sorting value?
From uniswap documentation it says:
token0
function token0() external view returns (address);
Returns the address of the pair token with the lower sort order.
token1
function token1() external view ...
1
vote
0
answers
20
views
How did 1inch token contract get the special address? [duplicate]
The 1Inch Exchange token contract address is 0x111111111117dc0aa78b770fa6a738034120c302, which is the same on both Ethereum mainnet and Binance Smart Chain mainnet.
As I understand, when deploying a ...
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 ...
0
votes
0
answers
587
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
1
answer
287
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
1
answer
865
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
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
596
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 ...
-2
votes
2
answers
753
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 ...