# Condor Testnet Task 2 - Release a DAPP **Published by:** [Souleigh](https://paragraph.com/@souleigh/) **Published on:** 2022-09-24 **URL:** https://paragraph.com/@souleigh/condor-testnet-task-2-release-a-dapp ## Content In the first task of deploying a contract, we have learned how to deploy an on-chain contract, If not, you can refer to the official tutorial and the tutorial of joio.eth. https://mirror.xyz/0x5953D009299f31fac1d7B08176Cc7a7A571405Cb/RtPby_mY-It-cF4-kqH8wwugBlurQL6_qy4VUu8Ixfc https://mirror.xyz/joio.eth/uW3qffe_byHABaMCcE9b8bbAPbfhj_d9xSqdCu4Knv4Develop DAPPNote: This tutorial must use the following supporting contracts (Comments) to use this DAPP normally, otherwise the operation will report an error! https://explorer.condor.systems/address/0x9b6c936c9fa2a9e3fCbB10C2163a148e7A47CB7B/contracts#address-tabsThe second task needs to write a testnet application (dapp). At this time, we can use the contract in the first task to perform various contract operations. Here I will take the dapp released by myself as an example to illustrate.my example dappOpen my dapp example addresshttps://replit.com/@hsl947/Condor-Comment-Panel?v=1Click “Fork Repl”, the repository name and introduction can be confirmed directly without changing.Fork-1Fork-2After Fork, the code will be automatically opened, and then we only need to modify a few codesModify the RPC address in pages/index.tsxModify abi and contract address in hooks/useCommentsContract.tsIn fact, I have replaced the RPC address here with the correct one, which can be skipped here.Modify the codeModify the codeFor this, we need the contract address and abi information. I will use the contract example of this dapp to illustrate.This is my open source contract, you can copy the code and redeploy ithttps://explorer.condor.systems/address/0x9b6c936c9fa2a9e3fCbB10C2163a148e7A47CB7B/contracts#address-tabsGet the contract address and copy it directly in the lower right corner after deploymentGet contract addressThere are two ways to get abi informationIf the contract has been verified, you can see copy abi in the Code column of the block browserFind the CodeCopy abiIf the contract is not verified, you can find abi on remix, just copy the following [ … ] arrayGet abi informationCopy and replace the contract address and abi obtained above into the file in the previous stepAfter the replacement, just click “RUN” in the middle of the topRun the exampleIf the wallet cannot be connected, it is recommended to open a new window.open a new windowThen we can link the wallet and switch to the CONDOR test network to interactWe can see our interactions on the block explorerInteraction record of block explorerIf there is anything unclear about the above, please share , thank youI'm Souleigh, follow on Twitterhttps://twitter.com/Souleigh_Hong ## Publication Information - [Souleigh](https://paragraph.com/@souleigh/): Publication homepage - [All Posts](https://paragraph.com/@souleigh/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@souleigh): Subscribe to updates - [Twitter](https://twitter.com/Souleigh_Hong): Follow on Twitter