Questions tagged [addresses]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
18 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 ...
1
vote
0answers
15 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
1answer
19 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 ...
3
votes
1answer
35 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 ...
0
votes
0answers
36 views

Can ETH be hacked by inserting a forwarding contract?

Just to be clear I am not going to name any companies in this post since there is still an investigation going on as to how this happened. As you can guess by the question ETH has been stolen from me,...
0
votes
0answers
22 views

How to convert an address in string with correct case (upper or lower) of each symbol in Solidity? [duplicate]

Is there any recommended way to convert an address into string? Also it will be great if there is possible to safe the characters cases
0
votes
1answer
27 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 ...
0
votes
0answers
18 views

web3.js - Subscribe multiple addresses and new coming address

I build ETH wallet app by using web3.js. My concept is the new ETH address will generate when user is registered on my app and when they send ETH from other address on another app or whatever to the ...
1
vote
1answer
27 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 ...
0
votes
1answer
20 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 ...
0
votes
3answers
40 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).
6
votes
1answer
71 views

Limit of address creation using single mnemonic

How many Ethereum address can be created using a single mnemonic for Ethereum using derivation path?
0
votes
1answer
30 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 ...
0
votes
1answer
20 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....
1
vote
1answer
34 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 ...
2
votes
1answer
36 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 ...
0
votes
1answer
26 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 ...
0
votes
1answer
23 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 ...
0
votes
1answer
90 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 ...
1
vote
1answer
32 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 ...
1
vote
1answer
62 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 ...
0
votes
2answers
36 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. ...
1
vote
2answers
87 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 (...
0
votes
2answers
79 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 ...
2
votes
1answer
27 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?
2
votes
2answers
81 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 ...
2
votes
1answer
75 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 ...
3
votes
0answers
17 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 ...
1
vote
1answer
49 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
0answers
12 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 ...
0
votes
0answers
83 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:...
0
votes
1answer
47 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 ...
0
votes
1answer
45 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(...
0
votes
1answer
56 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(...
0
votes
1answer
22 views

Solidity. Concatenate hash w address. TypeError: Operator + not compatible with types string memory and address payable

I am trying to do something simple: examsFinalHash = keccak256(examHash + msg.sender); but I get the following error: TypeError: Operator + not compatible with types string memory and address ...
0
votes
1answer
35 views

Generating an address from a public key in C++

Example: Input key = 0x025f37d20e5b18909361e0ead7ed17c69b417bee70746c9e9c2bcb1394d921d4ae Output address = 0xd09D3103CcABfb769eDc3e9B01500Ca7241D470A I have been using an algorithm from keccak-tiny....
0
votes
1answer
35 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
2
votes
2answers
87 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-...
0
votes
0answers
52 views

Ethereum payment processor Nodejs

I'm working on a web project where I need to have the ability to accept crypto payments. Implementing bitcoin was fairly easy as there were api's whom allowed me to directly subscribe to a specific ...
2
votes
0answers
54 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 ...
1
vote
1answer
47 views

Invalid opcode when trying to pass address as parameter to contract

When I try to pass address as parameter to this addEmployee function it gives me this error: invalid opcode The execution might have thrown. Debug to get more information. modifier onlyOwner(...
0
votes
1answer
37 views

TypeError: Type contract Campaign is not implicitly convertible to expected type address [closed]

pragma solidity ^0.5.11; contract CampaignFactory { address[] public deployedCampaigns; function createCampaign(uint minimum) public { address newCampaignAddress = new Campaign(...
0
votes
1answer
46 views

Solidity. How to add an address to a mapping

I have this: contract Diary { string[] private facts; mapping (address => bool) approvedAddresses; address owner; constructor() public { owner = msg.sender; ...
5
votes
2answers
272 views

Common Gas Wallet for ERC20 Wallets?

We have a wallet structure where users send tokens to individual user wallet addresses generated for them, we then sweep all the funds in the user's wallets to a centralized pool. The individual ...
2
votes
1answer
65 views

How to transfer wei from a contract to a specific address?

I was making an auction system and I wanted to make sure that when someone bid higher the contract would return the money to the address of the previous bid. pragma solidity >=0.4.22 <0.6.0; ...
2
votes
3answers
347 views

How smart contract transactions work?

I read that smart contracts don’t have a private key, so they can’t sign a transaction. My question is: when a smart contract starts a transaction to an EOA, how are we sure that the smart contract ...
0
votes
1answer
56 views

Is there any API to create Addresss and wallet as well as make transfer for ETC (Ethereum Classic)?

There is balance checking, transaction list and transaction receipt getting APIs available for Ethereum Classic (ETC)? Is ETC coin is only available on Ethereum Classic or its listed block explorer ...
0
votes
1answer
79 views

I would like to 3 mappings

I am a beginner. I would like to 3 mappings I know 2 mapping looks like this: mapping (address => mapping (address => uint256)) public allowed; and my question is: is 3 mappings look like ...
0
votes
1answer
36 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
39 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
2 3 4 5
11