Skip to content

Commit

Permalink
feat(lazer/sdk/js): export constants (#2252)
Browse files Browse the repository at this point in the history
* export lazer program id

* bump

* export storage id

* add SOLANA prefix
  • Loading branch information
cctdaniel authored Jan 14, 2025
1 parent 8a31bab commit 551c66a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lazer/sdk/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pythnetwork/pyth-lazer-sdk",
"version": "0.2.0",
"version": "0.2.1",
"description": "Pyth Lazer SDK",
"publishConfig": {
"access": "public"
Expand Down
8 changes: 8 additions & 0 deletions lazer/sdk/js/src/constants.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { PublicKey } from "@solana/web3.js";

export const SOLANA_LAZER_PROGRAM_ID = new PublicKey(
"pytd2yyk641x7ak7mkaasSJVXh6YYZnC7wTmtgAyxPt"
);
export const SOLANA_STORAGE_ID = new PublicKey(
"3rdJbqfnagQ4yx9HXJViD4zc4xpiSqmFsKpPuSCQVyQL"
);
1 change: 1 addition & 0 deletions lazer/sdk/js/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * from "./client.js";
export * from "./protocol.js";
export * from "./ed25519.js";
export * from "./constants.js";

0 comments on commit 551c66a

Please sign in to comment.