-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
49 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,49 @@ | ||
# XMTP MLS Client | ||
# XMTP client SDK for Node | ||
|
||
> **Important** | ||
> This package is currently in **Alpha** status. Do not use in production as the API is not final and certain functionality may not work as intended. This package only works in Node. | ||
This package provides the XMTP client SDK for Node. | ||
|
||
To keep up with the latest SDK developments, see the [Issues tab](https://github.com/xmtp/xmtp-js/issues) in this repo. | ||
|
||
To learn more about XMTP and get answers to frequently asked questions, see the [XMTP documentation](https://xmtp.org/docs). | ||
|
||
> [!CAUTION] | ||
> This SDK is currently in alpha. The API is subject to change and it is not yet recommended for production use. | ||
## Requirements | ||
|
||
- Node.js 20+ | ||
|
||
## Install | ||
|
||
**NPM** | ||
|
||
```bash | ||
npm install @xmtp/node-sdk | ||
``` | ||
|
||
**PNPM** | ||
|
||
```bash | ||
pnpm install @xmtp/node-sdk | ||
``` | ||
|
||
**Yarn** | ||
|
||
```bash | ||
yarn add @xmtp/node-sdk | ||
``` | ||
|
||
## XMTP network environments | ||
|
||
XMTP provides `production`, `dev`, and `local` network environments to support the development phases of your project. To learn more about these environments, see our [official documentation](https://xmtp.org/docs/build/authentication#environments). | ||
|
||
## Developing | ||
|
||
Run `yarn dev` to build the SDK and watch for changes, which will trigger a rebuild. | ||
|
||
### Useful commands | ||
|
||
- `yarn build`: Builds the SDK | ||
- `yarn clean`: Removes `node_modules`, `dist`, and `.turbo` folders | ||
- `yarn test`: Runs all tests | ||
- `yarn typecheck`: Runs `tsc` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters