Testing ======= Ord can be tested using the following flags to specify the test network. For more information on running Bitcoin Core for testing, see [Bitcoin's developer documentation](https://developer.bitcoin.org/examples/testing.html). Most `ord` commands in [inscriptions](inscriptions.md) and [explorer](explorer.md) can be run with the following network flags: | Network | Flag | |---------|------| | Testnet | `--testnet` or `-t` | | Signet | `--signet` or `-s` | | Regtest | `--regtest` or `-r` | Regtest doesn't require downloading the blockchain or indexing ord. Example ------- Run bitcoind in regtest with: ``` bitcoind -regtest -txindex ``` Create a wallet in regtest with: ``` ord -r wallet create ``` Get a regtest receive address with: ``` ord -r wallet receive ``` Mine 101 blocks (to unlock the coinbase) with: ``` bitcoin-cli -regtest generatetoaddress 101 <receive address> ``` Inscribe in regtest with: ``` ord -r wallet inscribe --fee-rate 1 --file <file> ``` Mine the inscription with: ``` bitcoin-cli -regtest generatetoaddress 1 <receive address>
Inscription number 44,997,401
Genesis block 819,098
File type text
File size 1.06 KB
Creation date