Questions tagged [addresses]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
857 views

Invalid address

I deployed my contract in ganache. When I was started to call a function with two arguments I started getting an error. I used an address from ganache. Error: invalid address (arg="user", ...
user avatar
  • 11
1 vote
1 answer
341 views

eth_getLogs was only return erc20 tokens

i have used below command to get every logs on the special blocks but its only return erc20 token logs and ethereum transactions was not listed. my geth command: curl --data '{"method":"eth_getLogs",...
user avatar
0 votes
1 answer
534 views

Why eth_getLogs returns empty result for Ethereum account address?

I'm developing an Ethereum platform and need to fetch the events log of a desired address. I found a code like this: curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getLogs","params":[{"topics":...
user avatar
1 vote
1 answer
77 views

Someone Please Explain this "The concept of payable and non-payable addresses only exists at compile time not after the contract is compiled" [duplicate]

Actually I was reading this Answer https://ethereum.stackexchange.com/a/64109/55286 . And this person says The concept of payable and non-payable addresses only exists in the Solidity type system at ...
user avatar
0 votes
0 answers
100 views

Ethereum address(generated) and ecrecover computed address is not matching

I created the Ethereum address by following the below steps . 1. Generated a public key(ECDSAsecp256k1) from HSM. 2. Generated a Keeccak256 hash of Q point of ECPublicKeyParameters ...
user avatar
0 votes
1 answer
168 views

Reference Smart Contract Address in Smart Contract

Is there a way to know the address of the smart contract you are writing before deploying it? Or somehow reference the smart contract address in the smart contract?
user avatar
  • 11
0 votes
1 answer
83 views

Getting undefined for the length of the dynamic array

I'm getting undefined for the length of multiSig dynimic array, or votes in testing, no matter how many items are pushed into the array. FlightSuretyData.sol address[] multiSig = new address[](0);...
user avatar
  • 587
0 votes
0 answers
75 views

if "address public x = tx.origin", why does "require (tx.origin == x") work and "require (tx.origin==tx.origin) not

Below is a contract that i have commented on, hoping to understand the logic of the arguments. Below in bold is the question in question. The .sol currently works fine. pragma solidity ^0.5.11; ...
user avatar
0 votes
1 answer
126 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 ...
user avatar
0 votes
1 answer
344 views

Have contract creator address be the only address that can execute a function in contract

I have three contracts all interacting with each other. Contract "Receive Ether" can receive ether from one of two "Send Ether" contracts Contract "Send Ether First" should only be accessible by ...
user avatar
0 votes
1 answer
81 views

Disadvantages of creating a token that isn't ERC20 compliant

I would like to create my own token on ethereum blockchain. However, I was thinking of creating a token that lets users choose their own addresses. However, as explained here, it seems that would ...
user avatar
0 votes
0 answers
160 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 ==...
user avatar
0 votes
1 answer
349 views

How to search for a dapp based on its address?

There are many websites that track dapps like http://dappradar.com or https://www.dapp.com. Unlike Etherscan one particular dapp doesn’t have to be registered on such specific website in order to be ...
user avatar
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 ...
user avatar
0 votes
0 answers
203 views

Transaction posted in “internal transactions” how do I add it to my wallet?

I transferred ETH from bitbuy to my ledger without realizing ledger did not support contracts. The transaction is posted on ether scan in internal transactions. I’ve contacted bitbuy and ledger both ...
user avatar
0 votes
1 answer
129 views

Error with this.balance

pragma solidity 0.5.9; contract Testing{ function participate()public payable{ uint winner = 9; require(msg.value == 0.1 ether); if ( winner==9) { ...
user avatar
  • 1,215
2 votes
1 answer
320 views

How to Calculate How Long an Address Has Held A Token? (for paying interest/rewards)

I'm writing a smart contract function that rewards users some rate of interest/reward for holding my stablecoin over owning competitors (Dai, Tether, etc). What is the most efficient manner to ...
user avatar
  • 123
0 votes
0 answers
53 views

No transfer of ether

My Code below ( Following an Online Course, absolute beginner here ^_^) pragma solidity >=0.4.17 <0.7.0; contract CampaignFactory{ Campaign[] public deployedCampaigns; function ...
user avatar
0 votes
1 answer
1k views

Is it possible that an Ethereum Address starts with 0x0

Is it possible that an Ethereum Address starts with a 0 on the first place after the hex prefix? For example: 0x0c01a1da70b4109be8789af5fd678183145dbe55
user avatar
  • 181
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 ...
user avatar
  • 21
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(...
user avatar
1 vote
1 answer
398 views

How can I Retrieve Wrong Transfer of Erc20 tokens [duplicate]

I mistakenly Transfer an ERC20 token to a scammer Like(I created the Token) then I saw the Write function on etherscan.io. Is it possible to transfer it back to my wallet or not and if it is possible ...
user avatar
4 votes
1 answer
129 views

How can anyone publish a contract to an address which has been generated in advance?

There is a contract which source code tells that the contract address had been generated in advance (there is a comment there), before the contract was uploaded to the network. The address beginning ...
user avatar
  • 43
1 vote
1 answer
170 views

How can I extract a wallet address from event data?

I have a contract that returns event data including the sender's address: event Result( address indexed _walletAddress, string _name, uint256 _amount ) And in my Node.js app I try to ...
user avatar
  • 129
6 votes
1 answer
2k views

Generating multiple deposite address for one account

I want to create something like a Crypto exchange, in which I need to generate different unique deposit addresses for each user, so they can send funds to their accounts while I can keep track of how ...
user avatar
  • 185
0 votes
1 answer
154 views

How to call function via interface from another contract when calldata type is used

I have declared the following interface: interface Test { function airDropMultiple( address[] calldata recipients, uint[] calldata tokenAmount ) external ...
user avatar
  • 309
0 votes
3 answers
96 views

If I use a factory contract to create a new contract, does it show that the factory contract created it in the blockchain? [closed]

I am not sure if it would show my address or the factory contract's address (or both).
user avatar
  • 125
6 votes
1 answer
2k views

Limit of address creation using single mnemonic

How many Ethereum address can be created using a single mnemonic for Ethereum using derivation path?
user avatar
  • 3,405
0 votes
1 answer
224 views

If Wallet and address generated using EthHDWallet, can we get its recovery using ethereumjs-utils/hdkey getWallet() method by provideing seed?

Generated wallet address using: let mnemonic = request.body.seed; const wallet = EthHdWallet.fromMnemonic(mnemonic); let address = wallet.generateAddresses(1); console.log(wallet, address); How can ...
user avatar
  • 347
0 votes
1 answer
282 views

Why HD wallet instance returns two xpub-xpriv key pairs inside Root and HDKey?

I have implemented address generation using HDWallet as shown in the snippet below: let Seed = generateMnemonic(); const wallet = EthHdWallet.fromMnemonic(Seed); console.log("Wallet" + JSON....
user avatar
  • 347
1 vote
1 answer
139 views

how to be notified about incoming transactions instantly?

I'm creating a platform which users are able to receive ETH on their own wallets (addresses). They will give the addresses to others, but the question is how can I be notified that new transactions ...
user avatar
5 votes
1 answer
11k views

Execute transaction Approve directly against contract address (without ABI)

Solved For now, you will always need the ABI to execute a call against the ethereum network with web3. A simple way is to reconstruct the function you wish to execute is to, either create a separate ...
user avatar
0 votes
1 answer
129 views

Problem with understanding Buyer address

My account address on Remix IDE is 0xCA3…a733c and wallet address is 0x147…C160C. Following is my code obtained from Solidity Tutorial. In this code, buyer address is passed as an argument. I have got ...
user avatar
  • 1,215
0 votes
1 answer
885 views

Difference between account, wallet and deployed addresses: Remix IDE & Code

When I am executing the program on the remix IDE (got from internet), it asks me the address, _wallet, which I am passing in the constructor. Remix IDE shows me 3 addresses: Account, Deploy _wallet ...
user avatar
  • 1,215
0 votes
1 answer
521 views

Total Unique Addresses Count of Ethereum Classic

I need to find an API giving the total number of unique addresses used on the Ethereum Classic blockchain. For example, the following API provides it for Ethereum: https://etherscan.io/chart/address ...
user avatar
  • 103
1 vote
1 answer
69 views

tracing new address on new wallet in Ethereum [closed]

I am just wondering how the new addresses are anonymous in Ethereum. Suppose that I have a wallet A including many addresses on it. Then I have a new wallet, say wallet B, and opening new address on ...
user avatar
1 vote
1 answer
77 views

Which contract's address?

In Etherscan, it is easy to find a contract. For example here is an example: https://etherscan.io/address/0x80fB784B7eD66730e8b1DBd9820aFD29931aab03#code The web page says that the contract address ...
user avatar
1 vote
2 answers
168 views

How to find the coin/token type of crypto payer in Ethereum blockchain?

I'm new in Ethereum based crypto concepts. I would like to know how can I differ the incomming crypto amounts based on their orginal token type? Imagine I have an address on Ethereum blockchain. ...
user avatar
3 votes
3 answers
13k 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 (...
user avatar
0 votes
2 answers
461 views

Correct ABI payload packaging to call another Contract's address

Let's suppose I have the two following contracts, Dest and Proxy: pragma solidity ^0.5.0; contract Dest { function foo(string memory name, string memory symbol, uint256 decimals, uint256 ...
user avatar
2 votes
1 answer
292 views

Change a Checksum Address to Its Normal Hex Value

I know there are functions to convert hex address -> checksum address, but are there any to convert checksum address -> hex address?
user avatar
2 votes
2 answers
1k views

Is there any difference between address that have Smart Contract and "normal" one? [duplicate]

Is there any difference between address that have smart contract on it, and "normal" address (address that You can create private and public key pair)? For more context, this is the problem I'm ...
user avatar
2 votes
1 answer
958 views

Is any 40 character hex string a valid ethereum address?

I know an ethereum address is generated by getting the last 20 bytes of the keccak-256 hash of the public key, which is 40 hex digits. I also know, an address does not need to have transactions ...
user avatar
3 votes
0 answers
23 views

How to calculate vanity address using C? [duplicate]

I have a curiosity about tacking on zeroes to strings, and Ethereum addresses are no exception. I wrote my own python program, and it was too slow. I wrote the program at https://pastebin.com/hTFGiKzR ...
user avatar
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: '...
user avatar
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 ...
user avatar
0 votes
0 answers
1k views

Unable to Unlock Account Even After specifying allow-insecure-unlock

Software: Ubuntu on VirtualBox Update, tried putting two dashes, on allow-insecure-unlock, doesn't work solidity@solidity:~$ geth attach http://127.0.0.1:8545 --allow-insecure-unlock Incorrect Usage:...
user avatar
  • 135
0 votes
1 answer
460 views

invalid implicit conversion from contract to address requested contract

I am using this function to create a new contract instance of Match contract which takes 4 parameters. However i am getting this error message "invalid implicit conversion from contract to address ...
user avatar
0 votes
1 answer
367 views

The method eth_sendTransaction does not exist/is not available - web3.py

I am trying to send data to the contract, but I am getting the following error: The method eth_sendTransaction does not exist/is not available This is the code: from web3 import Web3 web3 = Web3(...
user avatar
0 votes
1 answer
411 views

Solidity. Concatenate and hash two strings

Hi all I need tho sha256 two strings. I am new to solidity. This is what I've got: function addressToString(address _addr) public pure returns(string memory) { bytes32 value = bytes32(uint256(...
user avatar

1
3 4
5
6 7
15