← Developer Forum

Price Feeds·help question

PythSolanaReceiver instantiate error

Open on dev-forum →Back to forum

Hey! I have an error when I instantiate PythSolanaReceiver on my Solana tests.

Already I integrate and build successfully Pyth price feed on my Anchor program, but when I instantiate const pythSolanaReceiver = new PythSolanaReceiver({ connection, wallet });in TypeScript tests, it fails.

Just for this line fails with wrong errors (because the error say error with a local import that it’s ok, and when I don’t instantiate PythSolanaReceiverI don’t have any error with these files).

Showing the original post only. Read the full thread on dev-forum.pyth.network ↗

Replies: 4
Views: 219
Likes: 0
Posted: 12/29/2025

Source: https://dev-forum.pyth.network/t/pythsolanareceiver-instantiate-error/498 · external id 498