Orgchain v1.14: soulbound belts ride their seats' sats
A belt is soulbound: the reducer already bound it to the seat it names, and now the lab inscribes it on that seat's own sat, so by ordinal theory it goes wherever the seat goes and never sells apart from it. One reveal carries an award, three coins in: the seat's, which the pointer puts the belt in and the seat's own key signs, accepting it; the issuer's, the parent; and the commit, which pays the fee. Both coins come back unchanged, so an award needs no postage and costs two fees (1,000 sats). ord marks it a reinscription and vindicated, since a pointer and an envelope past the first input would have cursed it before the jubilee. The engine takes that three-input reveal and nothing looser: the parent spent from the inscriber's key, both coins returned unchanged, the pointer on an inscribed sat of the first. A belt is never a lot, and an award can't land in a tree that is listed or sold. Trees count and split by inscribed sat, so a seat's belts stay on it through every sale. Inspect shows a node's belts and ord's charms, and the award form says whose sat the belt will ride. Belts from before v1.14 stay with their issuers and count the same. Rehearsed on Bitcoin Core regtest from height 161: sixteen beats and 131 transactions; ord charms the three belts as the lab does, and after two whole-tree sales each belt shares its seat's satpoint. The compare now checks satpoints and charms. 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
74ed801176
commit
c8c18b073e
18 files changed
+368
-107
No files matched your search
+5
-2
@@ -122,8 +122,11 @@ test('each holding has its own root, and every node holds its inscription at its
|
||||
});
|
||||
assert.match(a.taproot.address, /^bcrt1p/);
|
||||
assert.match(a.segwit.address, /^bcrt1q/);
|
||||
const award = act(lab, 'award', ops, { to: bot, skill: 'launch', belt: 'green' });
|
||||
assert.equal(at(lab, award), key(opsSeed, 0), 'an act is signed by its authorizer, and its record stays with that key');
|
||||
// A belt is signed for by its authorizer (ops, its parent) and rides its recipient's sat: one coin, one sat, at bot's key.
|
||||
const award = act(lab, 'award', ops, { to: bot, skill: 'launch', belt: 'green' }), coin = holderCoin(lab.chain, award);
|
||||
assert.equal(at(lab, award), key(opsSeed, 1), "a belt rides its recipient's sat");
|
||||
assert.equal(coin, holderCoin(lab.chain, bot));
|
||||
assert.equal(new Set(coin.inscriptions.map(i => i.sat)).size, 1);
|
||||
const other = act(lab, 'found', null, { name: 'other' });
|
||||
assert.notEqual(lab.keys.roots[other], m);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user