Start your own crypto project

How to start your own cryptoProject (safemoon clone)

1. Go to SafeMoon

https://www.coingecko.com/en/coins/safemoon

2. Copy Contract

0x8076c74c5e3f5852037f31ff0093eeb8c8add8d3

3. Go to Binance Smart Chain Explorer (BscScan)

https://www.bscscan.com/

4. Search Contract

Now we seen the contract information of SafeMoon
https://www.bscscan.com/address/0x8076c74c5e3f5852037f31ff0093eeb8c8add8d3

5. Click on Contract and check if the contract is verified

https://www.bscscan.com/address/0x8076c74c5e3f5852037f31ff0093eeb8c8add8d3#code

When a contract is verified, everyone can see what they are interacting with
When a contract is verified, it does not mean it can not be malicious
A token is basically nothing else than a smart contract.

Read Contract

When you read the contract, you can see which functions are available.
https://www.bscscan.com/address/0x8076c74c5e3f5852037f31ff0093eeb8c8add8d3#readContract
All of the functions can be queried for free.
All of the functions can be called whenever you want.
This is also important if you want to build user interfaces for smart contracts.

Once a contract fulfills these functions, than it is considered either a ERC20 token or BEP20 token
ERC20 token for the Ethereum MainNet
BEP20 token for the Binance SmartChain
uniswapV2Pair allows to run the token on both PancakeSwap and UniSwap
uniswapV2Router address has to be changed to v2

In Write

  • Change setSwapAndLiquidityEnabled
    • setSwapAndLiquidityEnabled to false

In Read

  • Change totalSupply
  • Change name
  • Change tokenSymbol
  • Change owner
  • Change taxFee
  1. Copy the whole source code

  2. Open up Remix

  • Use Remix Ethereum IDE
  • Remix is an Ethereum IDE
    • to write Solidity code
    • to deploy Solidity code to the Ethereum blockchain or to the Binance smart chain
  1. Modify contract
  • Open and Rename New File (e.g. safe.sol)
  • Paste the whole source code

stop 15:00

Write Contract

https://www.bscscan.com/address/0x8076c74c5e3f5852037f31ff0093eeb8c8add8d3#writeContract
ERC20 token always need to have the approve function and transfer function to fulfill the minimum requirements a smart contract needs to have in order to be a token.

Reference: https://www.youtube.com/watch?v=QnBamJIw3PE