I wish to deploy my contract to a specific address in ropsten or rinkeby test environment.
I am using ‘truffle migrate --network ropsten’ command. Do I need to add any suffix so that it gets deployed to a specific contract address ?
This will help me in live testing.
Thanks in advance
Ashish
1 Like
Hi @ashishk74,
Welcome the the community forum 
We can’t specify an address to deploy a contract to.
We can determine what the address will be for a contract that we create. So we could use CREATE2 to deploy to a precomputed address.
See: https://docs.openzeppelin.com/cli/2.8/deploying-with-create2#creating_a_smart_contract
Another option would be to deploy an upgradeable contract, so the proxy address will be the same.
What option to use really depends on your use case.