Linked Questions

2
votes
1answer
180 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
278 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
225 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
79 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
21 views

how to compute smart contract address in native JS or web3.js [duplicate]

I am newbie in Solidity. I've read that the address for an Ethereum contract is deterministically computed from the address of its creator (sender) and how many transactions the creator has sent (...
32
votes
2answers
4k 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 ...
18
votes
5answers
17k 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
1answer
2k 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?
5
votes
2answers
3k 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'...
2
votes
3answers
3k 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 ...
4
votes
3answers
2k 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 ...
13
votes
4answers
810 views

Deploying a contract from a multisig wallet

I created a multisig wallet using Mist, but don't know how to deploy a contract from the wallet address. Is it even possible? If so, how to do this?
5
votes
2answers
2k views

Is it possible to send a smart contract to an address wallet?

As explained here, a smart contract is deployed on the blockchain via a transaction, with the following code: var primaryAddress = eth.accounts[0] var abi = [{ constant: false, inputs: { name: 'a', ...
6
votes
2answers
872 views

Generate contract address using nonce

Good day, I was looking at the way contracts addresses are created and it seems that the process is quite deterministic (depends on the nonce). Is there a way to get the address of a contract that ...
5
votes
3answers
794 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 ...

15 30 50 per page