From 5af3df3edd35940014e726baef5c867a5a22a848 Mon Sep 17 00:00:00 2001 From: imabdulbasit Date: Mon, 16 Oct 2023 17:12:11 +0500 Subject: [PATCH] messages for batched mint open drop --- nfts.proto | 13 +++++++++++++ solana_nfts.proto | 12 ++++++++++++ 2 files changed, 25 insertions(+) diff --git a/nfts.proto b/nfts.proto index 806235c..2cb0be7 100644 --- a/nfts.proto +++ b/nfts.proto @@ -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; @@ -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; } } \ No newline at end of file diff --git a/solana_nfts.proto b/solana_nfts.proto index 501c74c..f49c6e3 100644 --- a/solana_nfts.proto +++ b/solana_nfts.proto @@ -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; @@ -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; } } \ No newline at end of file