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

Project Serum TypeScript monorepo

Results 108 serum-ts issues
Sort by recently updated
recently updated
newest added

Close #69 With version bump, I updated deprecated things.

[`coin_mint`](https://github.com/project-serum/serum-dex/blob/576e5d2ef2a1669fbd889f13b97b4f552554e334/dex/src/state.rs#L79) from smart contract becomes [`baseMint`](https://github.com/project-serum/serum-ts/blob/0f22b3de8f065eec8ff1d5e073d9a8a0ff255d26/packages/serum/src/market.ts#L84) in the typescript SDK, [`pc_mint`](https://github.com/project-serum/serum-dex/blob/576e5d2ef2a1669fbd889f13b97b4f552554e334/dex/src/state.rs#L81) becomes [`quoteMint`](https://github.com/project-serum/serum-ts/blob/0f22b3de8f065eec8ff1d5e073d9a8a0ff255d26/packages/serum/src/market.ts#L85) and so on. This can confuse those who are unfamiliar with market maker terminology. How about using...

How to reproduce: 1. create a pool with a deployed pool program 2. import and call loadInfo() with params Observed Error: ``` Uncaught (in promise) TypeError: exports.POOL_STATE_TAG.toBuffer is not a...

My suggestion is to make the process of getting free and total balances as seamless as using a CEX API. This can be done with a getBalances method that'd return...

`makePlaceOrderTransaction` accepts as argument the payer public key that in this case is the SPL Token Account. For some reason, many users has duplicate accounts with same token address. When...