pyth-network / pyth-crosschain

Crosschain Pyth programs and utilities
https://pyth.network
Other
144 stars 195 forks source link

feat: enable pda wallets #2002

Closed guibescos closed 1 week ago

guibescos commented 1 week ago

By default getAssociatedTokenAddress fails if the owner of the token account is a Program Derived Address. This causes problems when for example a program multisig owns a stake account.

vercel[bot] commented 1 week ago

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

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 7, 2024 4:37pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 7, 2024 4:37pm
1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **proposals** | ⬜️ Ignored ([Inspect](https://vercel.com/pyth-network/proposals/4TXiHzFyy3WrHoqdaEU736PWpxbB)) | [Visit Preview](https://proposals-git-fix-enable-pda-wallets-pyth-network.vercel.app) | | Oct 7, 2024 4:37pm |