safemoonprotocol / Safemoon.sol

safemoon contract
661 stars 899 forks source link

HELP ME FOR CODE #41

Open Ladavv opened 3 years ago

Ladavv commented 3 years ago

Hi, (i'm french) i start the code with solidity. I download "SafeMoon" Code and i don't understand modification for me for my website. What's change in code for me ?

Thanks Ladavv. This link for code :) https://github.com/safemoonprotocol/Safemoon.sol/blob/main/Safemoon.sol

Denimbeard commented 3 years ago

What are you trying to accomplish? This isn't how the coin code is used.

Ladavv commented 3 years ago

I create my crypto and i sued this code for my money !

Denimbeard commented 3 years ago

So you're trying to make a new crypto currency based on Safemoon?

Ladavv commented 3 years ago

Not base on Safemoon but the Idem code because i don't use code and i search open source code. And i like the system base on safemoon

theSkele commented 3 years ago

Within safemoon.sol you should only edit the safemoon contract within it. Those values are straightforward such as the token name and ticker symbol and so on

theSkele commented 3 years ago

You can use something like truffle or hardhat for contract deployment. You would write a deployment/migration script, as this repo doesnt provide one, which then interacts with the constructor function in the safemoon contract when deployed to the chain

priyanshiiit commented 3 years ago

@theSkele Could you please provide that script.

no1bob commented 3 years ago

so we can not just use Remix+Metamask @theSkele . right?

if yes I'll use Truffle, if no how can it be done by R+M?

thanks in advance

theSkele commented 3 years ago

@theSkele Could you please provide that script.

you can take the script of any other pancakeswap token or even uniswap token and just adjust the constructor parameters to your own token, those parameters are in the safemoon contract within the .sol file, constructor(_blah, _blah, _andSoOn) @no1bob I guess you can use remix if you're trying to deploy and let it be. Truffle and hardhat are not that complicated imo, takes only 30 min to get the jist of it To be honest in the amount of time Ive taken to write this comment, I could have written a script lol, as its just a simple token deployment. Its not that complicated if you take a little bit of time to understand what you're doing. Edit: grammar

ghost commented 3 years ago

@theSkele when i wrote my own code i can deploy it to bsc and add liquidity on pancakeswap but when i copy the code from safemoon and change the name and symbol to mine and deploy it to bsc it works but i can not add liquidity. Do i need to change more things than just name and symbol. Thanks in advance

no1bob commented 3 years ago

Thanks @theSkele I can change that constructor easily if that will help deployment since just R+M produce contract with nothing on it; or if you are so experienced in it can I hire you to do that work for me? (you save time on replies lol and make some money and I save time to get with truffle... just downloading..)

no1bob commented 3 years ago

@kelvingevers How it works for you? I changing more than that and can not get it works = contract not showing anything!?

ghost commented 3 years ago

@no1bob i just change the name and symbol and it works and gets deployed but i can not add liquidity on pancakeswap, what do you change more

ghost commented 3 years ago

@no1bob what error do you get

no1bob commented 3 years ago

@kelvingevers no error, what you using Solidity 6.12 (?) injected Web3, EVM VERSION (default?), optimization 200x (?) (after I check there are some abi 0.5.7 things)

no1bob commented 3 years ago

@kelvingevers or maybe we could exchange experiences and maybe help each other..? if yes, lets talk by voice over discord or telegram

ghost commented 3 years ago

@no1bob i use 6.12 and just change the name and symbol and then injected web 3 with metamask

ghost commented 3 years ago

@no1bob i only started watching youtube videos for 2 days i do t know very much i can not write code on myself i just copie what others do, whats your experience

theSkele commented 3 years ago

Thanks @theSkele I can change that constructor easily if that will help deployment since just R+M produce contract with nothing on it; or if you are so experienced in it can I hire you to do that work for me? (you save time on replies lol and make some money and I save time to get with truffle... just downloading..)

I am interested, can you DM me on discord Skele#8065

no1bob commented 3 years ago

Ok @kelvingevers I can write anything.. only never used truffle ;)

ghost commented 3 years ago

No1bob, how did you learn the language solidity, i find it difficult cause no one really explains it good on youtube. When did you start learning it and howmany hours did you learn in total

no1bob commented 3 years ago

easy, programing 38 years ;) @kelvingevers

ghost commented 3 years ago

@no1bob waaaw, what is your salary

Myenny commented 3 years ago

@kelvingevers I'm guessing he's a freelancer that works when he wants. Probably retired from a software company 38 years is a ton of experience that's awesome that @no1bob is just on github helping out :)

no1bob commented 3 years ago

thanks @Myenny and I didnt been just programmer all this years ;)

Ladavv commented 3 years ago

Hey, i have a new set !

Capture d’écran 2021-04-28 à 15 39 53

Contract it's create in BSCSCAN, contracts it's validate with error. Why don't have a name of token and the token numbers disponibl ?

Do you need my code for this probleme ?

Thks !!

ghost commented 3 years ago

@no1bob I take the code from safemoon and give it another name and symbol, compile it, and deploy it with injected web3 with metamask and it is succesfull and i can view it on the bscscan. but i can not add liquidity on pancakeswap, when i give the smart contact address in it can not find my token. Do you know whats wrong?

BryantS11 commented 3 years ago

Hey, i have a new set !

Capture d’écran 2021-04-28 à 15 39 53

Contract it's create in BSCSCAN, contracts it's validate with error. Why don't have a name of token and the token numbers disponibl ?

Do you need my code for this probleme ?

Thks !!

You deployed the Address Contract instead of the SafeMoon Contract

safescamofficial commented 3 years ago

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

Ladavv commented 3 years ago

Bro we in the same train! 😂 We all want to be rich here and to give a huge finger to classic banks. Let’s be smart and build a huge community together to propose a real alternative to traditional and archaic banking

ghost commented 3 years ago

@safescamofficial whose comment are you talking about

Ladavv commented 3 years ago

Safescamofficial:)

Denimbeard commented 3 years ago

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

So how do we buy in? I'm checking pancake swap and there is no liquidity

Hunk2021 commented 3 years ago

I want to do it also...

Could anyone please help me with the same ?

Ladavv commented 3 years ago

How to deploy the SafeMoon contract instead of the address contract?

scarto07 commented 3 years ago

@theSkele Could you please provide that script.

you can take the script of any other pancakeswap token or even uniswap token and just adjust the constructor parameters to your own token, those parameters are in the safemoon contract within the .sol file, constructor(_blah, _blah, _andSoOn) @no1bob I guess you can use remix if you're trying to deploy and let it be. Truffle and hardhat are not that complicated imo, takes only 30 min to get the jist of it To be honest in the amount of time Ive taken to write this comment, I could have written a script lol, as its just a simple token deployment. Its not that complicated if you take a little bit of time to understand what you're doing. Edit: grammar

Hi Skele, do you have a discord/telegram? thanks!

lopezdp commented 3 years ago

Hi, (i'm french) i start the code with solidity. I download "SafeMoon" Code and i don't understand modification for me for my website. What's change in code for me ?

Thanks Ladavv. This link for code :) https://github.com/safemoonprotocol/Safemoon.sol/blob/main/Safemoon.sol

@Ladavv Please reach out to me on this channel; I can help you deploy this today: https://t.me/dAppEngineering

safestarlink commented 3 years ago

Hi, (i'm french) i start the code with solidity. I download "SafeMoon" Code and i don't understand modification for me for my website. What's change in code for me ? Thanks Ladavv. This link for code :) https://github.com/safemoonprotocol/Safemoon.sol/blob/main/Safemoon.sol

@Ladavv Please reach out to me on this channel; I can help you deploy this today: https://t.me/dAppEngineering

Je parle francais je puex t’aider

lopezdp commented 3 years ago

Hi, (i'm french)

i start the code with solidity. I download "SafeMoon" Code and i don't understand modification for me for my website. What's change in code for me ?

Thanks

Ladavv.

This link for code :)

https://github.com/safemoonprotocol/Safemoon.sol/blob/main/Safemoon.sol

@Ladavv Please reach out to me on this channel; I can help you deploy this today: https://t.me/dAppEngineering

Je parle francais je puex t’aider

je parle français aussi; contactez-moi au lien de télégramme que j'ai partagé plus tôt et je peux le déployer pour vous aujourd'hui pour le paiement

tourakadnan commented 3 years ago

Bonjour je suis francais aussi je suis dans le meme probleme mon discord https://discord.gg/g28j3eQ8sz si quelqun peux maider merci

kyerbas commented 3 years ago

@no1bob @Ladavv help me! thank you Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending? Internal JSON-RPC error. { "code": -32000, "message": "execution reverted" }

no1bob commented 3 years ago

wrong coding @kyerbas

Budax9 commented 3 years ago

Salut les gars, quelqu'un sait comment désactiver 3DFA de safemoon dans la code source. Merci en avance

theSkele commented 3 years ago

Salut les gars, quelqu'un sait comment désactiver 3DFA de safemoon dans la code source. Merci en avance

À quoi s'agit la 3DFA à laquelle vous faites référence?

English: What is the 3DFA you are referring to?

Budax9 commented 3 years ago

Hi skele i mean 3d secure authentication. I don't see this part on source code. I have generate a coins and i want self try but without 3d secure authentication. Thks a lot

Le dim. 4 juil. 2021 à 21:19, Skele @.***> a écrit :

Salut les gars, quelqu'un sait comment désactiver 3DFA de safemoon dans la code source. Merci en avance

À quoi s'agit la 3DFA à laquelle vous faites référence?

English: What is the 3DFA you are referring to?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/safemoonprotocol/Safemoon.sol/issues/41#issuecomment-873646925, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUTMQOPELC7VCQYIDBIEFTTTWCX5ZANCNFSM43RMOI2A .

theSkele commented 3 years ago

There is no sort of 3D authentication in these contracts.

I believe that would be your wallet which is requiring 3D authentication, and you would have to disable that within the settings of your wallet.

If you have the private key of the wallet, which has the coins, you will be able to send such coins.

Budax9 commented 3 years ago

Thks u man i compris !

Le dim. 4 juil. 2021 à 21:38, Skele @.***> a écrit :

There is no sort of 3D authentication in these contracts.

I believe that would be your wallet which is requiring 3D authentication, and you would have to disable that within the settings of your wallet.

If you have the private key of the wallet, which has the coins, you will be able to send such coins.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/safemoonprotocol/Safemoon.sol/issues/41#issuecomment-873649326, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUTMQOI34ODZ7EDDZIVB2VDTWC2C5ANCNFSM43RMOI2A .

coffeeninja7 commented 2 years ago

Thanks @theSkele I can change that constructor easily if that will help deployment since just R+M produce contract with nothing on it; or if you are so experienced in it can I hire you to do that work for me? (you save time on replies lol and make some money and I save time to get with truffle... just downloading..)

I am interested, can you DM me on discord Skele#8065

Hi Skele, I am also having issues. Just learning truffle now. Are you available for contracts? I need to save time and get launched.