pyre-world-kit 4.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 CHANGED
@@ -10,8 +10,8 @@ import type { CreateTokenResult, CreateTokenParams } from 'torchsdk';
10
10
  export declare const getBondingCurvePda: (mint: PublicKey) => [PublicKey, number];
11
11
  export declare const getTokenTreasuryPda: (mint: PublicKey) => [PublicKey, number];
12
12
  export declare const getTreasuryLockPda: (mint: PublicKey) => [PublicKey, number];
13
- /** Grind for a keypair whose base58 address ends with "pw" (pyreworld) */
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 "pw") */
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
@@ -50,7 +50,7 @@ const finalizeTransaction = async (connection, tx, feePayer) => {
50
50
  };
51
51
  // ── Vanity grinder ──
52
52
  const PYRE_SUFFIX = 'pr';
53
- /** Grind for a keypair whose base58 address ends with "pw" (pyreworld) */
53
+ /** Grind for a keypair whose base58 address ends with "pr" (pyre) */
54
54
  const grindPyreMint = (maxAttempts = 500_000) => {
55
55
  for (let i = 0; i < maxAttempts; i++) {
56
56
  const kp = web3_js_1.Keypair.generate();
@@ -62,7 +62,7 @@ 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 "pw") */
65
+ /** Check if a mint address is a pyre faction (ends with "pr") */
66
66
  const isPyreMint = (mint) => mint.endsWith(PYRE_SUFFIX);
67
67
  exports.isPyreMint = isPyreMint;
68
68
  // ── Build create transaction with pyre vanity address ──
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pyre-world-kit",
3
- "version": "4.0.0",
3
+ "version": "10.0.1",
4
4
  "description": "Agent-first faction warfare kit — game-semantic wrapper over torchsdk",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/vanity.ts CHANGED
@@ -82,7 +82,7 @@ const finalizeTransaction = async (
82
82
 
83
83
  const PYRE_SUFFIX = 'pr'
84
84
 
85
- /** Grind for a keypair whose base58 address ends with "pw" (pyreworld) */
85
+ /** Grind for a keypair whose base58 address ends with "pr" (pyre) */
86
86
  export const grindPyreMint = (maxAttempts: number = 500_000): Keypair => {
87
87
  for (let i = 0; i < maxAttempts; i++) {
88
88
  const kp = Keypair.generate()
@@ -94,7 +94,7 @@ 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 "pw") */
97
+ /** Check if a mint address is a pyre faction (ends with "pr") */
98
98
  export const isPyreMint = (mint: string): boolean => mint.endsWith(PYRE_SUFFIX)
99
99
 
100
100
  // ── Build create transaction with pyre vanity address ──