Quickstart

In this guide you will get some testnet4 coins, open auctions and bid on Spaces!

Funding Spaces Wallet

Create the default wallet and get an address to receive coins

space-cli --chain testnet4 createwallet
space-cli --chain testnet4 getnewaddress

You could get testnet4 coins from one of these faucets:

For additional testnet4 resources, checkout this guide.

Opening an auction

Open an auction for some Space e.g. @btc

space-cli --chain testnet4 open btc

You will get a similar output to this

[
  {
    "txid": "",
    "tags": ["auction-outputs", "commitment"]
  },
  {
    "txid": "",
    "tags": ["open"]
  }
]

Placing a bid

Find one of the spaces currently in auction and place a bid (amount is in sats)

space-cli --chain testnet4 bid nostr 1500

Check status of a Space

space-cli --chain testnet4 getspace btc

You will get something like this

{
  "outpoint": "",
  "value": 662,
  "script_pubkey": "51202a7267b047254ad41e87458b902c286434e3764ffd2f2fdb46a9c8fafa6135e3",
  "name": "@btc",
  "covenant": {
    "type": "bid",
    "burn_increment": 1000,
    "signature": "........",
    "total_burned": 1000,
    "claim_height": null
  }
}

You can use listspaces command to see all space outputs you own including outputs that are actively in auction.

The bid covenant indicates spending this output requires either another bid spend or a registration spend if the claim height is reached learn more.

Claiming a Space

If you're currently winning and the space entered the claim period, you can register it!

space-cli --chain testnet4 register bitcoin

You will get something like this

{
  "outpoint": "",
  "value": 662,
  "script_pubkey": "5120882cd5b0ef333be2efd7efd9bea0953f894677f1d5a638c8a3d13734e99d22e6",
  "name": "@bitcoin",
  "covenant": {
    "type": "transfer",
    "expire_height": 93050,
    "data": null,
  }
}

You may also watch the status of auctions on the explorer

Last updated