Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mintBulkCross to NFT and RFT collections #986

Merged
merged 5 commits into from
Sep 25, 2023

Conversation

fairax
Copy link
Contributor

@fairax fairax commented Sep 7, 2023

No description provided.

@fairax fairax self-assigned this Sep 7, 2023
@fairax fairax force-pushed the feature/add_mint_bulk_cross branch 4 times, most recently from d49c1ec to 33895cb Compare September 12, 2023 22:38

/// Token minting parameters
#[derive(AbiCoder, Default, Debug)]
pub struct MintTokenData {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Такую структуру стоит перенести в nonfungible, и для refungible разрешить указывать произвольное число pieces

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

В substrate у нас разрешено 2 вида минтинга: много токенов, один владелец
Один токен, много владельцев

Стоит в таком же формате обрабатывать минтинг, и можно переиспользовать бенчмарки (В теории можно разрешить много токенов * много владельцев, т.к это измеримо с помощью газа, но пока обойдёмся субстратными схемами).

@fairax fairax force-pushed the feature/add_mint_bulk_cross branch from 33895cb to 7fd7521 Compare September 22, 2023 07:33
@fairax fairax requested a review from CertainLach September 22, 2023 07:34
@fairax fairax force-pushed the feature/add_mint_bulk_cross branch from 7fd7521 to 0c121c7 Compare September 22, 2023 08:14
@CertainLach CertainLach merged commit 448629b into develop Sep 25, 2023
20 checks passed
@CertainLach CertainLach deleted the feature/add_mint_bulk_cross branch September 25, 2023 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants