> 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/7.-useful-commands.md).

# 7. Useful Commands

### Compilation

```sh
npx hardhat compile
```

### Clean Build Artifacts

```sh
npx hardhat clean
```

### Check Network Connection

```sh
npx hardhat console --network luntraChain
```

### Get Account Balance

```sh
npx hardhat run scripts/balance.js --network luntraChain
```
