Skip to content

Commit

Permalink
deploy: 1e7e349
Browse files Browse the repository at this point in the history
  • Loading branch information
ynohtna92 committed Jul 24, 2024
1 parent 973aa03 commit 75b5755
Show file tree
Hide file tree
Showing 285 changed files with 3,218 additions and 2,217 deletions.
2 changes: 0 additions & 2 deletions ar/css/chrome.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/* CSS for UI elements (a.k.a. chrome) */

@import 'variables.css';

html {
scrollbar-color: var(--scrollbar) var(--bg);
}
Expand Down
2 changes: 0 additions & 2 deletions ar/css/general.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/* Base styles and content styles */

@import 'variables.css';

:root {
/* Browser default font-size is 16px, this way 1 rem = 10px */
font-size: 62.5%;
Expand Down
4 changes: 2 additions & 2 deletions ar/guides/collecting/sparrow-wallet.html
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ <h2 id="استيرادها-إلى-محفظة-ord"><a class="header" href="#اس
<p>هناك <a href="https://github.com/ordinals/ord/issues/1589">خلل</a> حاليًا يجعل من المحفظة المستوردة ألا تُمسح تلقائياً ضد سلسلة الكتل. للتغلب على ذلك، ستحتاج إلى تشغيل عملية مسح يدويًا باستخدام واجهة سطر الأوامر للنود البيتكوين: <code>bitcoin-cli -rpcwallet=ord rescanblockchain 767430</code></p>
<p>بعد ذلك، يمكنك التحقق من الإنسكريبشين محفظتك باستخدام <code>ord wallet inscriptions</code></p>
<p>يرجى ملاحظة أنه إذا كنت قد أنشأت بالفعل محفظة بواسطة ord في السابق، فسيكون لديك محفظة بالاسم الافتراضي بالفعل، وستحتاج إلى تعيين اسم محفظتك المستوردة باسم مختلف. يمكنك استخدام <code>wallet--</code> براميتير في جميع أوامر <code>ord</code> للإشارة إلى محفظة مختلفة، على سبيل المثال:</p>
<p><code>ord --wallet ord_from_sparrow wallet restore "BIP39 SEED PHRASE"</code></p>
<p><code>ord --wallet ord_from_sparrow wallet inscriptions</code></p>
<p><code>ord wallet --name ord_from_sparrow wallet restore --from mnemonic</code></p>
<p><code>ord wallet --name ord_from_sparrow wallet inscriptions</code></p>
<p><code>bitcoin-cli -rpcwallet=ord_from_sparrow rescanblockchain 767430</code></p>
<h2 id="جمع-الإنسكريبشين-باستخدام-محفظة-سباروو-sparrow"><a class="header" href="#جمع-الإنسكريبشين-باستخدام-محفظة-سباروو-sparrow">جمع الإنسكريبشين باستخدام محفظة سباروو Sparrow</a></h2>
<h4 id="-تحذير--1"><a class="header" href="#-تحذير--1">⚠️⚠️ تحذير ⚠️⚠️</a></h4>
Expand Down
1 change: 0 additions & 1 deletion ar/guides/explorer.html
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@ <h2 id="json-api"><a class="header" href="#json-api">JSON-API</a></h2>
<li><code>/inscriptions/&lt;FROM&gt;</code></li>
<li><code>/inscriptions/&lt;FROM&gt;/&lt;N&gt;</code></li>
<li><code>/output/&lt;OUTPOINT&gt;</code></li>
<li><code>/output/&lt;OUTPOINT&gt;</code></li>
<li><code>/sat/&lt;SAT&gt;</code></li>
</ul>
<p>To get a list of the latest 100 inscriptions you would do:</p>
Expand Down
10 changes: 6 additions & 4 deletions ar/guides/sat-hunting.html
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ <h1 class="menu-title">Ordinal Theory Handbook</h1>
<div id="content" class="content">
<main>
<h1 id="جمع-الساتوشي"><a class="header" href="#جمع-الساتوشي">جمع الساتوشي</a></h1>
<p>هذا الدليل غير محدّث. منذ كتابته، تم تغيير البرنامج <code>ord</code> الثنائي لبناء فهرس الساتوشي الكامل فقط عندما يتم توفير <code>ord</code> ,<code>--index-sats</code> الآن يحتوي على محفظة مدمجة تلتف حول محفظة بيتكوين الأساسية. راجع <code>ord wallet --help</code>._</p>
<p>صيد الأوردينال أمرٌ صعب ولكنه مكافئ. الشعور بامتلاك محفظة مليئة بـ UTXOs، محملة بالساتوشي النادرة والاستثنائية، لا يمكن وصفه.</p>
<p>أوردينالس هي أعداد تُستخدم للساتوشي. كل ساتوشي لديه رقم ترتيبي وكل رقم ترتيبي لديه ساتوشي.</p>
<h2 id="التحضير"><a class="header" href="#التحضير">التحضير</a></h2>
Expand All @@ -274,10 +273,10 @@ <h2 id="التحضير"><a class="header" href="#التحضير">التحضير<
<p>إحصل على نسخه من <code>ord</code> من خلال <a href="https://github.com/ordinals/ord/">the repo</a>.</p>
</li>
<li>
<p>قم بتشغيل الأمر <code>RUST_LOG=info ord index</code>. يجب أن يتصل بنود Bitcoin Core الخاص بك ويبدأ عملية الفهرسة.</p>
<p>Run <code>ord --index-sats server</code>. It should connect to your bitcoin core node and start indexing.</p>
</li>
<li>
<p>انتظر حتى انتهاء عملية الفهرسة.</p>
<p>Once it has finished indexing, leave the server running and submit new <code>ord</code> commands in a separate terminal session.</p>
</li>
</ul>
</li>
Expand Down Expand Up @@ -420,7 +419,10 @@ <h3 id="exporting-descriptors"><a class="header" href="#exporting-descriptors">E
<h4 id="محفظة-سباروو"><a class="header" href="#محفظة-سباروو">محفظة سباروو</a></h4>
<p>انتقل إلى علامة التبويب "الإعدادات" <code>Settings</code> ثم انتقل إلى "سياسة النص" <code>Script Policy</code> واضغط على زر التحرير (Edit) لعرض الوصف (descriptor).</p>
<h3 id="إرسال-الأوردينالس"><a class="header" href="#إرسال-الأوردينالس">إرسال الأوردينالس</a></h3>
<p>محفظة <code>ord</code> تدعم نقل الساتوشيات الخاصة. يمكنك أيضًا استخدام أوامر <code>bitcoin-cli</code> مثل <code>createrawtransaction</code> و <code>signrawtransactionwithwallet</code> و <code>sendrawtransaction</code> للقيام بذلك، وكيفية القيام بذلك هو معقد وخارج نطاق هذا الدليل.</p>
<p>The <code>ord</code> wallet supports transferring specific satoshis by using the name of the satoshi. To send the satoshi <code>zonefruits</code>, do:</p>
<pre><code>ord wallet send &lt;RECEIVING_ADDRESS&gt; zonefruits --fee-rate 21
</code></pre>
<p>You can also use the <code>bitcoin-cli</code> commands <code>createrawtransaction</code>, <code>signrawtransactionwithwallet</code>, and <code>sendrawtransaction</code>, but this method can be complex and is outside the scope of this guide.</p>

</main>

Expand Down
1 change: 1 addition & 0 deletions ar/guides/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ <h2 id="example-configuration"><a class="header" href="#example-configuration">E
- 6fb976ab49dcec017f1e201e84395983204ae1a7c2abf7ced0a85d692e442799i0
- 703e5f7c49d82aab99e605af306b9a30e991e57d42f982908a962a81ac439832i0
index: /var/lib/ord/index.redb
index_addresses: true
index_cache_size: 1000000000
index_runes: true
index_sats: true
Expand Down
2 changes: 1 addition & 1 deletion ar/guides/teleburning.html
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ <h2 id="ethereum"><a class="header" href="#ethereum">Ethereum</a></h2>
<p>Ethereum teleburn addresses are derived by taking the first 20 bytes of the SHA-256 hash of the inscription ID, serialized as 36 bytes, with the first 32 bytes containing the transaction ID, and the last four bytes containing big-endian inscription index, and interpreting it as an Ethereum address.</p>
<h2 id="مثال"><a class="header" href="#مثال">مثال</a></h2>
<p>The ENS domain name <a href="https://app.ens.domains/rodarmor.eth">rodarmor.eth</a>, was teleburned to <a href="https://ordinals.com/inscription/6fb976ab49dcec017f1e201e84395983204ae1a7c2abf7ced0a85d692e442799i0">inscription zero</a>.</p>
<p>Running the inscription ID of inscription zero is <code>6fb976ab49dcec017f1e201e84395983204ae1a7c2abf7ced0a85d692e442799i0</code>.</p>
<p>The inscription ID of inscription zero is <code>6fb976ab49dcec017f1e201e84395983204ae1a7c2abf7ced0a85d692e442799i0</code>.</p>
<p>Passing <code>6fb976ab49dcec017f1e201e84395983204ae1a7c2abf7ced0a85d692e442799i0</code> to the teleburn command:</p>
<pre><code class="language-bash">$ ord teleburn 6fb976ab49dcec017f1e201e84395983204ae1a7c2abf7ced0a85d692e442799i0
</code></pre>
Expand Down
4 changes: 2 additions & 2 deletions ar/guides/testing.html
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ <h2 id="اختبار-التكرار"><a class="header" href="#اختبار-ال
<pre><code>bitcoin-cli generatetoaddress 6 &lt;receive address&gt;
</code></pre>
<h3 id="mainnet-dependencies"><a class="header" href="#mainnet-dependencies">Mainnet Dependencies</a></h3>
<p>To avoid having to change dependency inscription IDs to mainnet inscription IDs, you may utilize a content proxy when testing. <code>ord server</code> accepts a <code>--content-proxy</code> option, which takes the URL of a another <code>ord server</code> instance. When making a request to <code>/content/&lt;INSCRIPTION_ID&gt;</code> when a content proxy is set and the inscription is not found, <code>ord server</code> will forward the request to the content proxy. This allows you to run a test <code>ord server</code> instance with a mainnet content proxy. You can then use mainnet inscription IDs in your test inscription, which will then return the content of the mainnet inscriptions.</p>
<pre><code>ord --regtest server --content-proxy https://ordinals.com
<p>To avoid having to change dependency inscription IDs to mainnet inscription IDs, you may utilize a content proxy when testing. <code>ord server</code> accepts a <code>--proxy</code> option, which takes the URL of a another <code>ord server</code> instance. When making a request to <code>/content/&lt;INSCRIPTION_ID&gt;</code> when a content proxy is set and the inscription is not found, <code>ord server</code> will forward the request to the content proxy. This allows you to run a test <code>ord server</code> instance with a mainnet content proxy. You can then use mainnet inscription IDs in your test inscription, which will then return the content of the mainnet inscriptions.</p>
<pre><code>ord --regtest server --proxy https://ordinals.com
</code></pre>

</main>
Expand Down
1 change: 1 addition & 0 deletions ar/highlight.js

Large diffs are not rendered by default.

9 changes: 8 additions & 1 deletion ar/inscriptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ <h1 id="إنسكريبشين"><a class="header" href="#إنسكريبشين">إ
</code></pre>
<p>أولاً، يتم دفع سلسلة <code>ord</code> للتفريق بين الكتابات وبين استخدامات أخرى للظروف.</p>
<p><code>OP_PUSH 1</code> indicates that the next push contains the content type, and <code>OP_PUSH 0</code>indicates that subsequent data pushes contain the content itself. Multiple data pushes must be used for large inscriptions, as one of taproot's few restrictions is that individual data pushes may not be larger than 520 bytes.</p>
<p>The inscription content is contained within the input of a reveal transaction, and the inscription is made on the first sat of its input if it has no pointer field. This sat can then be tracked using the familiar rules of ordinal theory, allowing it to be transferred, bought, sold, lost to fees, and recovered.</p>
<p>The inscription content is contained within the input of a reveal transaction, and the inscription is made on the first sat of its input if it has no pointer field. This sat can then be tracked using the familiar rules of ordinal theory, allowing it to be transferred, bought, sold, lost to fees, and recovered.</p>
<h2 id="المحتوى"><a class="header" href="#المحتوى">المحتوى</a></h2>
<p>نموذج بيانات الكتابات هو نفس نموذج الاستجابة HTTP، مما يتيح لمحتوى انسكريبشين أن يتم تقديمه من خلال خادم ويب وعرضه في متصفح ويب.</p>
<h2 id="الحقول"><a class="header" href="#الحقول">الحقول</a></h2>
Expand Down Expand Up @@ -307,6 +307,13 @@ <h2 id="inscription-numbers"><a class="header" href="#inscription-numbers">Inscr
<h2 id="عزل-البيئة"><a class="header" href="#عزل-البيئة">عزل البيئة</a></h2>
<p>يتم عزل الأنسكريبشين HTML و SVG من أجل منع الإشارات إلى المحتوى الخارجي على الشبكة، وبالتالي الحفاظ على الأنسكريبشين بلا تغيير ومكتملة ذاتياً.</p>
<p>يتم تحقيق ذلك من خلال تحميل HTML و SVG انسكريبشين داخل <code>iframes</code> مع صفة <code>sandbox</code>، بالإضافة إلى تقديم محتوى انسكريبشين باستخدام <code>Content-Security-Policy</code> .</p>
<h2 id="self-reference"><a class="header" href="#self-reference">Self-Reference</a></h2>
<p>The content of the inscription with ID <code>INSCRIPTION_ID</code> must served from the URL path <code>/content/&lt;INSCRIPTION_ID&gt;</code>.</p>
<p>This allows inscriptions to retrieve their own inscription ID with:</p>
<pre><code class="language-js">let inscription_id = window.location.pathname.split("/").pop();
</code></pre>
<p>If an inscription with ID X delegates to an inscription with ID Y, that is to say, if inscription X contains a delegate field with value Y, the content of inscription X must be served from the URL path <code>/content/X</code>, <em>not</em> <code>/content/Y</code>.</p>
<p>This allows delegating inscriptions to use their own inscription ID as a seed for generative delegate content.</p>
<h2 id="reinscriptions"><a class="header" href="#reinscriptions">Reinscriptions</a></h2>
<p>Previously inscribed sats can be reinscribed with the <code>--reinscribe</code> command if the inscription is present in the wallet. This will only append an inscription to a sat, not change the initial inscription.</p>
<p>Reinscribe with satpoint: <code>ord wallet inscribe --fee-rate &lt;FEE_RATE&gt; --reinscribe --file &lt;FILE&gt; --satpoint &lt;SATPOINT&gt;</code></p>
Expand Down
2 changes: 1 addition & 1 deletion ar/inscriptions/delegate.html
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ <h1 class="menu-title">Ordinal Theory Handbook</h1>
<div id="content" class="content">
<main>
<h1 id="delegate"><a class="header" href="#delegate">Delegate</a></h1>
<p>Inscriptions may nominate a delegate inscription. Requests for the content of an inscription with a delegate will instead return the content and content type of the delegate. This can be used to cheaply create copies of an inscription.</p>
<p>Inscriptions may nominate a delegate inscription. Requests for the content of an inscription with a delegate will instead return the content, content type and content encoding of the delegate. This can be used to cheaply create copies of an inscription.</p>
<h3 id="specification"><a class="header" href="#specification">Specification</a></h3>
<p>To create an inscription I with delegate inscription D:</p>
<ul>
Expand Down
59 changes: 44 additions & 15 deletions ar/inscriptions/recursion.html
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,12 @@ <h1 id="التكرار"><a class="header" href="#التكرار">التكرار<
<li><code>/r/blocktime</code>: UNIX time stamp of latest block.</li>
<li><code>/r/children/&lt;INSCRIPTION_ID&gt;</code>: the first 100 child inscription ids.</li>
<li><code>/r/children/&lt;INSCRIPTION_ID&gt;/&lt;PAGE&gt;</code>: the set of 100 child inscription ids on <code>&lt;PAGE&gt;</code>.</li>
<li><code>/r/children/&lt;INSCRIPTION_ID&gt;/inscriptions</code>: details of the first 100 child inscriptions.</li>
<li><code>/r/children/&lt;INSCRIPTION_ID&gt;/inscriptions/&lt;PAGE&gt;</code>: details of the set of 100 child inscriptions on <code>&lt;PAGE&gt;</code>.</li>
<li><code>/r/inscription/&lt;INSCRIPTION_ID&gt;</code>: information about an inscription</li>
<li><code>/r/metadata/&lt;INSCRIPTION_ID&gt;</code>: JSON string containing the hex-encoded CBOR metadata.</li>
<li><code>/r/parents/&lt;INSCRIPTION_ID&gt;</code>: the first 100 parent inscription ids.</li>
<li><code>/r/parents/&lt;INSCRIPTION_ID&gt;/&lt;PAGE&gt;</code>: the set of 100 parent inscription ids on <code>&lt;PAGE&gt;</code>.</li>
<li><code>/r/sat/&lt;SAT_NUMBER&gt;</code>: the first 100 inscription ids on a sat.</li>
<li><code>/r/sat/&lt;SAT_NUMBER&gt;/&lt;PAGE&gt;</code>: the set of 100 inscription ids on <code>&lt;PAGE&gt;</code>.</li>
<li><code>/r/sat/&lt;SAT_NUMBER&gt;/at/&lt;INDEX&gt;</code>: the inscription id at <code>&lt;INDEX&gt;</code> of all inscriptions on a sat. <code>&lt;INDEX&gt;</code> may be a negative number to index from the back. <code>0</code> being the first and <code>-1</code> being the most recent for example.</li>
Expand All @@ -310,6 +314,7 @@ <h2 id="examples"><a class="header" href="#examples">Examples</a></h2>
<ul>
<li><code>/r/blockinfo/0</code>:</li>
</ul>
<p>Note: <code>feerate_percentiles</code> are feerates at the 10th, 25th, 50th, 75th, and 90th percentile in sats/vB.</p>
<pre><code class="language-json">{
"average_fee": 0,
"average_fee_rate": 0,
Expand All @@ -318,6 +323,7 @@ <h2 id="examples"><a class="header" href="#examples">Examples</a></h2>
"confirmations": 0,
"difficulty": 0.0,
"hash": "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f",
"feerate_percentiles": [0, 0, 0, 0, 0],
"height": 0,
"max_fee": 0,
"max_fee_rate": 0,
Expand Down Expand Up @@ -361,12 +367,50 @@ <h2 id="examples"><a class="header" href="#examples">Examples</a></h2>
}
</code></pre>
<ul>
<li><code>/r/children/60bcf821240064a9c55225c4f01711b0ebbcab39aa3fafeefe4299ab158536fai0/inscriptions/49</code>:</li>
</ul>
<pre><code class="language-json">{
"children": [
{
"charms": [
"cursed"
],
"fee": 44,
"height": 813929,
"id": "7cd66b8e3a63dcd2fada917119830286bca0637267709d6df1ca78d98a1b4487i4900",
"number": -223695,
"output": "dcaaeacf58faea0927468ea5a93f33b7d7447841e66f75db5a655d735510c518:0",
"sat": 1897135510683785,
"satpoint": "dcaaeacf58faea0927468ea5a93f33b7d7447841e66f75db5a655d735510c518:0:74188588",
"timestamp": 1698326262
},
...
{
"charms": [
"cursed"
],
"fee": 44,
"height": 813929,
"id": "7cd66b8e3a63dcd2fada917119830286bca0637267709d6df1ca78d98a1b4487i4936",
"number": -223731,
"output": "dcaaeacf58faea0927468ea5a93f33b7d7447841e66f75db5a655d735510c518:0",
"sat": 1897135510683821,
"satpoint": "dcaaeacf58faea0927468ea5a93f33b7d7447841e66f75db5a655d735510c518:0:74188624",
"timestamp": 1698326262
}
],
"more": false,
"page": 49
}
</code></pre>
<ul>
<li><code>/r/inscription/3bd72a7ef68776c9429961e43043ff65efa7fb2d8bb407386a9e3b19f149bc36i0</code></li>
</ul>
<pre><code class="language-json">{
"charms": [],
"content_type": "image/png",
"content_length": 144037,
"delegate": null,
"fee": 36352,
"height": 209,
"id": "3bd72a7ef68776c9429961e43043ff65efa7fb2d8bb407386a9e3b19f149bc36i0",
Expand Down Expand Up @@ -400,21 +444,6 @@ <h2 id="examples"><a class="header" href="#examples">Examples</a></h2>
<pre><code class="language-json">{
"id":"17541f6adf6eb160d52bc6eb0a3546c7c1d2adfe607b1a3cddc72cc0619526adi0"
}
</code></pre>
<ul>
<li><code>/r/children/60bcf821240064a9c55225c4f01711b0ebbcab39aa3fafeefe4299ab158536fai0/49</code>:</li>
</ul>
<pre><code class="language-json">{
"ids":[
"7cd66b8e3a63dcd2fada917119830286bca0637267709d6df1ca78d98a1b4487i4900",
"7cd66b8e3a63dcd2fada917119830286bca0637267709d6df1ca78d98a1b4487i4901",
...
"7cd66b8e3a63dcd2fada917119830286bca0637267709d6df1ca78d98a1b4487i4935",
"7cd66b8e3a63dcd2fada917119830286bca0637267709d6df1ca78d98a1b4487i4936"
],
"more":false,
"page":49
}
</code></pre>

</main>
Expand Down
Loading

0 comments on commit 75b5755

Please sign in to comment.