Is there any way to bypass the RPC's nonce limit and use the same nonce twice?

We need to get the same contract address as on other chains but the nonce is already passed. Is there any other way? RPC blocks us from using the same nonce.

Tried setting the same nonce in truffle but it doesn't work.

Apr 26, 2022, 11:47 AM
Hey guys, anyone knows if it's possible to use the same nonce twice if it goes to different addresses?
Apr 26, 2022, 11:56 AM
Nonce have nothing to do with RPC
Apr 26, 2022, 12:00 PM
Is there a way to make two transactions under the same Nonce?
Apr 26, 2022, 12:03 PM
No you can't, only way to achieve that would be to hope for CREATE3 to get added to the EVM
no
Apr 26, 2022, 12:04 PM
Can I use CREATE2 or 3 to get the same exact contract address of a contract deployed with CREATE ?

(Since I can't use the same nonce twice)
Apr 26, 2022, 12:05 PM
you can't deploy to an address resulting from CREATE using CREATE2 afaik,
CREATE3 is proposed to solve that but was just a proposal
https://github.com/ethereum/EIPs/issues/3583
Apr 26, 2022, 12:12 PM
How do I find salt of an existing contract that was deployed with CREATE ? and salt was never defined?
Apr 26, 2022, 12:17 PM
there's no salt with CREATE
address is determined based on nonce and deployer address
Apr 26, 2022, 12:18 PM
so can I leave the salt empty and get the same contract address as I got with CREATE on other chains?
Apr 26, 2022, 12:18 PM
no, study how those opcodes work
Apr 26, 2022, 12:18 PM
Got it, so it's not gonna work for me. If I missed the nonce I need to get the same address then there's nothing I can do?
Apr 26, 2022, 12:18 PM
Correct
Apr 26, 2022, 12:18 PM
I read somewhere that I can use another wallet which is new, to deploy a contract using this wallet but with a 0 nonce, is that true from your knowledge?
I couldn't find much resources about it which makes me think that It's not possible.
Apr 26, 2022, 12:20 PM
if your goal is to deploy to a specific address you already have that wouldn't solve your issue
you would deploy to an address that is different from your goal
Apr 26, 2022, 12:21 PM
You can't. That's the sole purpose of nonce lol
To prevent double spending
Apr 26, 2022, 12:30 PM
It's not theoretically possible to deploy a contract using this method, which will have the nonce 0 yet use the my wallet address? haha I guess It's impossible, thanks for being patient.
Apr 26, 2022, 12:34 PM
You're welcome 💪🏻
Apr 26, 2022, 12:37 PM

© 2024 Draquery.com All rights reserved.