Skip to content

Commit

Permalink
feature: re-exporting PROGRAM_ID and PROGRAM_IDL
Browse files Browse the repository at this point in the history
  • Loading branch information
notdanilo committed Jan 7, 2025
1 parent 188dd74 commit afcc44d
Show file tree
Hide file tree
Showing 2 changed files with 700 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clients/bolt-sdk/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { PublicKey } from "@solana/web3.js";
import type BN from "bn.js";
import * as PROGRAM_IDL from "./world/idl.json";
import { PROGRAM_ID } from "./generated";
export * from "./generated/accounts";
export * from "./generated/instructions";
Expand All @@ -13,6 +14,7 @@ export { DELEGATION_PROGRAM_ID } from "@magicblock-labs/ephemeral-rollups-sdk";
import * as anchor from "@coral-xyz/anchor";
export { anchor };
export { Provider, Program, Wallet, web3, workspace } from "@coral-xyz/anchor";
export { PROGRAM_ID, PROGRAM_IDL };

export const SYSVAR_INSTRUCTIONS_PUBKEY = new PublicKey(
"Sysvar1nstructions1111111111111111111111111",
Expand Down
Loading

0 comments on commit afcc44d

Please sign in to comment.