Is it possible to deploy the same contract with different addresses? When I try it in truffle, it is able to generate a new contract with a different contract address, but when I do
Contract.address it returns the inital contract address I generated and not any of the new ones.
--reset flag when deploying using truffle.
truffle migrate --reset
Yes, every time you deploy the contract it will be stored at a new address. If you use truffle migrate, you can see the log in the console telling you the tx hash and address where it got deployed.
The problem seems to be with your front-end code, you might be still referencing the first contract. Can you share the complete code?