Is there any way to transfer a erc20 contract to trc20?

Oct 23, 2020, 8:54 AM
You can deploy the same code on Tron (if it has the right Solidity version), but you can't transfer the contract state
Oct 23, 2020, 9:06 AM
Really? I just need to edit erc20 to trc20 and the value of fees and etc and it should work?
Oct 23, 2020, 9:29 AM
I said the state can't be copied like that. So the token would be a brand new token with no owners. But the functionality will remain if the code is the same
Oct 23, 2020, 9:32 AM
Yea yea i understood, i need to modify the contract and deploy it on tron network
Oct 23, 2020, 9:33 AM
Possibly you don't need to modify anything.
Oct 23, 2020, 9:33 AM
For real? Because i use openzepellin will that make some problems?
Oct 23, 2020, 9:34 AM
No it's OK. The contract names don't matter so they can be named Erc20.
Just remember that Tron only supports 0.5.x version and nothing newer
Oct 23, 2020, 9:35 AM
Alright mate, thank you for this 👍
Oct 23, 2020, 9:36 AM
Np
Oct 23, 2020, 9:37 AM
Sorry guys, one more and last question:
Is it possible to lock liquidity on justswap like on uniswap?
Oct 23, 2020, 9:52 AM
Deploy same code. Only change external addresses if necessary
Oct 23, 2020, 9:57 AM
🙏Thanks but @Lauri_P answered already
Oct 23, 2020, 9:58 AM
Aah ok✌🏻
Define "nothing"
Something will definitely happen😅
Oct 23, 2020, 10:30 AM

© 2024 Draquery.com All rights reserved.