ウォレット
単一のコングは、ビットコインウォレットに保存され、ビットコイントランザクションを使用して転送されるビットコインネイティブデジタルアーティファクトを作成するために、任意のコンテンツを刻印することができます。の銘文はビットコイン自体と同じくらい持続的で、不変で、安全で、分散化されています。
銘文を使用するには、ビットコインのブロックチェーンの現在の状態を知ることができるビットコインの完全なノードが必要です。また、銘文を作成し、取引を構築することができます」他のウォレットに銘文を送信するときにスマートコントロールを実行するウォレット。
Bitcoin Core ビットコインのフルノードとウォレットを提供します。しかし,Bitcoin Coreウォレットは碑文を作成できず、スマートコントロールを実行しません。
これには'ord',序数ユーティリティ。'ord'は自分のウォレットを持っていないので、'ord wallet'サブコマンドはBitcoin Coreウォレットと対話します。
このガイドの含まれ:
- Bitcoin Coreを取り付けます。
- ビットコインのブロックを同期します。
- Bitcoin Core ウォレットを作り上げます。
ord wallet receive
を使って聡を取り受けます。ord wallet inscribe
を使って、銘文を作り上げます。ord wallet send
を使って`銘文を発送しますord wallet receive
を使って`銘文を受け取ります。- Batch inscribing with
ord wallet inscribe --batch
助けを求めます。
困ったことがあったら、Ordinals Discord Server,またはGithubの関連内容をチェックする質問とディスカッション.
Bitcoin Coreを取り付けます。
Making inscriptions requires Bitcoin Core 28 or newer.
This guide does not cover installing Bitcoin Core in detail. Once Bitcoin Core is installed, you should be able to run bitcoind -version
successfully from the command line. Do NOT use bitcoin-qt
.
Bitcoin Coreを配置します。
ord
requires Bitcoin Core's transaction index and rest interface.
トランザクションインデックスを配置するためにBitcoin Coreフェーズを設定します,'bitcoin.conf'に追加する必要があります::
txindex=1
または, bitcoind
和 -txindex
を運行します:
bitcoind -txindex
Details on creating or modifying your bitcoin.conf
file can be found here.
ビットコインのブロックを同期にします。
ブロックを同期にして、運行します:
bitcoind -txindex
… getblockcount運行するまで
:
bitcoin-cli getblockcount
ブロックチェーンブラウザのように[the mempool.space block explorer](https://mempool.space/)のようにブロックを記述する...ord
は'bitcoind'と相互作用するので、'ord'を使用するときは'bitcoind'をバックグラウンドで実行する必要があります。
The blockchain takes about 600GB of disk space. If you have an external drive you want to store blocks on, use the configuration option blocksdir=<external_drive_path>
. This is much simpler than using the datadir
option because the cookie file will still be in the default location for bitcoin-cli
and ord
to find.
故障排除
Make sure you can access bitcoind
with bitcoin-cli -getinfo
and that it is fully synced.
If bitcoin-cli -getinfo
returns Could not connect to the server
, bitcoind
is not running.
Make sure rpcuser
, rpcpassword
, or rpcauth
are NOT set in your bitcoin.conf
file. ord
requires using cookie authentication. Make sure there is a file .cookie
in your bitcoin data directory.
If bitcoin-cli -getinfo
returns Could not locate RPC credentials
, then you must specify the cookie file location. If you are using a custom data directory (specifying the datadir
option), then you must specify the cookie location like bitcoin-cli -rpccookiefile=<your_bitcoin_datadir>/.cookie -getinfo
. When running ord
you must specify the cookie file location with --cookie-file=<your_bitcoin_datadir>/.cookie
.
Make sure you do NOT have disablewallet=1
in your bitcoin.conf
file. If bitcoin-cli listwallets
returns Method not found
then the wallet is disabled and you won't be able to use ord
.
Make sure txindex=1
is set. Run bitcoin-cli getindexinfo
and it should return something like
{
"txindex": {
"synced": true,
"best_block_height": 776546
}
}
If it only returns {}
, txindex
is not set. If it returns "synced": false
, bitcoind
is still creating the txindex
. Wait until "synced": true
before using ord
.
If you have maxuploadtarget
set it can interfere with fetching blocks for ord
index. Either remove it or set whitebind=127.0.0.1:8333
.
ord取り付けます。
ord
プログラムはRust言語で書かれており、ソースコードインストール.事前に作成されたファイルは、バージョンリリースページ)からダウンロードできます。
コマンドラインで次のコマンドを使用して、最新のファイルをインストールすることもできます。:
curl --proto '=https' --tlsv1.2 -fsLS https://ordinals.com/install.sh | bash -s
'ord'が正常にインストールされた後、あなたは実行することができます :
ord --version
これにより、「ord」のバージョン番号が出力されます。
Creating a Wallet
ord
uses bitcoind
to manage private keys, sign transactions, and broadcast transactions to the Bitcoin network. Additionally the ord wallet
requires ord server
running in the background. Make sure these programs are running:
bitcoind -txindex
ord server
To create a wallet named ord
, the default, for use with ord wallet
, run:
ord wallet create
This will print out your seed phrase mnemonic, store it somewhere safe.
{
"mnemonic": "dignity buddy actor toast talk crisp city annual tourist orient similar federal",
"passphrase": ""
}
If you want to specify a different name or use an ord server
running on a non-default URL you can set these options:
ord wallet --name foo --server-url http://127.0.0.1:8080 create
To see all available wallet options you can run:
ord wallet help
Restoring and Dumping Wallet
The ord
wallet uses descriptors, so you can export the output descriptors and import them into another descriptor-based wallet. To export the wallet descriptors, which include your private keys:
$ ord wallet dump
==========================================
= THIS STRING CONTAINS YOUR PRIVATE KEYS =
= DO NOT SHARE WITH ANYONE =
==========================================
{
"wallet_name": "ord",
"descriptors": [
{
"desc": "tr([551ac972/86'/1'/0']tprv8h4xBhrfZwX9o1XtUMmz92yNiGRYjF9B1vkvQ858aN1UQcACZNqN9nFzj3vrYPa4jdPMfw4ooMuNBfR4gcYm7LmhKZNTaF4etbN29Tj7UcH/0/*)#uxn94yt5",
"timestamp": 1296688602,
"active": true,
"internal": false,
"range": [
0,
999
],
"next": 0
},
{
"desc": "tr([551ac972/86'/1'/0']tprv8h4xBhrfZwX9o1XtUMmz92yNiGRYjF9B1vkvQ858aN1UQcACZNqN9nFzj3vrYPa4jdPMfw4ooMuNBfR4gcYm7LmhKZNTaF4etbN29Tj7UcH/1/*)#djkyg3mv",
"timestamp": 1296688602,
"active": true,
"internal": true,
"range": [
0,
999
],
"next": 0
}
]
}
An ord
wallet can be restored from a mnemonic:
ord wallet restore --from mnemonic
Type your mnemonic and press return.
To restore from a descriptor in descriptor.json
:
cat descriptor.json | ord wallet restore --from descriptor
To restore from a descriptor in the clipboard:
ord wallet restore --from descriptor
Paste the descriptor into the terminal and press CTRL-D on unix and CTRL-Z on Windows.
聡を取り受けます。
銘文は、単一のコングに作成され、通常のビットコイン取引のためにコングを使用して料金を支払うので、あなたの財布はいくつかのコング(ビットコイン)を必要とします。
'ord'ウォレットの新しいアドレスを作成して、実行します::
ord wallet receive
上記の住所に資金を発送します。
以下のコマンドで取引状況を見ることができます:
ord wallet transactions
取引が確認されたら、'ord wallet outputs'を使って取引の輸出を見ることができるはずです;
銘文の内容を作成します。
聡の上ではあらゆる種類のコンテンツを書き込むことができますが、'ord'ウォレットは'ord'ブロックブラウザで表示できる種類のコンテンツしかサポートしていません。
また、銘文は取引に含まれているため、内容が大きいほど銘文取引にかかる費用が高くなります。
銘文の内容は取引証言に含まれ、証言割引を受ける。トランザクションへの書き込みで支払われる費用の概算を計算するには、コンテンツサイズを4で割ってから、レートを掛けてください。
銘文取引は400,000重量測定単位未満でなければならない。そうでなければ、Bitcoin Coreに中継されないの1バイトの銘文内容には重み測定単位が必要です。銘文取引は銘文の内容だけではないので、銘文の内容は400、000重量計量単位以内に制限されている。390、000の重み測定単位は安全でなければならなりません。
銘文を作成します。
『FILE』の内容で銘文を作成し、実行する必要があります:
ord wallet inscribe --fee-rate FEE_RATE --file FILE
Ordは2つの取引IDが出力されます。1つはcommit取引、もう1つはreveal取引、そして銘文IDです。銘文IDのフォーマットは、'TXIDiN'であり、'TXID'は、取引を開示する取引IDであり、'N'は、取引における銘文を開示するインデックスであ。
CommitCommitトランザクションは銘文の内容を含むtapscriptに提出され、revealトランザクションはそのtapscriptから費やされます。チェーン上のコンテンツを表示し、revealトランザクションの最初の出力の最初のsatにそれらをマークします。
reveal取引が記録されるのを待っている間、あなたは使用することができます[the mempool.space block explorer](https://mempool.space/)は取引の状態をチェックします。
reveal取引が記帳を完了したら、以下のコマンドを使用して銘文IDを照会できます
ord wallet inscriptions
Parent-Child Inscriptions
Parent-child inscriptions enable what is colloquially known as collections, see provenance for more information.
To make an inscription a child of another, the parent inscription has to be inscribed and present in the wallet. To choose a parent run ord wallet inscriptions
and copy the inscription id (<PARENT_INSCRIPTION_ID>
).
Now inscribe the child inscription and specify the parent like so:
ord wallet inscribe --fee-rate FEE_RATE --parent <PARENT_INSCRIPTION_ID> --file CHILD_FILE
This relationship cannot be added retroactively, the parent has to be present at inception of the child.
銘文を発送します
銘文受信者は次のコマンドを使って住所を生成する
ord wallet receive
コマンドを使用して銘文を発送します:
ord wallet send --fee-rate <FEE_RATE> <ADDRESS> <INSCRIPTION_ID>
できなかった取引状況を検査します:
ord wallet transactions
取引が確認されると、受信者は次のコマンドを使用して受信した銘文を見ることができます
ord wallet inscriptions
Sending Runes
銘文受信者は次のコマンドを使って住所を生成する
ord wallet receive
Send the runes by running:
ord wallet send --fee-rate <FEE_RATE> <ADDRESS> <RUNES_AMOUNT>
Where RUNES_AMOUNT
is the number of runes to send, a :
character, and the name of the rune. For example if you want to send 1000 of the EXAMPLE rune, you would use 1000:EXAMPLE
.
ord wallet send --fee-rate 1 SOME_ADDRESS 1000:EXAMPLE
できなかった取引状況を検査します:
ord wallet transactions
Once the send transaction confirms, the recipient can confirm receipt with:
ord wallet balance
銘文を受け取ります
次のコマンドを使用して新しい受信アドレスを生成する
ord wallet receive
送信者はコマンドを使用してあなたの住所に銘文を送信します
ord wallet send --fee-rate <FEE_RATE> ADDRESS INSCRIPTION_ID
できなかった取引状況を検査します:
ord wallet transactions
Once the send transaction confirms, you can confirm receipt by running:
ord wallet inscriptions