Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STREAM-1454: support Token2022 #162

Merged
merged 3 commits into from
Apr 8, 2024
Merged

Conversation

Yolley
Copy link
Collaborator

@Yolley Yolley commented Apr 8, 2024

  • support Token2022 in core protocol - fetch program id for a mint and use it in instructions

@Yolley Yolley requested review from RolginRoman and LukaStreamflow and removed request for RolginRoman April 8, 2024 06:49
packages/stream/solana/StreamClient.ts Outdated Show resolved Hide resolved
@@ -249,7 +251,7 @@ export default class SolanaStreamClient extends BaseStreamClient {
feeOracle: FEE_ORACLE_PUBLIC_KEY,
rent: SYSVAR_RENT_PUBKEY,
timelockProgram: this.programId,
tokenProgram: TOKEN_PROGRAM_ID,
tokenProgram: programId,
associatedTokenProgram: ASSOCIATED_TOKEN_PROGRAM_ID,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see this is also imported from spl package. It is the same for both token programs?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ATA is another program, it works with an valid token program.

@Yolley Yolley merged commit 06f6635 into master Apr 8, 2024
2 checks passed
@Yolley Yolley deleted the oleg/feature/STREAM-1454_token_2022 branch April 8, 2024 11:59
Copy link

github-actions bot commented Apr 8, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants