safemoonprotocol / Safemoon.sol

safemoon contract
661 stars 899 forks source link

If I want to make my own coin do I have to change anything besides private name and such? #49

Open cxwebb opened 3 years ago

cxwebb commented 3 years ago

image The highlighted is all I changed

cruiz85 commented 3 years ago

I am testing it - and I deploy it fine - but if in the swap as soon as I go over 1% of the total supply in total transactions - the contract gets locked/hanged/paused and after this it will never allow any address to do a swap - there is an error from MetaMask regarding fees but I don't thing is related to fees but something in the code-

image

And When I want to sell the token from pancakeswap I got this messsage error: image

And I know its not a pancakesawp problem because If I want to send tokens from one address to another address (from MetaMask)I receive also the same message on bscscan

image

safescamofficial commented 3 years ago

What's your setting while deploying?

cruiz85 commented 3 years ago

This is the setting image

cruiz85 commented 3 years ago

I wanted to be able to work the code of SAFEMOON on pcs V2.

I think I should do some changes in the contract and also on the deployment address

But what I dont know what - please help!

Proyectfomo commented 3 years ago

I'm testing too, but I have a flaw, When I want to throw it into binance Smart Chain Testnet says surplus gas, my doubt is how did you create the coin in the blockhain ? To explain to me what your process was from the Solidity code in remix to having the tokens created in portfolio

Proyectfomo commented 3 years ago

This is the mistake: Gas estimation with error with the following message (see below). The execution of the transaction is likely to fail. Do you want to force delivery? JSON-RPC internal error. {"code": -32000, "message": "the required gas exceeds the allowed amount (30000000) or the transaction always fails"}

Proyectfomo commented 3 years ago

This is the mistake: ![Uploading IMG_20210430_062055.jpg…]()

isolationx commented 3 years ago

I think it's because you need to set the slippage to 12%

On Sun, May 2, 2021 at 8:51 PM cmconltd @.***> wrote:

I am testing it - and I deploy it fine - but if in the swap as soon as I go over 1% of the total supply in total transactions - the contract gets locked/hanged/paused and after this it will never allow any address to do a swap - there is an error from MetaMask regarding fees but I don't thing is related to fees but something in the code-

[image: image] https://user-images.githubusercontent.com/1112529/116518223-44734100-a8d0-11eb-96bb-22c63bd6a0b9.png

And When I want to sell the token from pancakeswap I got this messsage error: [image: image] https://user-images.githubusercontent.com/1112529/116518717-e98e1980-a8d0-11eb-8369-e5e504516866.png

And I know its not a pancakesawp problem because If I want to send tokens from one address to another address (from MetaMask)I receive also the same message on bscscan

[image: image] https://user-images.githubusercontent.com/1112529/116518398-78e6fd00-a8d0-11eb-84de-e218fb6d487a.png

@cruiz85 https://github.com/cruiz85

Did you resolve this issue ? I had the same thing happen to me now it's all locked up, my liquidity is locked in there, can't figure out how to fix, thanks in advance. I saw same happen to someone else, they did resolve but I don't know how have not gotten response.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/safemoonprotocol/Safemoon.sol/issues/49#issuecomment-831005565, or unsubscribe https://github.com/notifications/unsubscribe-auth/APZZQW3K64KJXHX37ZHGGMLTLYMVXANCNFSM43YP7QQA .

-- MR

inde-blockchain commented 3 years ago

This is the setting image

But i am unable to deploy that project on testnet smart chain

inde-blockchain commented 3 years ago

This is the setting image

Can you send a screen shot of compiler set-up or folder setup

inde-blockchain commented 3 years ago

My deployer showing to ![Uploading Screenshot_2021-05-06-15-50-38-45_4d38fce200f96aeac5e860e739312e76.jpg…]() many contract,s

inde-blockchain commented 3 years ago

![Uploading Screenshot_2021-05-06-15-50-38-45_4d38fce200f96aeac5e860e739312e76.jpg…]()

Mubcy commented 3 years ago

I am testing it - and I deploy it fine - but if in the swap as soon as I go over 1% of the total supply in total transactions - the contract gets locked/hanged/paused and after this it will never allow any address to do a swap - there is an error from MetaMask regarding fees but I don't thing is related to fees but something in the code-

image

And When I want to sell the token from pancakeswap I got this messsage error: image

And I know its not a pancakesawp problem because If I want to send tokens from one address to another address (from MetaMask)I receive also the same message on bscscan

image

Hey cruiz, having same issue here did u fixed it

MilkyLatte commented 3 years ago

Your transactions keep failing because you are probably using Pancake V1 router. Make sure you use the V2 address. You can also "enable" trading if you set swapAndLiquify enabled to false. It will break other things since you won't be providing auto liquidity.

elonsdev commented 3 years ago

I can help on discord with launching a clone successfully: hit me up on discord I can help: bobthebuilder#5072

elonsdev commented 3 years ago

I made a builder so anyone can now make a safemoon clone easy: Enjoy. : https://safefactory.app/

cool-alien commented 2 years ago

try safemoon maker, it works well, you can clone safemoon very quickly