ec11b30fd3 | ||
---|---|---|
docs | ||
packages | ||
types/buffer-layout | ||
.editorconfig | ||
.eslintrc | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
README.md | ||
lerna.json | ||
package.json | ||
tsconfig.json | ||
yarn.lock |
README.md
Packages
Package | Version | Description |
---|---|---|
@project-serum/borsh |
Borsh serialization primitives | |
@project-serum/common |
Common utilities | |
@project-serum/serum |
Library for interacting with the Serum DEX | |
@project-serum/pool |
Client for interacting with Pools | |
@project-serum/spl-token-swap |
Client for interacting with the SPL Token Swap Program | |
@project-serum/swap |
Client for swapping on the Serum DEX | |
@project-serum/tokens |
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