Skip to content

ceramicnetwork/ceramic-sdk

Repository files navigation

Ceramic SDK

TypeScript client and utilities for Ceramic One interactions

Packages

Name Description Version
events Events encoding, signing and other utilities npm version
flight-sql-client Flight SQL client for ceramic one using WASM npm version
http-client HTTP client for Ceramic One npm version
identifiers Ceramic streams and commits identifiers npm version
model-protocol Model streams protocol npm version
model-client Model streams client npm version
model-instance-protocol ModelInstanceDocument streams protocol npm version
model-instance-client ModelInstanceDocument streams client npm version
stream-client Generic streams client npm version

Other packages present in the packages folder are for internal use and may not be published to the npm registry.

Development

Getting started:

pnpm i
pnpm build
pnpm test # run all tests (unit and integration, requires docker to be running)
pnpm test:ci # run only unit tests

The flight-sql-client is written in Rust and has the ability to log to the console. However the jest framework will often overwrite the logs output by the Rust code. To avoid this use:

CI=true RUST_LOG=debug pnpm test

The RUST_LOG env var can be set to change the Rust log level.

CI

In order to specify targets for WASM builds on CI, the build script is split into pnpm build:rust which allows passing --target TARGET_TRIPLE and pnpm build:js.

License

Dual licensed under MIT and Apache 2

About

No description, website, or topics provided.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •