Skip to content

Commit 2f4b684

Browse files
authored
Merge pull request #58 from macalinao/igm/more-constants
docs(changeset): Add NATIVE_MINT constant
2 parents b47d061 + 893371f commit 2f4b684

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.changeset/hot-planes-sing.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@macalinao/gill-extra": patch
3+
---
4+
5+
Add NATIVE_MINT constant
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { address } from "@solana/kit";
2+
3+
/** Address of the special mint for wrapped native SOL in spl-token */
4+
export const NATIVE_MINT = address(
5+
"So11111111111111111111111111111111111111112",
6+
);

packages/gill-extra/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ export * from "@macalinao/token-utils";
33
export * from "@macalinao/zod-solana";
44
// Export gill-extra specific utilities
55
export * from "./build-get-explorer-link-function.js";
6+
export * from "./constants.js";
67
export * from "./fetch-and-decode-account.js";
78
export * from "./get-confirmed-transaction.js";
89
export * from "./get-signature-from-bytes.js";

0 commit comments

Comments
 (0)