https://github.com/ceramicnetwork/ceramic-sdk
https://github.com/ceramicnetwork/ceramic-sdk
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ceramicnetwork/ceramic-sdk
- Owner: ceramicnetwork
- License: other
- Archived: true
- Created: 2024-05-03T08:52:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-10T19:14:55.000Z (over 1 year ago)
- Last Synced: 2025-10-01T22:34:19.858Z (9 months ago)
- Language: TypeScript
- Size: 1.18 MB
- Stars: 5
- Watchers: 8
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
> This repo is now archived, its contents are part of the [ceramic repo](https://github.com/ceramicnetwork/rust-ceramic) under the `sdk` directory.
# Ceramic SDK
TypeScript client and utilities for [Ceramic One](https://github.com/ceramicnetwork/rust-ceramic) interactions
## Packages
| Name | Description | Version |
| ------------------------------------------------------------- | -------------------------------------------- | ------------------------------------------------------------------------------------- |
| [events](./packages/events) | Events encoding, signing and other utilities |  |
| [flight-sql-client](./packages/flight-sql-client) | Flight SQL client for ceramic one using WASM |  |
| [http-client](./packages/http-client) | HTTP client for Ceramic One |  |
| [identifiers](./packages/identifiers) | Ceramic streams and commits identifiers |  |
| [model-protocol](./packages/model-protocol) | Model streams protocol |  |
| [model-client](./packages/model-client) | Model streams client |  |
| [model-instance-protocol](./packages/model-instance-protocol) | ModelInstanceDocument streams protocol |  |
| [model-instance-client](./packages/model-instance-client) | ModelInstanceDocument streams client |  |
| [stream-client](./packages/stream-client) | Generic streams client |  |
Other packages present in the `packages` folder are for internal use and may not be published to the npm registry.
## Development
Getting started:
```sh
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:
```sh
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