@1sat/actions 0.0.235 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/1color/deploy.d.ts +35 -0
- package/dist/1color/deploy.d.ts.map +1 -0
- package/dist/1color/deploy.js +127 -0
- package/dist/1color/deploy.js.map +1 -0
- package/dist/{mandala → 1color}/deploy.test.d.ts.map +1 -1
- package/dist/1color/deploy.test.js +188 -0
- package/dist/1color/deploy.test.js.map +1 -0
- package/dist/1color/index.d.ts +10 -0
- package/dist/{mandala → 1color}/index.d.ts.map +1 -1
- package/dist/1color/index.js +12 -0
- package/dist/1color/index.js.map +1 -0
- package/dist/1color/receipt.d.ts +39 -0
- package/dist/1color/receipt.d.ts.map +1 -0
- package/dist/1color/receipt.js +91 -0
- package/dist/1color/receipt.js.map +1 -0
- package/dist/1color/send.d.ts +52 -0
- package/dist/1color/send.d.ts.map +1 -0
- package/dist/1color/send.js +175 -0
- package/dist/1color/send.js.map +1 -0
- package/dist/{mandala → 1color}/send.test.d.ts.map +1 -1
- package/dist/1color/send.test.js +622 -0
- package/dist/1color/send.test.js.map +1 -0
- package/dist/funding/walletFunding.d.ts +1 -2
- package/dist/funding/walletFunding.d.ts.map +1 -1
- package/dist/funding/walletFunding.js +1 -2
- package/dist/funding/walletFunding.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/listings/cancelOwnedListings.d.ts.map +1 -1
- package/dist/listings/cancelOwnedListings.js +7 -3
- package/dist/listings/cancelOwnedListings.js.map +1 -1
- package/dist/locks/index.d.ts.map +1 -1
- package/dist/locks/index.js +2 -1
- package/dist/locks/index.js.map +1 -1
- package/dist/metanet/delivery.d.ts +69 -0
- package/dist/metanet/delivery.d.ts.map +1 -0
- package/dist/metanet/delivery.js +235 -0
- package/dist/metanet/delivery.js.map +1 -0
- package/dist/metanet/delivery.test.d.ts +2 -0
- package/dist/metanet/delivery.test.d.ts.map +1 -0
- package/dist/metanet/delivery.test.js +125 -0
- package/dist/metanet/delivery.test.js.map +1 -0
- package/dist/metanet/envelope.test.js +1 -1
- package/dist/metanet/envelope.test.js.map +1 -1
- package/dist/metanet/inbox.d.ts +2 -2
- package/dist/metanet/inbox.js +2 -2
- package/dist/metanet/index.d.ts +5 -3
- package/dist/metanet/index.d.ts.map +1 -1
- package/dist/metanet/index.js +6 -4
- package/dist/metanet/index.js.map +1 -1
- package/dist/metanet/receive.d.ts +46 -16
- package/dist/metanet/receive.d.ts.map +1 -1
- package/dist/metanet/receive.js +118 -17
- package/dist/metanet/receive.js.map +1 -1
- package/dist/metanet/relay.d.ts +1 -1
- package/dist/metanet/relay.js +1 -1
- package/dist/metanet/testdata/brc232-vectors.json +86 -0
- package/dist/opns/index.d.ts.map +1 -1
- package/dist/opns/index.js +2 -1
- package/dist/opns/index.js.map +1 -1
- package/dist/ordinals/index.d.ts.map +1 -1
- package/dist/ordinals/index.js +2 -1
- package/dist/ordinals/index.js.map +1 -1
- package/dist/payments/index.d.ts +1 -1
- package/dist/payments/index.js +3 -3
- package/dist/payments/index.js.map +1 -1
- package/dist/payments/sendBsvHandle.test.js +52 -34
- package/dist/payments/sendBsvHandle.test.js.map +1 -1
- package/package.json +10 -9
- package/dist/mandala/deploy.d.ts +0 -89
- package/dist/mandala/deploy.d.ts.map +0 -1
- package/dist/mandala/deploy.js +0 -226
- package/dist/mandala/deploy.js.map +0 -1
- package/dist/mandala/deploy.test.js +0 -281
- package/dist/mandala/deploy.test.js.map +0 -1
- package/dist/mandala/index.d.ts +0 -9
- package/dist/mandala/index.js +0 -17
- package/dist/mandala/index.js.map +0 -1
- package/dist/mandala/receive.d.ts +0 -58
- package/dist/mandala/receive.d.ts.map +0 -1
- package/dist/mandala/receive.js +0 -162
- package/dist/mandala/receive.js.map +0 -1
- package/dist/mandala/send.d.ts +0 -74
- package/dist/mandala/send.d.ts.map +0 -1
- package/dist/mandala/send.js +0 -313
- package/dist/mandala/send.js.map +0 -1
- package/dist/mandala/send.test.js +0 -515
- package/dist/mandala/send.test.js.map +0 -1
- package/dist/mandala/tokenId.d.ts +0 -21
- package/dist/mandala/tokenId.d.ts.map +0 -1
- package/dist/mandala/tokenId.js +0 -29
- package/dist/mandala/tokenId.js.map +0 -1
- /package/dist/{mandala → 1color}/deploy.test.d.ts +0 -0
- /package/dist/{mandala → 1color}/send.test.d.ts +0 -0
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 1Color (BRC-162) send to a BRC-169 handle through the wallet's BRC-207
|
|
3
|
+
* `color` module, delivered per BRC-232.
|
|
4
|
+
*
|
|
5
|
+
* 1. Resolve the handle (`resolveHandle`): identity key + messagebox.
|
|
6
|
+
* 2. Derive the recipient's key under `colorProtocolID(assetId, prefix,
|
|
7
|
+
* suffix)` (fresh random base64 prefix and suffix), keyID `color`,
|
|
8
|
+
* counterparty = the recipient, and build the 1Color value output.
|
|
9
|
+
* 3. One `createAction` with that single output, the BRC-207 plan (assets
|
|
10
|
+
* `[assetId]`, no owned outputs, one `transfer`) plus the BRC-177 label
|
|
11
|
+
* `p nosend expiry seconds <n>`, `noSend` and `randomizeOutputs: false`:
|
|
12
|
+
* the handoff. The module selects the token inputs, splits to the exact
|
|
13
|
+
* amount when it has to, signs and asks for consent. The action is not
|
|
14
|
+
* broadcast; the recipient submits it.
|
|
15
|
+
* 4. Delivery: a signed BRC-169 envelope to the resolved messagebox, box
|
|
16
|
+
* `transaction-delivery`, `payment: null`, whose encrypted content is the
|
|
17
|
+
* BRC-232 MIME entity with one `basket insertion` receipt into
|
|
18
|
+
* `p color <assetTag>`.
|
|
19
|
+
*
|
|
20
|
+
* When delivery fails the result carries the error with `txid` and `tx`, so
|
|
21
|
+
* the caller can retry delivery or `abortAction` the send.
|
|
22
|
+
*/
|
|
23
|
+
import { resolveHandle } from '@1sat/client';
|
|
24
|
+
import { OneColor } from '@1sat/templates';
|
|
25
|
+
import { COLOR_SEND_EXPIRY_SECONDS, TRANSACTION_DELIVERY_BOX, } from '@1sat/types';
|
|
26
|
+
import { COLOR_KEY_ID, ColorPlan, ISSUE, assetBasket, colorProtocolID, } from '@bsv/color-permission-module';
|
|
27
|
+
import { Beef, PublicKey, Utils } from '@bsv/sdk';
|
|
28
|
+
import { randomBase64, sendEnvelope } from '../metanet/deliver.js';
|
|
29
|
+
import { encodeTransactionDeliveryMime } from '../metanet/delivery.js';
|
|
30
|
+
import { colorReceiptInstructions } from './receipt.js';
|
|
31
|
+
export const send1Color = {
|
|
32
|
+
meta: {
|
|
33
|
+
name: 'send1Color',
|
|
34
|
+
description: "Send 1Color (BRC-162) tokens to a BRC-169 handle: a BRC-177 handoff built by the wallet's BRC-207 color module, delivered (BRC-232) in a signed envelope to the handle's transaction-delivery box; the recipient submits it",
|
|
35
|
+
category: 'tokens',
|
|
36
|
+
inputSchema: {
|
|
37
|
+
type: 'object',
|
|
38
|
+
properties: {
|
|
39
|
+
assetId: {
|
|
40
|
+
type: 'string',
|
|
41
|
+
description: 'The asset id, <txid>_<vout>',
|
|
42
|
+
},
|
|
43
|
+
amount: {
|
|
44
|
+
type: 'string',
|
|
45
|
+
description: 'Amount in raw units (string for bigint)',
|
|
46
|
+
},
|
|
47
|
+
destination: {
|
|
48
|
+
type: 'object',
|
|
49
|
+
description: '{ handle } — a BRC-169 handle (@handle@domain)',
|
|
50
|
+
},
|
|
51
|
+
expirySeconds: {
|
|
52
|
+
type: 'integer',
|
|
53
|
+
description: 'BRC-177 nosend expiry in seconds (default 31536000, one year)',
|
|
54
|
+
},
|
|
55
|
+
memo: {
|
|
56
|
+
type: 'string',
|
|
57
|
+
description: 'Optional memo carried in the delivery',
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
required: ['assetId', 'amount', 'destination'],
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
async execute(ctx, input) {
|
|
64
|
+
try {
|
|
65
|
+
const { assetId } = input;
|
|
66
|
+
let basket;
|
|
67
|
+
try {
|
|
68
|
+
if (assetId === ISSUE)
|
|
69
|
+
throw new Error('ISSUE');
|
|
70
|
+
basket = assetBasket(assetId, 'value');
|
|
71
|
+
}
|
|
72
|
+
catch {
|
|
73
|
+
return { error: 'invalid-asset-id: expected <txid>_<vout>' };
|
|
74
|
+
}
|
|
75
|
+
const amount = BigInt(input.amount);
|
|
76
|
+
if (amount <= 0n)
|
|
77
|
+
return { error: 'amount-must-be-positive' };
|
|
78
|
+
// 1. Resolve the handle; the recipient key is derived from it.
|
|
79
|
+
const resolution = await resolveHandle(input.destination.handle);
|
|
80
|
+
// 2. The recipient's output.
|
|
81
|
+
const derivationPrefix = randomBase64();
|
|
82
|
+
const derivationSuffix = randomBase64();
|
|
83
|
+
const { publicKey } = await ctx.wallet.getPublicKey({
|
|
84
|
+
protocolID: colorProtocolID(assetId, derivationPrefix, derivationSuffix),
|
|
85
|
+
keyID: COLOR_KEY_ID,
|
|
86
|
+
counterparty: resolution.identityKey,
|
|
87
|
+
});
|
|
88
|
+
const lockingScript = OneColor.value(assetId, amount, {
|
|
89
|
+
lock: PublicKey.fromString(publicKey).toHash(),
|
|
90
|
+
})
|
|
91
|
+
.lock()
|
|
92
|
+
.toHex();
|
|
93
|
+
// The delivery body, checked (memo bound, receipt) before the handoff
|
|
94
|
+
// exists, so a bad memo leaves no noSend action behind.
|
|
95
|
+
const { publicKey: senderIdentityKey } = await ctx.wallet.getPublicKey({
|
|
96
|
+
identityKey: true,
|
|
97
|
+
});
|
|
98
|
+
const delivery = (txid, beef) => encodeTransactionDeliveryMime({
|
|
99
|
+
version: 1,
|
|
100
|
+
txid: Uint8Array.from(txid),
|
|
101
|
+
beef: Uint8Array.from(beef),
|
|
102
|
+
outputs: [
|
|
103
|
+
{
|
|
104
|
+
outputIndex: 0,
|
|
105
|
+
protocol: 'basket insertion',
|
|
106
|
+
insertionRemittance: {
|
|
107
|
+
basket,
|
|
108
|
+
customInstructions: colorReceiptInstructions({
|
|
109
|
+
assetId,
|
|
110
|
+
derivationPrefix,
|
|
111
|
+
derivationSuffix,
|
|
112
|
+
senderIdentityKey,
|
|
113
|
+
}),
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
// wallet-toolbox cannot issue BRC-177 lifecycle statements yet.
|
|
118
|
+
lifecycles: [],
|
|
119
|
+
...(input.memo !== undefined && { memo: input.memo }),
|
|
120
|
+
});
|
|
121
|
+
delivery(new Array(32).fill(0), []);
|
|
122
|
+
// 3. The handoff; the module funds, splits and signs.
|
|
123
|
+
const expiry = input.expirySeconds ?? COLOR_SEND_EXPIRY_SECONDS;
|
|
124
|
+
const result = await ctx.wallet.createAction({
|
|
125
|
+
description: `Send ${amount} 1Color tokens`.slice(0, 50),
|
|
126
|
+
outputs: [
|
|
127
|
+
{ lockingScript, satoshis: 1, outputDescription: '1Color tokens' },
|
|
128
|
+
],
|
|
129
|
+
labels: [
|
|
130
|
+
...ColorPlan.toLabels({
|
|
131
|
+
version: 1,
|
|
132
|
+
assets: [assetId],
|
|
133
|
+
ownedOutputs: [],
|
|
134
|
+
operations: [{ assetId, operation: 'transfer' }],
|
|
135
|
+
inputPositions: [],
|
|
136
|
+
changePositions: [],
|
|
137
|
+
sighashTypes: [],
|
|
138
|
+
}),
|
|
139
|
+
`p nosend expiry seconds ${expiry}`,
|
|
140
|
+
],
|
|
141
|
+
options: { noSend: true, randomizeOutputs: false },
|
|
142
|
+
});
|
|
143
|
+
if (!result.txid || !result.tx)
|
|
144
|
+
return { error: 'no-transaction' };
|
|
145
|
+
const txid = result.txid;
|
|
146
|
+
const tx = Array.from(result.tx);
|
|
147
|
+
// 4. Deliver.
|
|
148
|
+
try {
|
|
149
|
+
const plaintext = delivery(Utils.toArray(txid, 'hex'), Beef.fromBinary(tx).toBinary());
|
|
150
|
+
const sent = await sendEnvelope(ctx.wallet, resolution, {
|
|
151
|
+
senderIdentityKey,
|
|
152
|
+
plaintext: Array.from(plaintext),
|
|
153
|
+
payment: null,
|
|
154
|
+
messageBox: TRANSACTION_DELIVERY_BOX,
|
|
155
|
+
});
|
|
156
|
+
return { txid, tx, delivered: 'envelope', messageId: sent.messageId };
|
|
157
|
+
}
|
|
158
|
+
catch (error) {
|
|
159
|
+
// The send exists as a noSend action: return it so the caller can
|
|
160
|
+
// retry delivery or abortAction it.
|
|
161
|
+
return {
|
|
162
|
+
txid,
|
|
163
|
+
tx,
|
|
164
|
+
error: `delivery-failed: ${error instanceof Error ? error.message : String(error)}`,
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
catch (error) {
|
|
169
|
+
return {
|
|
170
|
+
error: error instanceof Error ? error.message : String(error),
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
};
|
|
175
|
+
//# sourceMappingURL=send.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send.js","sourceRoot":"","sources":["../../src/1color/send.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAC1C,OAAO,EACN,yBAAyB,EACzB,wBAAwB,GACxB,MAAM,aAAa,CAAA;AACpB,OAAO,EACN,YAAY,EACZ,SAAS,EACT,KAAK,EACL,WAAW,EACX,eAAe,GACf,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAClE,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAA;AAEtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAA;AA6BvD,MAAM,CAAC,MAAM,UAAU,GAA8C;IACpE,IAAI,EAAE;QACL,IAAI,EAAE,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AS,GAAG,QAAQ,CACzB,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,EAC1B,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE,CAC9B,CAAA;gBACD,MAAM,IAAI,GAAG,MAAM,YAAY,CAAC,GAAG,CAAC,MAAM,EAAE,UAAU,EAAE;oBACvD,iBAAiB;oBACjB,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC;oBAChC,OAAO,EAAE,IAAI;oBACb,UAAU,EAAE,wBAAwB;iBACpC,CAAC,CAAA;gBACF,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,CAAA;YACtE,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBAChB,kEAAkE;gBAClE,oCAAoC;gBACpC,OAAO;oBACN,IAAI;oBACJ,EAAE;oBACF,KAAK,EAAE,oBAAoB,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE;iBACnF,CAAA;YACF,CAAC;QACF,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YAChB,OAAO;gBACN,KAAK,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;aAC7D,CAAA;QACF,CAAC;IACF,CAAC;CACD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send.test.d.ts","sourceRoot":"","sources":["../../src/
|
|
1
|
+
{"version":3,"file":"send.test.d.ts","sourceRoot":"","sources":["../../src/1color/send.test.ts"],"names":[],"mappings":""}
|