serum-ts
serum-ts copied to clipboard
Project Serum TypeScript monorepo
How do I use the library to place a market order? Do I have to query the current price and place a limit order on the "best" price? and retry...
i'm trying to follow the example and trying to swap usdc to swap , however i always get the error. logs: [ 'Program 22Y43yTVxuUkoRKdm9thyRhQ3SdgQS7c7kB6UNCiaczD invoke [1]', 'Program log: Custom program...
An extensive change bumping dependencies across all packages. All tests pass. # Points to note 1. `serum-ts` updated due to breaking changes in `superstruct` package https://github.com/project-serum/serum-ts/compare/master...cyclos-io:bump-deps?expand=1#diff-3a5e861b90ca6fbf3da801eeb7f4e9dcb0566de40b4df186e88616fa2e5d8c0c 2. `// @ts-ignore` added...
Since `v1.10.0` at `@solana/web3.js`, `Account` was deprecated. So we should update `@solana/web3.js` package and replace `Account` with `KeyPair`.
I see the following issue when running the example code in the readme. I've tried 2 different providers and the error is the same so I think it's an issue...
Getting this error when try to run this example https://github.com/project-serum/serum-ts/blob/master/packages/swap/examples/swap.js from swap package: Error: 410 Gone: {"jsonrpc":"2.0","error":{"code": 410, "message":"The RPC call or parameters have been disabled."}, "id": "3b56fc88-1bd6-4b12-86b1-42482f87a777" } at...
13 | export default function App() { 14 | const connection = new Connection("https://mercurial.rpcpool.com"); 15 | const wallet = new Wallet( > 16 | Keypair.fromSecretKey(bs58.decode(process.env.PRIVATE_KEY || "")) | ^ 17...

Was just wondering if the JS example for interfacing with a Serum market needs updating. I've tried running it and run into the same error that the `Market.load()` expects a...