I want to integrate my token contract with proxy contract ..Can I get any sample reference for the proxy contract integration And I need to know how to verify and publish my integrated proxy token contract..
For further actions, you may consider blocking this person and/or reporting abuse
Discussion (4)
Check out the below Proxy Contract
xdcscan.io/address/xdc5d5f074837f5...
xdcscan.io/address/xdcdc34e983e855...
You can verify your contract here: xdc.blocksscan.io/contracts/verify
Once verified, email your Contract details like Contract Name, Symbol, Contract Address and Contract Code to BlocksScan Support (support@blocksscan.io )
Hi @deepan_chakkravarthy_bfbe I believe the best environment to deploy proxy contracts is
Hardhat
. You can start a newHardhat
project (See this tutorial for more details on how to do that). Then install the following dependencies:You can change your
hardhat.config.js
file to include the dependencies:And make your Smart Contract Initializable. The code below is based on the Pizza.sol contract:
To deploy this contract along with its upgradable proxy, create a deployment script
deploy.js
:And proceed to deploy the contract:
Hello @deepan_chakkravarthy_bfbe
Since we haven’t received any response from your side , we are closing the issue as it appears to be resolved. If you still have the issue, please feel free to reopen it.
Thank you!
Hello,
We hope that the above issue is resolved, if the issue is still persist then please let us know about it so that the team can resolve it on priority. It will be grateful to get an update within 72 hours or else it will be considered resolved.
Thank You