We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd86950 commit 8c8169fCopy full SHA for 8c8169f
clients/token-metadata/coda.config.mjs
@@ -7,7 +7,7 @@ import {
7
pdaSeedValueNode,
8
pdaValueNode,
9
publicKeyTypeNode,
10
- publicKeyValueNode,
+ TOKEN_METADATA_PROGRAM_VALUE_NODE,
11
updateAccountsVisitor,
12
variablePdaSeedNode,
13
} from "@macalinao/coda";
@@ -90,10 +90,7 @@ export default defineConfig({
90
instruction,
91
account: "metadata",
92
defaultValue: pdaValueNode(pdaLinkNode("metadata"), [
93
- pdaSeedValueNode(
94
- "programId",
95
- publicKeyValueNode("metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"),
96
- ),
+ pdaSeedValueNode("programId", TOKEN_METADATA_PROGRAM_VALUE_NODE),
97
pdaSeedValueNode("mint", accountValueNode("mint")),
98
]),
99
})),
0 commit comments