-
Notifications
You must be signed in to change notification settings - Fork 60
feat mpl-core-das updates #542
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
Open
MarkSackerberg
wants to merge
3
commits into
main
Choose a base branch
from
docs/mpl-core-das-groups-agents
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
32 changes: 32 additions & 0 deletions
32
src/examples/das-api/core-extension/convert-to-asset/index.js
This file contains hidden or 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,32 @@ | ||
| /** | ||
| * Example: convert-to-asset | ||
| * | ||
| * | ||
| * | ||
| * This file is auto-generated by scripts/build-examples.js | ||
| * Edit the native .js/.ts and .rs files, then run: node scripts/build-examples.js | ||
| */ | ||
|
|
||
| const umiSections = { | ||
| "imports": "import { publicKey } from '@metaplex-foundation/umi'\nimport { createUmi } from '@metaplex-foundation/umi-bundle-defaults'\nimport { dasApi } from '@metaplex-foundation/digital-asset-standard-api'\nimport { das } from '@metaplex-foundation/mpl-core-das'", | ||
| "setup": "const umi = createUmi('<ENDPOINT>').use(dasApi())", | ||
| "main": "const dasAssets = await umi.rpc.getAssetsByOwner({ owner: publicKey('<pubkey>') })\n\nconst dasCoreAssets = dasAssets.items.filter((a) => a.interface === 'MplCoreAsset')\n\nconst coreAssets = await das.dasAssetsToCoreAssets(umi, dasCoreAssets)", | ||
| "output": "console.log(coreAssets)", | ||
| "full": "// [IMPORTS]\nimport { publicKey } from '@metaplex-foundation/umi'\nimport { createUmi } from '@metaplex-foundation/umi-bundle-defaults'\nimport { dasApi } from '@metaplex-foundation/digital-asset-standard-api'\nimport { das } from '@metaplex-foundation/mpl-core-das'\n// [/IMPORTS]\n\n// [SETUP]\nconst umi = createUmi('<ENDPOINT>').use(dasApi())\n// [/SETUP]\n\n// [MAIN]\nconst dasAssets = await umi.rpc.getAssetsByOwner({ owner: publicKey('<pubkey>') })\n\nconst dasCoreAssets = dasAssets.items.filter((a) => a.interface === 'MplCoreAsset')\n\nconst coreAssets = await das.dasAssetsToCoreAssets(umi, dasCoreAssets)\n// [/MAIN]\n\n// [OUTPUT]\nconsole.log(coreAssets)\n// [/OUTPUT]\n" | ||
| } | ||
|
|
||
| export const metadata = { | ||
| title: "convert-to-asset", | ||
| description: "", | ||
| tags: [], | ||
| } | ||
|
|
||
| export const examples = { | ||
| umi: { | ||
| framework: 'Umi', | ||
| language: 'javascript', | ||
| code: umiSections.full, | ||
| sections: umiSections, | ||
| }, | ||
|
|
||
| } |
22 changes: 22 additions & 0 deletions
22
src/examples/das-api/core-extension/convert-to-asset/umi.js
This file contains hidden or 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,22 @@ | ||
| // [IMPORTS] | ||
| import { publicKey } from '@metaplex-foundation/umi' | ||
| import { createUmi } from '@metaplex-foundation/umi-bundle-defaults' | ||
| import { dasApi } from '@metaplex-foundation/digital-asset-standard-api' | ||
| import { das } from '@metaplex-foundation/mpl-core-das' | ||
| // [/IMPORTS] | ||
|
|
||
| // [SETUP] | ||
| const umi = createUmi('<ENDPOINT>').use(dasApi()) | ||
| // [/SETUP] | ||
|
|
||
| // [MAIN] | ||
| const dasAssets = await umi.rpc.getAssetsByOwner({ owner: publicKey('<pubkey>') }) | ||
|
|
||
| const dasCoreAssets = dasAssets.items.filter((a) => a.interface === 'MplCoreAsset') | ||
|
|
||
| const coreAssets = await das.dasAssetsToCoreAssets(umi, dasCoreAssets) | ||
| // [/MAIN] | ||
|
|
||
| // [OUTPUT] | ||
| console.log(coreAssets) | ||
| // [/OUTPUT] |
32 changes: 32 additions & 0 deletions
32
src/examples/das-api/core-extension/convert-to-collection/index.js
This file contains hidden or 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,32 @@ | ||
| /** | ||
| * Example: convert-to-collection | ||
| * | ||
| * | ||
| * | ||
| * This file is auto-generated by scripts/build-examples.js | ||
| * Edit the native .js/.ts and .rs files, then run: node scripts/build-examples.js | ||
| */ | ||
|
|
||
| const umiSections = { | ||
| "imports": "import { publicKey } from '@metaplex-foundation/umi'\nimport { createUmi } from '@metaplex-foundation/umi-bundle-defaults'\nimport { dasApi } from '@metaplex-foundation/digital-asset-standard-api'\nimport { das } from '@metaplex-foundation/mpl-core-das'", | ||
| "setup": "const umi = createUmi('<ENDPOINT>').use(dasApi())", | ||
| "main": "const dasAssets = await umi.rpc.getAssetsByOwner({ owner: publicKey('<pubkey>') })\n\nconst dasCoreCollections = dasAssets.items.filter(\n (a) => a.interface === 'MplCoreCollection'\n)\n\nconst coreCollections = dasCoreCollections.map((item) =>\n das.dasAssetToCoreCollection(item)\n)", | ||
| "output": "console.log(coreCollections)", | ||
| "full": "// [IMPORTS]\nimport { publicKey } from '@metaplex-foundation/umi'\nimport { createUmi } from '@metaplex-foundation/umi-bundle-defaults'\nimport { dasApi } from '@metaplex-foundation/digital-asset-standard-api'\nimport { das } from '@metaplex-foundation/mpl-core-das'\n// [/IMPORTS]\n\n// [SETUP]\nconst umi = createUmi('<ENDPOINT>').use(dasApi())\n// [/SETUP]\n\n// [MAIN]\nconst dasAssets = await umi.rpc.getAssetsByOwner({ owner: publicKey('<pubkey>') })\n\nconst dasCoreCollections = dasAssets.items.filter(\n (a) => a.interface === 'MplCoreCollection'\n)\n\nconst coreCollections = dasCoreCollections.map((item) =>\n das.dasAssetToCoreCollection(item)\n)\n// [/MAIN]\n\n// [OUTPUT]\nconsole.log(coreCollections)\n// [/OUTPUT]\n" | ||
| } | ||
|
|
||
| export const metadata = { | ||
| title: "convert-to-collection", | ||
| description: "", | ||
| tags: [], | ||
| } | ||
|
|
||
| export const examples = { | ||
| umi: { | ||
| framework: 'Umi', | ||
| language: 'javascript', | ||
| code: umiSections.full, | ||
| sections: umiSections, | ||
| }, | ||
|
|
||
| } |
26 changes: 26 additions & 0 deletions
26
src/examples/das-api/core-extension/convert-to-collection/umi.js
This file contains hidden or 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,26 @@ | ||
| // [IMPORTS] | ||
| import { publicKey } from '@metaplex-foundation/umi' | ||
| import { createUmi } from '@metaplex-foundation/umi-bundle-defaults' | ||
| import { dasApi } from '@metaplex-foundation/digital-asset-standard-api' | ||
| import { das } from '@metaplex-foundation/mpl-core-das' | ||
| // [/IMPORTS] | ||
|
|
||
| // [SETUP] | ||
| const umi = createUmi('<ENDPOINT>').use(dasApi()) | ||
| // [/SETUP] | ||
|
|
||
| // [MAIN] | ||
| const dasAssets = await umi.rpc.getAssetsByOwner({ owner: publicKey('<pubkey>') }) | ||
|
|
||
| const dasCoreCollections = dasAssets.items.filter( | ||
| (a) => a.interface === 'MplCoreCollection' | ||
| ) | ||
|
|
||
| const coreCollections = dasCoreCollections.map((item) => | ||
| das.dasAssetToCoreCollection(item) | ||
| ) | ||
| // [/MAIN] | ||
|
|
||
| // [OUTPUT] | ||
| console.log(coreCollections) | ||
| // [/OUTPUT] |
32 changes: 32 additions & 0 deletions
32
src/examples/das-api/core-extension/convert-to-group/index.js
This file contains hidden or 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,32 @@ | ||
| /** | ||
| * Example: convert-to-group | ||
| * | ||
| * | ||
| * | ||
| * This file is auto-generated by scripts/build-examples.js | ||
| * Edit the native .js/.ts and .rs files, then run: node scripts/build-examples.js | ||
| */ | ||
|
|
||
| const umiSections = { | ||
| "imports": "import { publicKey } from '@metaplex-foundation/umi'\nimport { createUmi } from '@metaplex-foundation/umi-bundle-defaults'\nimport { dasApi } from '@metaplex-foundation/digital-asset-standard-api'\nimport { das } from '@metaplex-foundation/mpl-core-das'", | ||
| "setup": "const umi = createUmi('<ENDPOINT>').use(dasApi())", | ||
| "main": "const dasGroup = await umi.rpc.getAsset(publicKey('<groupPubkey>'))\n\nconst coreGroup = das.dasAssetToCoreGroup(dasGroup)", | ||
| "output": "console.log(coreGroup)", | ||
| "full": "// [IMPORTS]\nimport { publicKey } from '@metaplex-foundation/umi'\nimport { createUmi } from '@metaplex-foundation/umi-bundle-defaults'\nimport { dasApi } from '@metaplex-foundation/digital-asset-standard-api'\nimport { das } from '@metaplex-foundation/mpl-core-das'\n// [/IMPORTS]\n\n// [SETUP]\nconst umi = createUmi('<ENDPOINT>').use(dasApi())\n// [/SETUP]\n\n// [MAIN]\nconst dasGroup = await umi.rpc.getAsset(publicKey('<groupPubkey>'))\n\nconst coreGroup = das.dasAssetToCoreGroup(dasGroup)\n// [/MAIN]\n\n// [OUTPUT]\nconsole.log(coreGroup)\n// [/OUTPUT]\n" | ||
| } | ||
|
|
||
| export const metadata = { | ||
| title: "convert-to-group", | ||
| description: "", | ||
| tags: [], | ||
| } | ||
|
|
||
| export const examples = { | ||
| umi: { | ||
| framework: 'Umi', | ||
| language: 'javascript', | ||
| code: umiSections.full, | ||
| sections: umiSections, | ||
| }, | ||
|
|
||
| } |
20 changes: 20 additions & 0 deletions
20
src/examples/das-api/core-extension/convert-to-group/umi.js
This file contains hidden or 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,20 @@ | ||
| // [IMPORTS] | ||
| import { publicKey } from '@metaplex-foundation/umi' | ||
| import { createUmi } from '@metaplex-foundation/umi-bundle-defaults' | ||
| import { dasApi } from '@metaplex-foundation/digital-asset-standard-api' | ||
| import { das } from '@metaplex-foundation/mpl-core-das' | ||
| // [/IMPORTS] | ||
|
|
||
| // [SETUP] | ||
| const umi = createUmi('<ENDPOINT>').use(dasApi()) | ||
| // [/SETUP] | ||
|
|
||
| // [MAIN] | ||
| const dasGroup = await umi.rpc.getAsset(publicKey('<groupPubkey>')) | ||
|
|
||
| const coreGroup = das.dasAssetToCoreGroup(dasGroup) | ||
| // [/MAIN] | ||
|
|
||
| // [OUTPUT] | ||
| console.log(coreGroup) | ||
| // [/OUTPUT] |
This file contains hidden or 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,32 @@ | ||
| /** | ||
| * Example: get-asset | ||
| * | ||
| * | ||
| * | ||
| * This file is auto-generated by scripts/build-examples.js | ||
| * Edit the native .js/.ts and .rs files, then run: node scripts/build-examples.js | ||
| */ | ||
|
|
||
| const umiSections = { | ||
| "imports": "import { createUmi } from '@metaplex-foundation/umi-bundle-defaults'\nimport { dasApi } from '@metaplex-foundation/digital-asset-standard-api'\nimport { das } from '@metaplex-foundation/mpl-core-das'\nimport { publicKey } from '@metaplex-foundation/umi'", | ||
| "setup": "const umi = createUmi('<ENDPOINT>').use(dasApi())\nconst assetId = publicKey('<PublicKey>')", | ||
| "main": "const asset = await das.getAsset(umi, assetId)", | ||
| "output": "console.log(asset)", | ||
| "full": "// [IMPORTS]\nimport { createUmi } from '@metaplex-foundation/umi-bundle-defaults'\nimport { dasApi } from '@metaplex-foundation/digital-asset-standard-api'\nimport { das } from '@metaplex-foundation/mpl-core-das'\nimport { publicKey } from '@metaplex-foundation/umi'\n// [/IMPORTS]\n\n// [SETUP]\nconst umi = createUmi('<ENDPOINT>').use(dasApi())\nconst assetId = publicKey('<PublicKey>')\n// [/SETUP]\n\n// [MAIN]\nconst asset = await das.getAsset(umi, assetId)\n// [/MAIN]\n\n// [OUTPUT]\nconsole.log(asset)\n// [/OUTPUT]\n" | ||
| } | ||
|
|
||
| export const metadata = { | ||
| title: "get-asset", | ||
| description: "", | ||
| tags: [], | ||
| } | ||
|
|
||
| export const examples = { | ||
| umi: { | ||
| framework: 'Umi', | ||
| language: 'javascript', | ||
| code: umiSections.full, | ||
| sections: umiSections, | ||
| }, | ||
|
|
||
| } |
This file contains hidden or 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,19 @@ | ||
| // [IMPORTS] | ||
| import { createUmi } from '@metaplex-foundation/umi-bundle-defaults' | ||
| import { dasApi } from '@metaplex-foundation/digital-asset-standard-api' | ||
| import { das } from '@metaplex-foundation/mpl-core-das' | ||
| import { publicKey } from '@metaplex-foundation/umi' | ||
| // [/IMPORTS] | ||
|
|
||
| // [SETUP] | ||
| const umi = createUmi('<ENDPOINT>').use(dasApi()) | ||
| const assetId = publicKey('<PublicKey>') | ||
| // [/SETUP] | ||
|
|
||
| // [MAIN] | ||
| const asset = await das.getAsset(umi, assetId) | ||
| // [/MAIN] | ||
|
|
||
| // [OUTPUT] | ||
| console.log(asset) | ||
| // [/OUTPUT] |
32 changes: 32 additions & 0 deletions
32
src/examples/das-api/core-extension/get-assets-by-authority/index.js
This file contains hidden or 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,32 @@ | ||
| /** | ||
| * Example: get-assets-by-authority | ||
| * | ||
| * | ||
| * | ||
| * This file is auto-generated by scripts/build-examples.js | ||
| * Edit the native .js/.ts and .rs files, then run: node scripts/build-examples.js | ||
| */ | ||
|
|
||
| const umiSections = { | ||
| "imports": "import { createUmi } from '@metaplex-foundation/umi-bundle-defaults'\nimport { dasApi } from '@metaplex-foundation/digital-asset-standard-api'\nimport { das } from '@metaplex-foundation/mpl-core-das'\nimport { publicKey } from '@metaplex-foundation/umi'", | ||
| "setup": "const umi = createUmi('<ENDPOINT>').use(dasApi())", | ||
| "main": "const assets = await das.getAssetsByAuthority(umi, {\n authority: publicKey('<PublicKey>'),\n})", | ||
| "output": "console.log(assets)", | ||
| "full": "// [IMPORTS]\nimport { createUmi } from '@metaplex-foundation/umi-bundle-defaults'\nimport { dasApi } from '@metaplex-foundation/digital-asset-standard-api'\nimport { das } from '@metaplex-foundation/mpl-core-das'\nimport { publicKey } from '@metaplex-foundation/umi'\n// [/IMPORTS]\n\n// [SETUP]\nconst umi = createUmi('<ENDPOINT>').use(dasApi())\n// [/SETUP]\n\n// [MAIN]\nconst assets = await das.getAssetsByAuthority(umi, {\n authority: publicKey('<PublicKey>'),\n})\n// [/MAIN]\n\n// [OUTPUT]\nconsole.log(assets)\n// [/OUTPUT]\n" | ||
| } | ||
|
|
||
| export const metadata = { | ||
| title: "get-assets-by-authority", | ||
| description: "", | ||
| tags: [], | ||
| } | ||
|
|
||
| export const examples = { | ||
| umi: { | ||
| framework: 'Umi', | ||
| language: 'javascript', | ||
| code: umiSections.full, | ||
| sections: umiSections, | ||
| }, | ||
|
|
||
| } |
20 changes: 20 additions & 0 deletions
20
src/examples/das-api/core-extension/get-assets-by-authority/umi.js
This file contains hidden or 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,20 @@ | ||
| // [IMPORTS] | ||
| import { createUmi } from '@metaplex-foundation/umi-bundle-defaults' | ||
| import { dasApi } from '@metaplex-foundation/digital-asset-standard-api' | ||
| import { das } from '@metaplex-foundation/mpl-core-das' | ||
| import { publicKey } from '@metaplex-foundation/umi' | ||
| // [/IMPORTS] | ||
|
|
||
| // [SETUP] | ||
| const umi = createUmi('<ENDPOINT>').use(dasApi()) | ||
| // [/SETUP] | ||
|
|
||
| // [MAIN] | ||
| const assets = await das.getAssetsByAuthority(umi, { | ||
| authority: publicKey('<PublicKey>'), | ||
| }) | ||
| // [/MAIN] | ||
|
|
||
| // [OUTPUT] | ||
| console.log(assets) | ||
| // [/OUTPUT] |
32 changes: 32 additions & 0 deletions
32
src/examples/das-api/core-extension/get-assets-by-collection/index.js
This file contains hidden or 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,32 @@ | ||
| /** | ||
| * Example: get-assets-by-collection | ||
| * | ||
| * | ||
| * | ||
| * This file is auto-generated by scripts/build-examples.js | ||
| * Edit the native .js/.ts and .rs files, then run: node scripts/build-examples.js | ||
| */ | ||
|
|
||
| const umiSections = { | ||
| "imports": "import { createUmi } from '@metaplex-foundation/umi-bundle-defaults'\nimport { dasApi } from '@metaplex-foundation/digital-asset-standard-api'\nimport { das } from '@metaplex-foundation/mpl-core-das'\nimport { publicKey } from '@metaplex-foundation/umi'", | ||
| "setup": "const umi = createUmi('<ENDPOINT>').use(dasApi())\nconst collection = publicKey('<PublicKey>')", | ||
| "main": "const assets = await das.getAssetsByCollection(umi, { collection })", | ||
| "output": "console.log(assets)", | ||
| "full": "// [IMPORTS]\nimport { createUmi } from '@metaplex-foundation/umi-bundle-defaults'\nimport { dasApi } from '@metaplex-foundation/digital-asset-standard-api'\nimport { das } from '@metaplex-foundation/mpl-core-das'\nimport { publicKey } from '@metaplex-foundation/umi'\n// [/IMPORTS]\n\n// [SETUP]\nconst umi = createUmi('<ENDPOINT>').use(dasApi())\nconst collection = publicKey('<PublicKey>')\n// [/SETUP]\n\n// [MAIN]\nconst assets = await das.getAssetsByCollection(umi, { collection })\n// [/MAIN]\n\n// [OUTPUT]\nconsole.log(assets)\n// [/OUTPUT]\n" | ||
| } | ||
|
|
||
| export const metadata = { | ||
| title: "get-assets-by-collection", | ||
| description: "", | ||
| tags: [], | ||
| } | ||
|
|
||
| export const examples = { | ||
| umi: { | ||
| framework: 'Umi', | ||
| language: 'javascript', | ||
| code: umiSections.full, | ||
| sections: umiSections, | ||
| }, | ||
|
|
||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: metaplex-foundation/developer-hub
Length of output: 516
🏁 Script executed:
Repository: metaplex-foundation/developer-hub
Length of output: 10620
Remove the broken Core routes from navigation and links.
The four hrefs in
src/components/products/das-api/index.jspoint to under/dev-tools/das-api/core-extension/methods/, but those routes do not exist undersrc/pages/en/dev-tools/das-api/core-extension/; only the root DAS methods pages exist. Remove the same slugs from the nav object andsrc/pages/en/dev-tools/das-api/core-extension/index.md.📍 Affects 2 files
src/components/products/das-api/index.js#L70-L78(this comment)src/components/products/das-api/index.js#L127-L134src/pages/en/dev-tools/das-api/core-extension/index.md#L34-L44🤖 Prompt for AI Agents