• Stars
    star
    144
  • Rank 255,590 (Top 6 %)
  • Language
    TypeScript
  • License
    Apache License 2.0
  • Created over 3 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🗡 Saber common utilities and libraries

saber-common

Common libraries across Saber projects.

Documentation

Detailed information on how to build on Saber can be found on the Saber developer documentation website.

Automatically generated TypeScript documentation can be found on GitHub pages.

Common Errors

Module parse failed: Unexpected token

saber-common targets ES2019, which is widely supported by modern DApp browsers. Please ensure that your build pipeline supports this version of ECMAScript.

Packages

Package Description Version
@saberhq/anchor-contrib TypeScript client for Anchor programs npm
@saberhq/browserslist-config Saber shareable config for Browserslist. npm
@saberhq/chai-solana Chai test helpers npm
@saberhq/solana-contrib Solana TypeScript utilities npm
@saberhq/stableswap-sdk StableSwap SDK npm
@saberhq/token-utils SPL Token arithmetic and types npm
@saberhq/use-solana Solana React library npm

Release

To release a new version of Saber Common, navigate to the release action page and click "Run workflow".

There, you may specify patch, minor, or major.

Join Us

We're looking for contributors! Reach out to [email protected] or message michaelhly on Keybase with any questions.

License

Saber Common is licensed under the Apache License, Version 2.0.

More Repositories

1

stable-swap

🔁 StableSwap by Saber: an automated market maker for mean-reverting trading pairs.
Rust
402
star
2

merkle-distributor

📦 A smart contract that distributes a balance of tokens according to a Merkle root
TypeScript
184
star
3

vipers

🕶 Assorted checks and validations for writing safer Solana programs.
Rust
133
star
4

anchor-gen

Generates an Anchor CPI crate from a JSON IDL.
Rust
101
star
5

sail

⛵️ A React library for Solana account management and transaction processing.
TypeScript
77
star
6

captain

🧑‍✈ Version control and key management for Solana programs.
Rust
35
star
7

saber-periphery

⚔️ Peripheral contracts for interacting with Saber.
TypeScript
19
star
8

snapshots

📸 Voting Escrow Snapshots: Historical snapshots of previous voting escrow balances.
Rust
13
star
9

saber-overlay

Saber Nix overlay.
Nix
13
star
10

u128

🧮 U128 helpers for Solana programs.
Rust
11
star
11

spl-token-icons

TypeScript
10
star
12

saber-dapp

Frontend for the Saber dapp.
TypeScript
10
star
13

pool-manager

Allows anyone to create a new Saber pool.
TypeScript
9
star
14

saber-build-common

Common build tools for Saber projects.
TypeScript
5
star
15

docs

Saber official documentation.
JavaScript
4
star
16

governance

Saber Governance forum and proposals.
Nix
3
star
17

install-solana-action

GitHub Action to install Solana and Anchor using Nix.
3
star
18

saber-lp-token-list

Token list of Saber LP tokens.
3
star
19

saber-lp-token-list-generator

Generates the Saber LP token list.
TypeScript
2
star
20

saber-registry-dist

List of Saber pools, tokens, and environments
HTML
2
star
21

brand

⚔️ Official Saber brand assets.
1
star
22

token-fns

Saber token math utilities, built to minimize bundle size.
TypeScript
1
star
23

registry

Saber Asset Registry, generated from saber-hq/governance
HTML
1
star