Orgchain v1.12: both sides of a deal, and orgs change hands
Deals go both ways now, OpenOrdex's partially signed transaction from either side, on a lot: an item, or an org inside a holding, which its parent sells. Buy makes an offer, the buy order: the buyer signs the whole deal and the holder countersigns. Sell makes an ask, the sell order: the lot's key signs its input alone with SIGHASH_SINGLE|ANYONECANPAY, committing to that input and to the price to the seller and to nothing else, and any node can take it, leading with a 600-sat coin of its own so the lot lands in its output. An org sells cash-free: before its parent lists it or accepts an offer on it, the org's money, gas tank and items go home, so the price is for the org alone, and a listed org is frozen until its ask is taken or withdrawn. Its buyer adopts it with two new lineage/v0 ops, in either order: join, signed by whoever holds the org's inscription, and adopt, signed by the new parent. The org takes the buyer's next index and derives its keys there, and its inscription moves to its new key. Taking an ask adopts at once; after an accepted offer the buyer adopts when it's ready. The seller's tree keeps a row at the old index. Rehearsed on Bitcoin Core regtest: an org sold on an ask, another on an offer and an item on an ask, twelve beats and 104 transactions, and ord tells the same story. The rehearsal caught that a miner can put a join and its adoption in either order within a block, so a move records both halves and each half belongs to both holdings. The sample ends with both sides standing: lineage's offer for the launch kit, and well-known's ask for mailr. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H4upF5LVwmPDDqrhdUfnXh
This commit is contained in:
1 parent
4ad75f0970
commit
adca2709f0
20 files changed
+1018
-195
No files matched your search
+1
-1
@@ -1 +1 @@
|
||||
{"from":120,"ord":{"/blockheight":{"status":200,"body":"130"},"/inscriptions/block/120/0":{"status":200,"body":"{\"ids\":[],\"more\":false,\"page_index\":0}"},"/inscriptions/block/121/0":{"status":200,"body":"{\"ids\":[],\"more\":false,\"page_index\":0}"},"/inscriptions/block/122/0":{"status":200,"body":"{\"ids\":[\"670e71443c12661e35141b76a4d387321bb3c29212db7b04c542026ee6887cfdi0\"],\"more\":false,\"page_index\":0}"},"/inscription/670e71443c12661e35141b76a4d387321bb3c29212db7b04c542026ee6887cfdi0":{"status":200,"body":"{\"address\":\"bcrt1p98e82vaue2cf0t3dh7ew6rtkvwfmfthgkpquqpvuky2upyac3a3szcnws7\",\"charms\":[],\"child_count\":4,\"children\":[\"9f02e5595eb7c2eb0f812e352508c0b417968e889cc4ccbec5a45f9db4540335i0\",\"960288659f234616573724e2a4ef1b62435b404a8d7a82ab580b9340262acdc4i0\",\"3323322d47592ab9977d8a3c8cbf7894581d287b045497074683046a5af74f94i0\",\"7038f2054a1019fcf4b14a099c101b55c350ae9c256bdf2700e1fa4ccfaa7b2ei0\"],\"content_length\":17,\"content_type\":\"text/plain;charset=utf-8\",\"effective_content_type\":\"text/plain;charset=utf-8\",\"fee\":500,\"height\":122,\"id\":\"670e71443c12661e35141b76a4d387321bb3c29212db7b04c542026ee6887cfdi0\",\"metaprotocol\":\"lineage/v0\",\"next\":\"9f02e5595eb7c2eb0f812e352508c0b417968e889cc4ccbec5a45f9db4540335i0\",\"number\":0,\"parents\":[],\"previous\":null,\"properties\":{\"gallery\":[],\"attributes\":{\"title\":null,\"traits\":{}}},\"rune\":null,\"sat\":null,\"satpoint\":\"7038f2054a1019fcf4b14a099c101b55c350ae9c256bdf2700e1fa4ccfaa7b2e:0:0\",\"timestamp\":1792059012,\"value\":1000}"},"/r/metadata/670e71443c12661e35141b76a4d387321bb3c29212db7b04c542026ee6887cfdi0":{"status":200,"body":"\"a2626f7065666f756e64646e616d656b796f6c6f7072656e657572\""},"/inscriptions/block/123/0":{"status":200,"body":"{\"ids\":[\"9f02e5595eb7c2eb0f812e352508c0b417968e889cc4ccbec5a45f9db4540335i0\",\"960288659f234616573724e2a4ef1b62435b404a8d7a82ab580b9340262acdc4i0\",\"3323322d47592ab9977d8a3c8cbf7894581d287b045497074683046a5af74f94i0\"],\"more\":false,\"page_index\":0}"},"/inscription/9f02e5595eb7c2eb0f812e352508c0b417968e889cc4ccbec5a45f9db4540335i0":{"status":200,"body":"{\"address\":\"bcrt1pfu5jhcgwcl5ulxcedvawvfwvazr6yg47c7atwdeg4pgjlaz5y6xsmnpl8p\",\"charms\":[\"vindicated\"],\"child_count\":4,\"children\":[\"4cb00b54088a273ba4898a087f89f691cb5588788a88fbf3803548cabef9df5bi0\",\"039b50131216fb534fba55eb5303879d363fa5e79d5b9301593cbfd0a8ba5cc1i0\",\"af00a5c03ae36ce58514f3913c96278d19069b80b15596234d7269ae9df5da1bi0\",\"d685b1aa792fa8374446810022893b83e81e94d751db4dfaff933ee940e87f6di0\"],\"content_length\":16,\"content_type\":\"text/plain;charset=utf-8\",\"effective_content_type\":\"text/plain;charset=utf-8\",\"fee\":500,\"height\":123,\"id\":\"9f02e5595eb7c2eb0f812e352508c0b417968e889cc4ccbec5a45f9db4540335i0\",\"metaprotocol\":\"lineage/v0\",\"next\":\"960288659f234616573724e2a4ef1b62435b404a8d7a82ab580b9340262acdc4i0\",\"number\":1,\"parents\":[\"670e71443c12661e35141b76a4d387321bb3c29212db7b04c542026ee6887cfdi0\"],\"previous\":\"670e71443c12661e35141b76a4d387321bb3c29212db7b04c542026ee6887cfdi0\",\"properties\":{\"gallery\":[],\"attributes\":{\"title\":null,\"traits\":{}}},\"rune\":null,\"sat\":null,\"satpoint\":\"d685b1aa792fa8374446810022893b83e81e94d751db4dfaff933ee940e87f6d:0:0\",\"timestamp\":1792059012,\"value\":1000}"},"/r/metadata/9f02e5595eb7c2eb0f812e352508c0b417968e889cc4ccbec5a45f9db4540335i0":{"status":200,"body":"\"a3626f70656269727468646e616d656a77656c6c2d6b6e6f776e646b696e64636f7267\""},"/inscription/960288659f234616573724e2a4ef1b62435b404a8d7a82ab580b9340262acdc4i0":{"status":200,"body":"{\"address\":\"bcrt1pc4kjexj5dj6v0eqssyxhvp7gharjz57hasjt08e3c8tfjrzmqc0qudw520\",\"charms\":[\"vindicated\"],\"child_count\":9,\"children\":[\"3ccebeb504beda9f8b8ce6f18486476fd6e663d645d6341dec53235b5ff5775fi0\",\"404acff09740f6ff639788419d41f08377ef8373f517d5b92a74690e68b47ffdi0\",\"7f19f0b1aaa45c08f1a0fcd85ea0201ee27335be351f985c3c8c1325212858abi0\",\"4c156019dfc5faa5b0f4bdb5693141560d7fb64c0e253bcdb45dee21093536cbi0\"],\"content_length\":10,\"content_type\":\"text/plain;charset=utf-8\",\"effective_content_type\":\"text/plain;charset=utf-8\",\"fee\":500,\"height\":123,\"id\":\"960288659f234616573724e2a4ef1b62435b404a8d7a82ab580b9340262acdc4i0\",\"metaprotocol\":\"lineage/v0\",\"next\":\"3323322d47592ab9977d8a3c8cbf7894581d287b045497074683046a5af74f94i0\",\"number\":2,\"parents\":[\"670e71443c12661e35141b76a4d387321bb3c29212db7b04c542026ee6887cfdi0\"],\"previous\":\"9f02e5595eb7c2eb0f812e352508c0b417968e889cc4ccbec5a45f9db4540335i0\",\"properties\":{\"gallery\":[],\"attributes\":{\"title\":null,\"traits\":{}}},\"rune\":null,\"sat\":null,\"satpoint\":\"7f54b915ca84d5ff088a457e14a8075a332e2f2df8e4e04d4e34c0016fedbb66:0:0\",\"timestamp\":1792059012,\"value\":1000}"},"/r/metadata/960288659f234616573724e2a4ef1b62435b404a8d7a82ab580b9340262acdc4i0":{"status":200,"body":"\"a3626f70656269727468646e616d656474696d65646b696e64636f7267\""},"/inscription/3323322d47592ab9977d8a3c8cbLine truncated
|
||||
{"from":131,"ord":{"/blockheight":{"status":200,"body":"143"},"/inscriptions/block/131/0":{"status":200,"body":"{\"ids\":[],\"more\":false,\"page_index\":0}"},"/inscriptions/block/132/0":{"status":200,"body":"{\"ids\":[\"9dc64a0a883bab87e1bc1008f845a4ac93bdb3935679b81e7b79727c34aaac3ai0\"],\"more\":false,\"page_index\":0}"},"/inscription/9dc64a0a883bab87e1bc1008f845a4ac93bdb3935679b81e7b79727c34aaac3ai0":{"status":200,"body":"{\"address\":\"bcrt1p0r470xzznztntm05dq8v938p7nq330nk2y5d2zllel2jdzm2v80swckzlv\",\"charms\":[],\"child_count\":4,\"children\":[\"e47a281eb5f5851d456146daa7f47ddea213b933a996612d73fd8d74689baf3di0\",\"6ab4416904ee6c7dfc4f253d87401bab6a67819b93d3b0bbb41f1ba33fd250f3i0\",\"3bf8e5e39d3bb4e2ad4e489384b159ac5bcce43239b99ecef45fc7e462fa2d17i0\",\"985a84296273e00e2d4e33b378bf96642688e9d71e037d2187c7209729ca4a4ei0\"],\"content_length\":17,\"content_type\":\"text/plain;charset=utf-8\",\"effective_content_type\":\"text/plain;charset=utf-8\",\"fee\":500,\"height\":132,\"id\":\"9dc64a0a883bab87e1bc1008f845a4ac93bdb3935679b81e7b79727c34aaac3ai0\",\"metaprotocol\":\"lineage/v0\",\"next\":\"e47a281eb5f5851d456146daa7f47ddea213b933a996612d73fd8d74689baf3di0\",\"number\":26,\"parents\":[],\"previous\":\"1f3d2c833ab2a53819acdeabbec554ea5179fabf492c3d03ef0c35080585c353i0\",\"properties\":{\"gallery\":[],\"attributes\":{\"title\":null,\"traits\":{}}},\"rune\":null,\"sat\":null,\"satpoint\":\"985a84296273e00e2d4e33b378bf96642688e9d71e037d2187c7209729ca4a4e:0:0\",\"timestamp\":1792095645,\"value\":1000}"},"/r/metadata/9dc64a0a883bab87e1bc1008f845a4ac93bdb3935679b81e7b79727c34aaac3ai0":{"status":200,"body":"\"a2626f7065666f756e64646e616d656b796f6c6f7072656e657572\""},"/inscriptions/block/133/0":{"status":200,"body":"{\"ids\":[\"e47a281eb5f5851d456146daa7f47ddea213b933a996612d73fd8d74689baf3di0\",\"6ab4416904ee6c7dfc4f253d87401bab6a67819b93d3b0bbb41f1ba33fd250f3i0\",\"3bf8e5e39d3bb4e2ad4e489384b159ac5bcce43239b99ecef45fc7e462fa2d17i0\"],\"more\":false,\"page_index\":0}"},"/inscription/e47a281eb5f5851d456146daa7f47ddea213b933a996612d73fd8d74689baf3di0":{"status":200,"body":"{\"address\":\"bcrt1pl86je4gdrwd9f6muqklvkx7p8fkdjc6lvdd8edw6p0n5yer9yeaqtx3ge0\",\"charms\":[\"vindicated\"],\"child_count\":4,\"children\":[\"9bfaee1d0b248cd4724078a266bf49449dd59bf824e75c48f2f56d2bd7e1e010i0\",\"93fb40e95e0f173e6fe1886bf4ef4150b2edb1554dccd3265a77614bd62b0293i0\",\"9f18ccf3f9a3e0e28babe30534eb5c095bd9ca2027342b861c7c019f2e762081i0\",\"e250fc385eaad5cf585a2f48edf37cd3ac530e9e3c447a5d4ba70c38fe740830i0\"],\"content_length\":16,\"content_type\":\"text/plain;charset=utf-8\",\"effective_content_type\":\"text/plain;charset=utf-8\",\"fee\":500,\"height\":133,\"id\":\"e47a281eb5f5851d456146daa7f47ddea213b933a996612d73fd8d74689baf3di0\",\"metaprotocol\":\"lineage/v0\",\"next\":\"6ab4416904ee6c7dfc4f253d87401bab6a67819b93d3b0bbb41f1ba33fd250f3i0\",\"number\":27,\"parents\":[\"9dc64a0a883bab87e1bc1008f845a4ac93bdb3935679b81e7b79727c34aaac3ai0\"],\"previous\":\"9dc64a0a883bab87e1bc1008f845a4ac93bdb3935679b81e7b79727c34aaac3ai0\",\"properties\":{\"gallery\":[],\"attributes\":{\"title\":null,\"traits\":{}}},\"rune\":null,\"sat\":null,\"satpoint\":\"e250fc385eaad5cf585a2f48edf37cd3ac530e9e3c447a5d4ba70c38fe740830:0:0\",\"timestamp\":1792095646,\"value\":1000}"},"/r/metadata/e47a281eb5f5851d456146daa7f47ddea213b933a996612d73fd8d74689baf3di0":{"status":200,"body":"\"a3626f70656269727468646e616d656a77656c6c2d6b6e6f776e646b696e64636f7267\""},"/inscription/6ab4416904ee6c7dfc4f253d87401bab6a67819b93d3b0bbb41f1ba33fd250f3i0":{"status":200,"body":"{\"address\":\"bcrt1pwmvsrjwv22kfpju3m8s2gsv38swfzunrmuvczjc5gp96l82ykccsut3vnp\",\"charms\":[\"vindicated\"],\"child_count\":9,\"children\":[\"4977a2f56a26a5e32326465c2f14258f053b2bb155e7771a9b7a7cc63b6b7711i0\",\"1b7089c227306b26dab0b680ce56a25700e2e1d154e9d3226430efc9ebe39684i0\",\"b9016558f19a9ab6d52e7b0b92a9b56db4a4c10a3c32663500ce1815f9d7d3b7i0\",\"0edfb7a6b0165c35c817dc70780396208ad1e2cbcc68ff480071b6a0b8aecebei0\"],\"content_length\":10,\"content_type\":\"text/plain;charset=utf-8\",\"effective_content_type\":\"text/plain;charset=utf-8\",\"fee\":500,\"height\":133,\"id\":\"6ab4416904ee6c7dfc4f253d87401bab6a67819b93d3b0bbb41f1ba33fd250f3i0\",\"metaprotocol\":\"lineage/v0\",\"next\":\"3bf8e5e39d3bb4e2ad4e489384b159ac5bcce43239b99ecef45fc7e462fa2d17i0\",\"number\":28,\"parents\":[\"9dc64a0a883bab87e1bc1008f845a4ac93bdb3935679b81e7b79727c34aaac3ai0\"],\"previous\":\"e47a281eb5f5851d456146daa7f47ddea213b933a996612d73fd8d74689baf3di0\",\"properties\":{\"gallery\":[],\"attributes\":{\"title\":null,\"traits\":{}}},\"rune\":null,\"sat\":null,\"satpoint\":\"f7f62e1524cadb10ea9feb5992b9d4b2ac102a2ebddedc4bb9bbec3593ef855a:0:0\",\"timestamp\":1792095646,\"value\":1000}"},"/r/metadata/6ab4416904ee6c7dfc4f253d87401bab6a67819b93d3b0bbb41f1ba33fd250f3i0":{"status":200,"body":"\"a3626f70656269727468646e616d656474696d65646b696e64636f7267\""},"/inscription/3bf8e5e39d3bb4e2ad4e489384b159ac5bcce43239b99ecef45fc7eLine truncated
|
||||
Reference in new issue
Block a user