Hi Dear Solidity group, i wanted to create an erc 20 token, i don't have enough programming skills, but i found a ready code where some small changes shoul be done. I did the changes but unfortunately i get an errors, i tried to modify the code using my skills but it didn't help, is there anyone who can help me please πŸ™πŸ™πŸ™ look up my code and tell me where i have errors

May 26, 2023, 4:05 PM
May 26, 2023, 4:05 PM
do u know solidity?
May 26, 2023, 4:06 PM
No sir i don't know
Can you help ? Please πŸ™
May 26, 2023, 4:06 PM
then you shouldn't step into dangerous territory,
learn the language first, don't rush
May 26, 2023, 4:07 PM
πŸ₯Ί
Just for creating a meme token sir
Help please
May 26, 2023, 4:08 PM
Start by forking smaller contracts
Try to understand each function
Are you wanting to launch on main net?
May 26, 2023, 4:08 PM
I tried sir
No
May 26, 2023, 4:08 PM
Nice way to shoot yourself in the foot
May 26, 2023, 4:08 PM
what's the utility?
May 26, 2023, 4:09 PM
For now im doing it in sepoila testnet
Remix.ethereum.org
May 26, 2023, 4:10 PM
Then nicco is right you need to learn the language a bit more to understand what they are doing in the contract

Some of these shitcoins can be really confusing for beginners
May 26, 2023, 4:10 PM
I did it as you said sir, little by litte a small pieces of code i did tokens on testnet, but at last i got an error
May 26, 2023, 4:10 PM
Keep trying, compare your code with code that’s already deployed
May 26, 2023, 4:11 PM
but you don't know solidity https://t.me/dev_solidity/248597
May 26, 2023, 4:12 PM
He uses safemath , i deleted safemath
May 26, 2023, 4:12 PM
Why
May 26, 2023, 4:13 PM
First i did it on openzeppelin contracts , i just did like token name token symbol and amount , then from another contract i pasted many codes, and safemath was given error, i just deleted safemath everywhere, and now where abstract is written , it shows error
May 26, 2023, 4:17 PM
lmao
May 26, 2023, 4:18 PM
Go learn you are putting 0 effort
May 26, 2023, 4:18 PM
Weird, the procedure you followed seems correct
May 26, 2023, 4:18 PM
memecoin market rn

Love your display picture
May 26, 2023, 4:20 PM
what's the purpose of those meme coins?
May 26, 2023, 4:22 PM
Fun
May 26, 2023, 4:22 PM
Bruhhh you really asking that
May 26, 2023, 4:23 PM
For me individually : charity and earning, for better future of our corrupted place, it would be great if i find 300$ and do the normal road in our near neighborhood
May 26, 2023, 4:24 PM
sure the investors having a great laugh seeing their bags dumping each day
May 26, 2023, 4:24 PM
pump and dump
May 26, 2023, 4:24 PM
Reality: transfer_from failed error, copy pasta runtime exception
Liq stuck
May 26, 2023, 4:25 PM
too old to understand these shits, I'd rather prefer MS Paint memes
May 26, 2023, 4:25 PM
So fix corruption with a ponzi? Double negative = positive.
I love your way of thinking
May 26, 2023, 4:26 PM
quick profit for techies
May 26, 2023, 4:28 PM
What else sir, if government doesn't help us and our country, i think we should do it by ourselves
Turkmenistan
May 26, 2023, 4:29 PM
And memecoins is the way
May 26, 2023, 4:30 PM
"if the government doesn't help us, we'd scam others to do so"
I corrected that for you
May 26, 2023, 4:30 PM
It's better way than giving up
May 26, 2023, 4:30 PM
better : try hacking the govt servers and get them rekt
May 26, 2023, 4:30 PM
No no, i dont want to scam, i want to go to exchange
May 26, 2023, 4:31 PM
I hacked NASA with HTML
May 26, 2023, 4:31 PM
haha i hacked my own pc with notepad
May 26, 2023, 4:31 PM
You're great sir
You are also
But
May 26, 2023, 4:31 PM
that's sick man
May 26, 2023, 4:31 PM
I'm 27 years old
May 26, 2023, 4:32 PM
😭 lesson : don't just copy paste and run code
May 26, 2023, 4:32 PM
I'm just a seller in groceries store
But you guys
For me
May 26, 2023, 4:32 PM
oh good luck man
May 26, 2023, 4:32 PM
Someone who is like a metahuman , superhero
May 26, 2023, 4:32 PM
what you wanna do? launch memecoin or buy memecoin? don't do the latter
May 26, 2023, 4:32 PM
Who can do with computers whatever he can imagine
Launch a memecoin sir
May 26, 2023, 4:33 PM
and I'm just a frycook at Krusty Krab
May 26, 2023, 4:33 PM
you have atleast 2-3k$ capital? trust me it's hard without atleast that much
May 26, 2023, 4:33 PM
Look please
Look where i live sir
I'm just asking you for help
Please don't laughing or don't do not believe
May 26, 2023, 4:34 PM
look , I can help you with the code for free man but it's really hard to get it started without capital investment of your own
May 26, 2023, 4:34 PM
there is no shortcut to richness
May 26, 2023, 4:35 PM
or atleast you need a strong marketing network
May 26, 2023, 4:35 PM
I will find i way , sir , i will ask my friend who is working abroad to lend me some money so i can launch it , but first of all i need code sir
May 26, 2023, 4:36 PM
don't go the debt way, you're already poor right? so why go into debt
wait, build the network for nos
now
May 26, 2023, 4:36 PM
Please if you can help me , dm me sir, I'm afraid to dm you first, like if i make you headache it won't be good
May 26, 2023, 4:37 PM
everybody got their own hardships
May 26, 2023, 4:37 PM
OPSEC πŸ“‰πŸ“‰
May 26, 2023, 4:37 PM
guys lets keep it to dev chat
May 26, 2023, 4:37 PM
imagine sharing your location to a public chat, what could go wrong
May 26, 2023, 4:37 PM
haha ,worst that could happen is just you could get murdered
nothing serious
May 26, 2023, 4:38 PM
then heaven
May 26, 2023, 4:38 PM
or hell
May 26, 2023, 4:39 PM
if you launch shitcoins, then yes
May 26, 2023, 4:40 PM
πŸ‘€
May 26, 2023, 4:40 PM
he's using non-English even after a warning
May 26, 2023, 4:41 PM
lol report mania
I think he doesn't know English
middle East is not english primary region yk
May 26, 2023, 4:42 PM
He was just saying hi and y’all trying to get heads rolling in here
May 26, 2023, 4:46 PM
muting*
😭
May 26, 2023, 6:36 PM
smart contracts don't work the way u described
so if there's a vulnerability, they could simply switch the address
May 26, 2023, 6:49 PM
Can anyone exploit a non-immutable router
May 26, 2023, 6:51 PM
immutability has nothing to do with the exploitations
May 26, 2023, 6:52 PM
Oh, thanks
May 26, 2023, 6:55 PM
Hahahahahahah, It reminded me of that xd
May 26, 2023, 7:18 PM
how do splitter contracts split an erc-20 amount recieved into multiple outputs/recievers without needing gas?
May 26, 2023, 7:37 PM
Where?
Nothing is gasless
May 26, 2023, 7:43 PM
thirdweb default contracts provide an option for a splitter
Not sure how that splits without gas
May 26, 2023, 7:45 PM
What do you exactly mean by splitting?
May 26, 2023, 7:51 PM
erc-20 amount gets sent to splitter address -> erc20 amount gets divided according to set recievers and proportions -> amount sent to recievers
May 26, 2023, 7:52 PM
Then how is this gasless?
sending tx require gas
May 26, 2023, 7:53 PM
not sure, but it doesnt require any gas deposits
that's why I'm asking how they made it work
May 26, 2023, 7:53 PM
Gas deposit?
May 26, 2023, 7:53 PM
I think it's not of Thirdweb's either, they use unlock protocol's splitter ig
I mean the gas required for the split, it doesn't need that
May 26, 2023, 7:54 PM
Someone else may pay for the gas
May 26, 2023, 7:54 PM
πŸ€” won't that amount to stupendous amounts of fee for the relayers?
it's free for all to use afterall
May 26, 2023, 7:55 PM
Where do you see that it doesn't require gas? You may have mistaken
May 26, 2023, 7:56 PM
I have used it multiple times
it doesn't require
May 26, 2023, 7:57 PM
show me the etherscan tx
May 26, 2023, 7:57 PM
didn't save, shut down pc just few minutes ago
May 26, 2023, 7:57 PM
It makes you sign a message?
May 26, 2023, 7:58 PM
nah
nothing at all
May 26, 2023, 7:58 PM
Then?
Thirdweb won't be paying for the gas on Ethereum
And contracts can't function without gas
So they haven't discovered some magic potion
May 26, 2023, 8:00 PM
process is - deploy this contract with recievers -> send amount erc20 to the split contract address-> it somehow get's split
try sending any erc-20 on Goerli to this splitter address
0xce464Fd290D068CE67e4eBEc98Ea84BA72A87551
May 26, 2023, 8:06 PM
Then?
May 26, 2023, 8:06 PM
it splitts to two accounts i have set on the splitter contract
50-50
May 26, 2023, 8:07 PM
Sending costs gas
May 26, 2023, 8:07 PM
no gas , except the tx cost
May 26, 2023, 8:07 PM
lol
tx cost is the gas
May 26, 2023, 8:07 PM
yes, but I don't understand the part that, you send tokens to address A (splitter), so you pay gas for that, the splitter recieve the amt, thn it divides it and send to address B and C without gas, how?
May 26, 2023, 8:08 PM
You need to go back to basic
May 26, 2023, 8:08 PM
πŸ˜ƒ
May 26, 2023, 8:09 PM
Each operation costs gas, else the tx would be free
May 26, 2023, 8:09 PM
so the tx automatically calculate this contracts gas costs too?
I mean both the txs ? one tranfer from sender and one transfer from splitter?
May 26, 2023, 8:10 PM
Yes, you need to explicitly specify the gas (which wallets like Metamask does automatically for you)
May 26, 2023, 8:10 PM
I mean, the token contract doens't call any function from the splitter, so how come it get gas costs for the second contract in question?
May 26, 2023, 8:10 PM
Why there'd be two separate gas definitions?
May 26, 2023, 8:11 PM
with minimal settings too the splitter works
like for without splitter transfers cost same
maybe I'm not explaining properly
May 26, 2023, 8:11 PM
It costs gas, nothing is gasless
Tx cost is the gas in total
May 26, 2023, 8:12 PM
oh, so no matter how many contracts the tx go through it automatically gets an aggregate cost of all operations
May 26, 2023, 8:12 PM
Yeah
May 26, 2023, 8:13 PM
even if it doesn't call any specific functions?
May 26, 2023, 8:13 PM
😳😳
May 26, 2023, 8:13 PM
ok thnx gn guys
May 26, 2023, 8:14 PM
I can't explain to you any further, but that's the basic
You may have skipped the lesson: 1
May 26, 2023, 8:14 PM
Ik those basics, I'm not sure how the splitter worked
May 26, 2023, 8:14 PM
mm sure?
May 26, 2023, 8:15 PM
yes, except some things ofc I admit that
but gas related things are clear for me
May 26, 2023, 8:15 PM
I don't think so
May 26, 2023, 8:15 PM
I wasn't sure if just sending and erc20 token to a contract address would call anu function on the recieving contract
gas is, but some noob things are unclear yeah πŸ₯Ά
May 26, 2023, 8:16 PM
EVM doesn't have the concept of tokens
May 26, 2023, 8:16 PM
by token I mean the commonly referred to eip
erc20 that is
as for nfts , I call them nfts
May 26, 2023, 8:17 PM
for token transfer you call the .transfer() method of the contract, so it's a contract invocation in general
May 26, 2023, 8:17 PM
yes
yikes my mistake, the splitter contract has a pull function
they have to be released 😭😭
May 26, 2023, 8:21 PM
21000 is minimum
30million is maximum currently
May 26, 2023, 9:19 PM
also in private chain?
May 26, 2023, 9:19 PM
wtf is a private chain
May 26, 2023, 9:20 PM
your personal chain 4 testing
May 26, 2023, 9:20 PM
if it's based on ethereum yes
May 26, 2023, 9:20 PM
ok thanksπŸ‘
May 26, 2023, 9:21 PM
You should know what's inside better than anyone else
May 26, 2023, 10:05 PM
Up to lesson 6 was good though
That course+ some other resources taught me good stuff
May 26, 2023, 10:36 PM

Β© 2024 Draquery.com All rights reserved.