-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- cleanup unused CM config items - allow guards to attach plugins to mints - edition guard will add edition plugin with the edition number set to edition_starting_number + items_redeemed - intended usage is with hidden settings to stamp out identical assets with different edition numbers
- Loading branch information
Showing
41 changed files
with
587 additions
and
369 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,8 +25,8 @@ | |
"author": "Metaplex Maintainers <[email protected]>", | ||
"license": "Apache-2.0", | ||
"peerDependencies": { | ||
"@metaplex-foundation/umi": ">= 0.8.2 < 1", | ||
"@metaplex-foundation/mpl-core": ">= 0.4.2 < 1" | ||
"@metaplex-foundation/mpl-core": ">= 0.4.5 < 1", | ||
"@metaplex-foundation/umi": ">= 0.8.2 < 1" | ||
}, | ||
"dependencies": { | ||
"@metaplex-foundation/mpl-token-metadata": "3.0.0-alpha.27", | ||
|
@@ -37,7 +37,7 @@ | |
"devDependencies": { | ||
"@ava/typescript": "^3.0.1", | ||
"@identity.com/solana-gateway-ts": "^0.12.0", | ||
"@metaplex-foundation/mpl-core": "0.4.2", | ||
"@metaplex-foundation/mpl-core": "^0.4.5", | ||
"@metaplex-foundation/mpl-token-auth-rules": "^1.2.0", | ||
"@metaplex-foundation/umi": "^0.8.2", | ||
"@metaplex-foundation/umi-bundle-tests": "^0.8.2", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { getEditionSerializer, Edition, EditionArgs } from '../generated'; | ||
import { GuardManifest, noopParser } from '../guards'; | ||
|
||
/** | ||
* The edition guard is used add the edition plugin to minted assets | ||
*/ | ||
export const editionGuardManifest: GuardManifest< | ||
EditionArgs, | ||
Edition, | ||
EditionMintArgs | ||
> = { | ||
name: 'edition', | ||
serializer: getEditionSerializer, | ||
mintParser: noopParser, | ||
routeParser: noopParser, | ||
}; | ||
|
||
export type EditionMintArgs = Omit<EditionArgs, 'lamports'>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.