Axentro
  • What is Axentro?
  • Getting Started
    • Environments & Tools
    • Install Desktop Wallet
    • Wallet Creation
    • Backing Up Your Wallet
    • Sending And Receiving
    • Create Human Readable Address
    • Creating Tokens
  • Mining
    • How To Mine
  • Using The CLI
    • Installation
    • Creating A Wallet
    • Mining
    • Sending Coins
    • Human Readable Addresses
      • Registering a domain
      • Using the domain
      • Buying & selling domains
    • What is CLI config?
  • Using the API
    • Overview
    • Signing & Sending Transactions
    • Crypto
  • Developer Docs
    • Setting up & Testing
Powered by GitBook
On this page

Was this helpful?

  1. Using The CLI
  2. Human Readable Addresses

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:

> ./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:

> ./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:

> /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.

PreviousUsing the domainNextWhat is CLI config?

Last updated 4 years ago

Was this helpful?