Linked Questions

2
votes
1answer
230 views

How upgradeable smart contracts work? Is it possible to deploy a contract at a self-chosen address? [duplicate]

Is it possible to deploy a contract on the blockchain at a self-chosen address? When deploying a contract by sending contract code to the address null, the contract is created at a "random" address ...
0
votes
1answer
421 views

Calculating the address for a soon-to-be-deployed contract [duplicate]

How is it possible to calculate the address for a soon-to-be-deployed contract? Does anyone know?
0
votes
1answer
400 views

How are addresses generated for Smart Contracts? [duplicate]

How does ethereum generate Smart Contract addresses? It is any different from Ethereum generating addresses for accounts, (which uses rightmost 160 bits of the keccak256(Elliptic curve pub key) - ...
1
vote
0answers
235 views

How to compute the Contract Address from the Transaction Hash? [duplicate]

I am aware that different versions of this question were asked but my interest is specifically working out the contract address following dynamic deployment in a UI using web3 or something similar. I ...
0
votes
0answers
52 views

Predict a contract's deployment address [duplicate]

I have read it was possible to predict the address of a contract before deploying it. Do you know how can this be possible ? What happens if we send some Ether to this address before deploying the ...
0
votes
0answers
27 views

How did two tokens deploy with same address across networks? [duplicate]

A few months ago I deployed a test ERC20 token, called 2BC, to the Ethereum Kovan testnet. This token can be found here: https://kovan.etherscan.io/token/0x938736ab99c0a46bbf8fe7fb06e6f0974902d581 ...
34
votes
2answers
6k views

Do contracts also have a nonce?

Do contracts also have a nonce and if so how is it calculated? Usual accounts have a nonce that is increased with every transaction. However, contracts can't make transactions, they can only make ...
21
votes
6answers
27k views

How to find contract's address?

I successfully setup a private blockchain and created the "hello world" contract according to tutorial from etherium web site. One thing that I can't figure out is how to find the contract later. I ...
9
votes
3answers
15k views

What is address(this) in solidity?

As per my understanding contract`s own address is the address which we assign to owner of contract using msg.sender. But I saw this question on SE where it was described that a contract can access its ...
7
votes
4answers
5k views

How to deploy smart contract in predefined contract address in private ethereum network?

Is there any method to deploy our smart contract in a particular address (ie. predefined contract address) in private ethereum network? Yes, I have built my own private blockchain based on Ethereum ...
9
votes
2answers
5k views

Is address(this) a valid address in a contract's constructor?

When does a smart contract's address first become valid? Is the address during the execution of the contract, or only after it's been fully instantiated and initialized? In other words, is a contract'...
8
votes
1answer
2k views

How to generate a vanity address for a smart contract to be deployed on?

I am aware of the possibility to generate vanity addresses for normal accounts. However, how is possible to generate vanity addresses for external owned accounts (which host smart contracts)? I'm ...
11
votes
1answer
3k views

Why was RLP chosen as the low level protocol encoding algorithm?

Is this an ad-hoc decision? Why RLP? Is it specifically suited to something?
4
votes
3answers
3k views

How do I determine whether the transaction is used for the contract creation?

I want to monitor Ethereum and memorise every contract published on the blockchain (basically the same thing that Etherscan does). How it is possible to do this using NodeJS & web3? How can I ...
4
votes
4answers
2k views

How to calculate an Ethereum Contract's address during its creation using the Solidity language?

Now I know and have read the other thread saying that a contract's address is created deterministically via RLP encoding the creator's address and his nonce and then hashed with Keccak-256 but the ...

15 30 50 per page
1
2 3 4 5 6