> For the complete documentation index, see [llms.txt](https://luntra.gitbook.io/luntra-infrastructure/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://luntra.gitbook.io/luntra-infrastructure/smart-contract-deployment-guide-on-hardhat/6.-verification-and-interaction.md).

# 6. Verification and Interaction

### Verify Contract (if block explorer supports it)

```sh
npx hardhat verify --network luntraChain DEPLOYED_CONTRACT_ADDRESS "constructor_argument"
```

### Interact with Deployed Contract

```javascript
// scripts/interact.js
async function main() {
  const contractAddress = "YOUR_DEPLOYED_CONTRACT_ADDRESS";
  const Lock = await ethers.getContractFactory("Lock");
  const lock = Lock.attach(contractAddress);

  const unlockTime = await lock.unlockTime();
  console.log("Unlock time:", unlockTime.toString());

  const owner = await lock.owner();
  console.log("Owner:", owner);
}

main().catch((error) => {
  console.error(error);
  process.exit(1);
});

```
