This is more of a curiosity question than anything. However, when I copy an ERC20 contract from ETHERSCAN or BSCSCAN, or copy the safemoon.sol contract from github and try to deploy it via Remix Deployer (on the correct network) on the testnet or mainnet do I create a contract successfully, but there are no tokens minted and no token tracker. When I use the import function then it works.
I guarantee this is something simple I’m missing. And yes, I understand that deploying a copied contract may contain vulnerabilities and is not best practice, and if I move forward with this project
I’ll be hiring a developer, however I just want to understand this issue.
Yeah, just like Tsushima_Yoshiko said, If you deployed SafeMoon exactly as is, you should have tokens., so please make sure when you deploy contract, that is before you clicking the Deploy button in the Remix, you should select the correct contract to deploy rather than use the default contract.
Hi, i tryed too to clone safemoon on Remix, but when I deploy it i get an error:
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": "gas required exceeds allowance (30000000) or always failing transaction" }
I’m using Binance testnet, and from Remix I selected Injected Web3. What is the problem?
It’s a great guide to get you a dev environment set up and ready for action. After setting up your dev environment and getting things working, then you can try to deploy custom contracts.
Hey, did you ever make progress on this? I am also just experimenting.
I Deployed a copy of the safemoon contract on remix using web3 after successfully writing and deploying my own simpler contracts.
When I deploy the safemoon one, I see the deployment on bscscan but no coins are transferred. I also tried validating the contract and still no coins in the creator wallet.
Was wondering if it has anything to do with the lock functions?
Hey man, have you solved this? I have try and same result … i have deploy simple contract on testnet but clone from from others it’s succesful but no tokens! @toprakmelek telegram
I think that if you don’t see anything on bsc scan is because you are deploying the wrong contract. Just try using Remix and make sure to select the right contract here:
Does anyone have the PancakeSwap Router Address for BSC Testnet, if it exists? I saw an issue on their GitHub asking the team to do this but unsure if it has been done yet or not.
what are we the select , i saw "ownable", "safemath", ierc20, context,uniswap, all this where prefix to the name of my contract which of them should i choose ?