Skip to content

project-serum/serum-ts

Repository files navigation

serum-ts

Project Serum Monorepo

Build Status Discord Chat License

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