Skip to content

Conversation

@bguillaumat-squads
Copy link
Collaborator

@bguillaumat-squads bguillaumat-squads commented Apr 11, 2025

This pull request includes several changes to the src/components and src/hooks directories to improve the handling of token transactions and update the payer key for transactions. The most important changes are grouped by theme below:

Update payer key in transaction messages:

Token transaction improvements:

  • src/components/SendTokensButton.tsx: Added TOKEN_PROGRAM_ID to various token-related instructions and updated the getAssociatedTokenAddressSync and createTransferCheckedInstruction calls to include TOKEN_PROGRAM. [1] [2] [3]

Import and usage updates:

  • src/hooks/useServices.tsx: Added imports for TOKEN_2022_PROGRAM_ID and TOKEN_PROGRAM_ID from @solana/spl-token and updated the useGetTokens hook to fetch tokens from both program IDs. [1] [2]
  • src/routes/programs.tsx: Removed unused imports clusterApiUrl and multisig from @sqds/multisig.

Minor fixes:

@vercel
Copy link

vercel bot commented Apr 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
public-v4-client ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 11, 2025 2:20pm

Copy link
Contributor

@sean-sqds sean-sqds left a comment

Choose a reason for hiding this comment

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

Thanks

@sean-sqds sean-sqds merged commit 0b7ffb3 into main Apr 11, 2025
4 checks passed
@sean-sqds sean-sqds deleted the handle-t22-and-fix-rent-payer branch April 11, 2025 17:06
nibty pushed a commit to x1-labs/squads-v4-ui that referenced this pull request Aug 29, 2025
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