Skip to content

Commit

Permalink
Merge pull request #83 from holaplex/abdul/batch-mint
Browse files Browse the repository at this point in the history
messages for batched mint open drop
  • Loading branch information
imabdulbasit committed Oct 17, 2023
2 parents b9a8678 + 5af3df3 commit fee78cb
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
13 changes: 13 additions & 0 deletions nfts.proto
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,18 @@ message SwitchCollectionPayload {
string collection_id = 2;
}

message MintOpenDropTransaction {
string recipient_address = 1;
MetaplexMetadata metadata = 2;
string mint_id = 3;
}

message SolanaMintOpenDropBatchedPayload {
string collection_id = 1;
bool compressed = 2;
repeated MintOpenDropTransaction mint_open_drop_transactions = 3;
}

message NftEvents {
oneof event {
DropTransaction create_drop = 4;
Expand Down Expand Up @@ -248,5 +260,6 @@ message NftEvents {
MetaplexMasterEditionTransaction solana_update_open_drop = 47;
MintMetaplexMetadataTransaction solana_mint_open_drop = 48;
MintMetaplexMetadataTransaction solana_retry_mint_open_drop = 49;
SolanaMintOpenDropBatchedPayload solana_mint_open_drop_batched = 50;
}
}
12 changes: 12 additions & 0 deletions solana_nfts.proto
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,17 @@ message SolanaMintPayload {
Metadata metadata = 10;
}

message SolanaMintPendingTransactions {
repeated string signers_pubkeys = 1;
repeated SolanaMintTransaction mint_transactions = 2;
}

message SolanaMintTransaction {
bytes serialized_message = 1;
string mint_id = 2;
optional string signer_signature = 3;
}

message SolanaNftEvents {
oneof event {
SolanaPendingTransaction create_edition_drop_signing_requested = 1;
Expand Down Expand Up @@ -148,5 +159,6 @@ message SolanaNftEvents {
SolanaFailedTransaction mint_open_drop_failed = 58;
SolanaFailedTransaction retry_create_open_drop_failed = 59;
SolanaFailedTransaction retry_mint_open_drop_failed = 60;
SolanaMintPendingTransactions mint_open_drop_batched_signing_requested = 61;
}
}

0 comments on commit fee78cb

Please sign in to comment.