pyre-world-kit 10.0.0 → 10.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vanity.d.ts +1 -1
- package/dist/vanity.js +2 -2
- package/package.json +1 -1
- package/src/vanity.ts +2 -2
package/dist/vanity.d.ts
CHANGED
|
@@ -12,6 +12,6 @@ export declare const getTokenTreasuryPda: (mint: PublicKey) => [PublicKey, numbe
|
|
|
12
12
|
export declare const getTreasuryLockPda: (mint: PublicKey) => [PublicKey, number];
|
|
13
13
|
/** Grind for a keypair whose base58 address ends with "pr" (pyre) */
|
|
14
14
|
export declare const grindPyreMint: (maxAttempts?: number) => Keypair;
|
|
15
|
-
/** Check if a mint address is a pyre faction (ends with "pr"
|
|
15
|
+
/** Check if a mint address is a pyre faction (ends with "pr") */
|
|
16
16
|
export declare const isPyreMint: (mint: string) => boolean;
|
|
17
17
|
export declare const buildCreateFactionTransaction: (connection: Connection, params: CreateTokenParams) => Promise<CreateTokenResult>;
|
package/dist/vanity.js
CHANGED
|
@@ -62,8 +62,8 @@ const grindPyreMint = (maxAttempts = 500_000) => {
|
|
|
62
62
|
return web3_js_1.Keypair.generate();
|
|
63
63
|
};
|
|
64
64
|
exports.grindPyreMint = grindPyreMint;
|
|
65
|
-
/** Check if a mint address is a pyre faction (ends with "pr"
|
|
66
|
-
const isPyreMint = (mint) => mint.endsWith(PYRE_SUFFIX)
|
|
65
|
+
/** Check if a mint address is a pyre faction (ends with "pr") */
|
|
66
|
+
const isPyreMint = (mint) => mint.endsWith(PYRE_SUFFIX);
|
|
67
67
|
exports.isPyreMint = isPyreMint;
|
|
68
68
|
// ── Build create transaction with pyre vanity address ──
|
|
69
69
|
const buildCreateFactionTransaction = async (connection, params) => {
|
package/package.json
CHANGED
package/src/vanity.ts
CHANGED
|
@@ -94,8 +94,8 @@ export const grindPyreMint = (maxAttempts: number = 500_000): Keypair => {
|
|
|
94
94
|
return Keypair.generate()
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
/** Check if a mint address is a pyre faction (ends with "pr"
|
|
98
|
-
export const isPyreMint = (mint: string): boolean => mint.endsWith(PYRE_SUFFIX)
|
|
97
|
+
/** Check if a mint address is a pyre faction (ends with "pr") */
|
|
98
|
+
export const isPyreMint = (mint: string): boolean => mint.endsWith(PYRE_SUFFIX)
|
|
99
99
|
|
|
100
100
|
// ── Build create transaction with pyre vanity address ──
|
|
101
101
|
|