Skip to content

smart contract duplicate issues #660

Answered by cromewar
davedev83 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @davedev83 when you deploy to a local blockchain (ganache) , each time you deploy you are creating a new one, but is not persistent, once the process is finished the contract disappears. Remember ganache creates a local blockchain. In the other hand when you use the same blockchain like ganache-ui you can take them as duplicates.

But if you are deploying to a live net or a testnet, you will always create a new contract with is own address, in code they could be the same (duplicates) but they will have different addresses.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@davedev83
Comment options

@cromewar
Comment options

@davedev83
Comment options

Answer selected by cromewar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants