Skip to content

Palmerg4/contract-address-manipulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contract Address Manipulation

Contract addresses are determined by the deployer address and the transaction nonce of the deployer address on the given chain. By using the same deployer EoA and transaction nonce on each chain, the address of the contract will be the exact same on each chain. This can be helpful for many reasons, mainly for easier documentation and user experience.

Sample contract deployed to Goerli testnet

Goerli Sample Contract Test Image Goerli

Sample contract deployed to Mumbai testnet

Mumbai Sample Contract Test Image Mumbai

Sample contract deployed to Sepolia testnet

Sepolia Sample Contract Test Image Sepolia

Source

Prashant Nigam Article

About

Contract address manipulation during deployment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published