diff --git a/packages/serum/README.md b/packages/serum/README.md index 6d959722..b606c821 100644 --- a/packages/serum/README.md +++ b/packages/serum/README.md @@ -25,7 +25,8 @@ yarn add @solana/web3.js @project-serum/serum import { Account, Connection, PublicKey } from '@solana/web3.js'; import { Market } from '@project-serum/serum'; -let connection = new Connection('https://testnet.solana.com'); +// Refer to https://docs.solana.com/cluster/rpc-endpoints +let connection = new Connection('https://api.testnet.solana.com'); let marketAddress = new PublicKey('...'); let programAddress = new PublicKey("..."); let market = await Market.load(connection, marketAddress, {}, programAddress);