tact-by-example icon indicating copy to clipboard operation
tact-by-example copied to clipboard

Same Code cant be deployed?!

Open SC-One opened this issue 2 years ago • 0 comments

Hello, I'm a beginner in TON and relative stuff, and I learn those sometimes. So my question is: how do two developers from around the world who have the same idea deploy their code?

For example, both want to have a counter, and their codes will be equal. So can they deploy their contract? because in this scenario, their bytecode will be the same! (reference: https://tact-by-example.org/06-calc-contract-address) So the result will be the same unique address !?

I know we can use init and change that with init data. but it means we should store more variable (and use more gas) just because we have the same idea as another?

SC-One avatar Oct 17 '23 12:10 SC-One