Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Same Code cant be deployed?! #19

Open
SC-One opened this issue Oct 17, 2023 · 0 comments
Open

Same Code cant be deployed?! #19

SC-One opened this issue Oct 17, 2023 · 0 comments

Comments

@SC-One
Copy link
Contributor

SC-One commented Oct 17, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant