Skip to content

Commit

Permalink
WIP rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
ffranr committed Jan 14, 2025
1 parent 241fdea commit c42791d
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions taprpc/mintrpc/mint.proto
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,25 @@ message FundBatchResponse {
VerboseBatch batch = 1;
}

message WitnessStack {
// The witness stack for the asset group.
repeated bytes witness = 1;
}

message GroupSeal {
// The asset ID of the pending asset that should be assigned this asset
// group witness.
bytes genesis_id = 1;

oneof group_seal {
// The serialized witness stack for the asset group.
WitnessStack witness = 2;

// The base64 encoded signed group virtual PSBT.
string signed_group_virtual_psbt = 3;
}
}

message SealBatchRequest {
/*
If true, then the assets currently in the batch won't be returned in the
Expand All @@ -332,11 +351,12 @@ message SealBatchRequest {
*/
bool short_response = 1;

// This field is deprecated. Use the `seals` field instead.
// The assetID, witness pairs that authorize asset membership in a group.
repeated taprpc.GroupWitness group_witnesses = 2;
repeated taprpc.GroupWitness group_witnesses = 2 [deprecated = true];

// The base64 encoded signed group virtual PSBTs.
repeated string signed_group_virtual_psbts = 3;
// Group seals that authorize asset membership in a group.
repeated GroupSeal seals = 3;
}

message SealBatchResponse {
Expand Down

0 comments on commit c42791d

Please sign in to comment.