Linked Questions

2 votes
1 answer

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 ...
Shuzheng's user avatar
  • 1,855
0 votes
1 answer

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) - ...
user43828's user avatar
0 votes
1 answer

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?
chuacw's user avatar
  • 306
1 vote
0 answers

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 ...
Trevor Lee Oakley's user avatar
1 vote
1 answer

Do EVM contract addresses follow an order? [duplicate]

I've noticed that if I deploy the same contract on Optimism, Arbitrum, and Polygon, they will all share the same contract address. Also, if I then deploy 3 contracts on Optimism, wait a bit, and then ...
Dimitri Borgers's user avatar
0 votes
0 answers

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 ...
Bob5421's user avatar
  • 1,467
0 votes
0 answers

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: ...
David Callanan's user avatar
0 votes
0 answers

How is smart contract's hash I'd is made? Is it a random string assigned to a smart contract? [duplicate]

How is this contract I'd or hash or whatever is made? For example This is my smart contract "0xBa5C1c9823733d93d05593e3962fa0b8948675D1", is this " 0xBa... " a hash of the code or ...
Aeron Nauturdum's user avatar
42 votes
2 answers

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 ...
mKoeppelmann's user avatar
  • 7,626
26 votes
6 answers

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 ...
Anam Nizami's user avatar
21 votes
6 answers

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 ...
user3280964's user avatar
13 votes
4 answers

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 ...
Karthikeyan Thangavel's user avatar
14 votes
2 answers

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'...
Thomas Jay Rush's user avatar
13 votes
1 answer

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 ...
q9f's user avatar
  • 32.9k
16 votes
1 answer

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?
Sentinel's user avatar
  • 1,238

15 30 50 per page
2 3 4 5