safemoonprotocol / Safemoon.sol

safemoon contract
662 stars 899 forks source link

Deploy the safemoon code to Remix.ethereum #45

Open marcelovelame opened 3 years ago

marcelovelame commented 3 years ago

I implanted SAFEMOON.sol connected via MetaTask in BSC Testnet. It just changed the NAME and the symbol, the tokens I didn't receive, I was reading it's a route error because of Pancakeswap that migrated to version 2.

However, the deployment continues to fail, although it tries in different ways. Does anyone have any ideas? in the Pancakeswap route code, uniswap

which line do I replace in the current code and which code should I put in and which line or lines?

thielburl959 commented 3 years ago

Hello, I'm also facing the same issue when adding liquidity to pancakeswap. Did you find any solution? Thanks.

marcelovelame commented 3 years ago

it's still not a problem on the route I'm not sure where to change it, I located the route in the code but I don't know where to change it

thielburl959 commented 3 years ago

Someone told me that I need to add the ability to exclude some addresses from the swapAndLiquify function

and add the Router and Pair addresses

I'm not sure how to do it lol

marcelovelame commented 3 years ago

well I don't know, they said it was the question of the route but I don't know how to modify it I'm still analyzing the codes. If someone can contribute it would be good

cruiz85 commented 3 years ago

Has anyone solved this issue?.

safescamofficial commented 3 years ago

i know ist now. but i think i wont tell someone, because its make me rich

ricardobatdasilva commented 3 years ago

eu sei agora. mas acho que não vou contar a ninguém, porque isso me torna rico

Could you help me, please?

abdulhaseeb2 commented 3 years ago

So if your using the bsctestnet than you have to search that does the contract address mentioned on line#758 exists or not on the tesnet. As I converted the contract to use pancake swap instead of uniswap, and my contract didn't get deployed, was getting error gas limit exceeded..., after some searching I found this solution, which helped me fix my error. Your solution might also be similar, so you'll have to look it up. Hope this helps.