serum-ts icon indicating copy to clipboard operation
serum-ts copied to clipboard

Unable to use testnet and devnet Solana endpoints to create a connection

Open Danilo-Araujo-Silva opened this issue 2 years ago • 1 comments

Why we cannot use testnet and devnet endpoint defined here on the Solana documentation in order to create our connections?

Solana documentation: https://docs.solana.com/cluster/rpc-endpoints

Testnet https://api.testnet.solana.com

Devnet https://api.devnet.solana.com

Using them it seems we cannot load the markets (await Market.load(connection, marketAddress, {}, programAddress)) and because of that we cannot place, cancel, or retrieve the orders.

Danilo-Araujo-Silva avatar Apr 29 '22 14:04 Danilo-Araujo-Silva

Please check that the marketAddress and programAddress actually existed on testnet/devnet.

Check the marketAddress and programAddress here

Also I think testnet don't have Serum running, but devnet does. Here is its address on devnet: DESVgJVGajEgKGXhb6XmqDHGz3VjdgP7rEVESBgxmroY

References: Serum DEX

GiveMeSomething avatar May 30 '22 11:05 GiveMeSomething