This article is a retelling of a story by u/sheer1706 from reddit, who has been on an amazing journey of creating a cryptocurrency coin on the Binance Smart Chain (BSC) network. The content is posted with permission from u/sheer1706.
Two weeks ago I was dabbling around with Solidity, learning about ERC20 token standards and smart contract programming. Then I decided to create my own shitcoin. What started off as fun way to get some hands on practice quickly became bigger than I expected. Let me take you on a journey.
There are a few things to decide on from the get go. First I needed a name. Everything ‘Safe’ is pretty hyped at the moment. And this is crypto. Which in fact could be considered money. So what about… let’s say… ‘Safe Crypto And Money’. That’s a good one, and it has a fitting acronym: SCAM… I like it. Done!
Now supply. In actuality supply is pretty arbitrary in a world where cryptos are divisible into the 18th decimal. But hey, psychology plays a role in this game as well. High supply cryptos tend to pump, because the price per unit is so small. And low supply cryptos tend to pump because of the scarcity narrative. Anyway, I couldn’t bother too much and settled for 100 million. Which is probably low on the shitcoin scale.
Next ‘team tokens’, aka what I keep for me and my friends. I was determined to distribute large amounts of my token on Reddit (more about that further down), but every good shitcoin needs a solid team allocation. So I distributed 20% to friends and family. Because hey, that’s the spirit.
A few things on token mechanics: I didn’t want any mint or freeze functions, and I wanted to keep the token pretty light-weight in general. So I went for a bare-bone implementation of ERC20 with little to no extras.
A final item needed to be addressed in the concept stage: which network to deploy the token in. Obviously ERC20 is an Ethereum token standard. But this was just a fun project, and I didn’t wanna get poor on gas costs just deploying the token. So I went for Binance Smart Chain. That’s where all the shitcoin hype is taking place anyway at the moment. BSC is basically an Ethereum clone, with BEP20 being the equivalent of ERC20 on BSC. Pretty much anything that works on Ethereum works on BSC as well, so going for BSC didn’t require any extra work.
I’m a software developer. So I do have programming experience. But I never worked with Solidity before. However, ERC20 tokens are pretty basic stuff in the world of smart contracts, and there are tons of examples and tutorials online. I was heavily influenced by this one:
I probably ignored about a dozen or so best practices when it comes to Solidity programming. But the whole thing is so basic, I’m pretty certain I didn’t include any huge smart contract vulnerabilities.
When it comes to writing the source code and actually deploying the smart contract on the blockchain, a very common and handy tool is Remix:
It has a somewhat decent development environment, and you can connect it to your Metamask. Little side note: With BSC being an ETH clone, you can set your Metamask up to work on BSC as well. Here’s a guide on how to do that:
So with all that being set up, I was ready to bring my token to life. I clicked ‘Deploy’, waited for the transaction to go through… And BOOM! There it was. My own token. Sitting there on the blockchain…. Doing nothing.
Next I went to bscscan.com (like etherescan, but for BSC… DUH!) and actually verified my smart contract. You do that by submitting your source code. Without verification smart contract are pretty much just a black box, even though they are one the blockchain. It is hard to tell what they actually do in detail. Submitting your source code is a crucial part to giving your project legitimacy. And it’s a crucial part of giving the community a chance to check your code for vulnerabilities.
So with no further ado… I give to you… my token:
A token just being a token, doing nothing, pretty quickly loses it’s appeal. With 20% of supply allocated to me and my friends we did few test transactions, sent tokens back and forth, and that was about it.
I wanted to get people involved. There was no point in selling the token. So I decided to do a little post about how I created my own BEP20 token for fun and how I would airdrop 25% of total supply to the first 25 people to send me a PM. I submitted the post to r/binance and r/bnbtrader and was wondering if at least one or two people would actually be interested.
What I didn’t expect were the 100 or so messages I received with people either asking for an airdrop or just generally being positive about the project. It was honestly so much fun. There was so much positivity about the whole thing, it totally made my day.
At the end of the day my token had around 30 holders in total and suddenly it felt slightly less like a dead token sitting on the blockchain.
I think every solid token needs to be tradable. Of course centralized exchanges are completely out of the realm of possibilities. But we live in an era of DeFi. And everybody can list any token on decentralized exchanges (DEX), as long as they provide liquidity.
On BSC the by far most popular DEX is Pancakeswap. If you use their website you can select a defined set of currencies from a drop down menu. But you can also just enter the contract address of any token out there on BSC and trade it, if there is liquidity.
I went ahead and actually created a liquidity pool for my token. Which now meant there was a marketplace for it on the most popular DEX on BSC. A place to trade my token:
And the funny thing is, bots picked it up right away and actually started trading it a bit back and forth for a few hours before they lost interest and went on to the next shiny thing.
With my token at that point having about 50 or so holders and actually being traded, what started off as some programming practice, suddenly felt strangely real and legit.
Right from the start, when I announced my first airdrop, people were asking me for a place to talk about the token. I thought that’s a fun idea, but didn’t really follow up on it. But after a few days of wondering if all of this is already going way too far, I decided to just go ahead and create a subreddit dedicated to my token. I invited everybody who wrote me a message about the airdrop and in no time the sub had more than 500 members, meme competitions, and active discussions. Of course 500 is no crazy number, but it still felt surreal to me.
At this point I would like to invite you to take a look around r/scam_coin and check it out for yourself. I think it’s a fun place and a great little community.
In the end I’m blown away by how far this little fun project has already gone. It’s no Dogecoin, and not even Dogecoins little talked about brother. But SCAM coin is out there and people talk about it and trade it, which is already more than I would have ever expected. Right now there are about 250 holders, the token is actively traded on Pancakeswap, and the community is very active. Who would have thought where this would be going. And who knows where it is still heading.
Anyway, thanks for reading everybody. I hope you liked my little story. Would love to welcome you at r/scam_coin and enjoy your day! :)