> For the complete documentation index, see [llms.txt](https://guide.axentro.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.axentro.io/using-the-cli/what-are-hras/buying-and-selling.md).

# Buying & selling domains

In the previous part of this guide we saw how to buy a domain (for a price of 0) from the platform. But we can also buy from someone who has put their domain up for sale.

To see what is up for sale:

```
> ./axe hra sales -n http://testnet.axentro.io

hra domains for sale!

 Domain     | Address        | Price
 awesome.ax | VDAxNmM1OGV... | 5
```

Buying a domain is exactly the same as in the first part of this guide except you must specify the price correctly:

```bash
> ./axe hra buy -w testnet-wallet-1.json -n http://testnet.axentro.io -f 0.001 --price=5 --domain=awesome.ax
```

Follow the same procedure of checking the transaction.

Selling a domain is also easy:

```bash
> ./axe hra sell -w testnet-wallet-1.json -n http://testnet.axentro.io -f 0.0001 --price=8 --domain=mydomain.ax
```

and if you change your mind before someone else buys it you can cancel the sell:

```bash
> /axe hra cancel -w testnet-wallet-1.json -n http://testnet.axentro.io -f 0.0001 --domain=mydomain.ax
```

Remember to pay the correct fees when doing all these transactions.
