Skip to content

Commit 551c66a

Browse files
authored
feat(lazer/sdk/js): export constants (#2252)
* export lazer program id * bump * export storage id * add SOLANA prefix
1 parent 8a31bab commit 551c66a

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

lazer/sdk/js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pythnetwork/pyth-lazer-sdk",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "Pyth Lazer SDK",
55
"publishConfig": {
66
"access": "public"

lazer/sdk/js/src/constants.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { PublicKey } from "@solana/web3.js";
2+
3+
export const SOLANA_LAZER_PROGRAM_ID = new PublicKey(
4+
"pytd2yyk641x7ak7mkaasSJVXh6YYZnC7wTmtgAyxPt"
5+
);
6+
export const SOLANA_STORAGE_ID = new PublicKey(
7+
"3rdJbqfnagQ4yx9HXJViD4zc4xpiSqmFsKpPuSCQVyQL"
8+
);

lazer/sdk/js/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
export * from "./client.js";
22
export * from "./protocol.js";
33
export * from "./ed25519.js";
4+
export * from "./constants.js";

0 commit comments

Comments
 (0)