/serum-ts

Project Serum TypeScript monorepo

Primary LanguageTypeScriptApache License 2.0Apache-2.0

serum-ts

Project Serum Monorepo

Build Status Discord Chat License

Website | Academy | Awesome | DEX | Rust

Packages

Package Version Description
@project-serum/borsh npm Borsh serialization primitives
@project-serum/common npm Common utilities
@project-serum/serum npm Library for interacting with the Serum DEX
@project-serum/pool npm Client for interacting with Pools
@project-serum/spl-token-swap npm Client for interacting with the SPL Token Swap Program
@project-serum/swap npm Client for swapping on the Serum DEX
@project-serum/tokens npm Solana token addresses

Contributing

Installing

To get started first install the required build tools:

npm install -g lerna
npm install -g yarn

Then bootstrap the workspace:

yarn

Building

To build the workspace:

yarn build

Testing

To run all tests:

yarn test

Linting

To lint:

yarn lint

To apply lint fixes:

yarn lint:fix