A TypeScript Library for Interacting with the Rhinestone Orchestrator
Warning
This SDK is deprecated. Please switch to the new SDK to continue getting updates. See the migration note.
The Orchestrator SDK provides the following capabilities:
- Create a User Account Cluster: Add accounts across multiple chains to a single cluster.
- Fetch Total Portfolio Balance: Retrieve the overall balance of a user account cluster.
- Obtain Order Bundles: Get an order bundle for a specific meta intent associated with a user account.
- Sign Order Bundles: Utilize an ownable validator to sign order bundles (please create an issue for support regarding specific validators).
- Post Signed Order Bundles: Submit signed order bundles to the orchestrator for processing by relayers.
- Check Order Bundle Status: Monitor the status of submitted order bundles.
Additionally, the Orchestrator SDK exposes useful types and ABIs that developers can leverage when interacting with the Orchestrator.
If you are looking for a mock implementation of a relayer, please visit our Rhinestone Relayer Repository.
For comprehensive documentation on the Chain Abstraction System, please refer to: Chain Abstraction Docs.
For API documentation, visit: Swagger Docs.
You need an API key to interact with most useful Orchestrator functions. If you're interested in building on top of our system, please reach out to the team.
npm install viem @rhinestone/orchestrator-sdk
pnpm install viem @rhinestone/orchestrator-sdk
yarn add viem @rhinestone/orchestrator-sdk
bun install viem @rhinestone/orchestrator-sdk
Coming soon ...
( Please refer to the tests for now )
To install dependencies, run:
pnpm install
To build the sdk, run:
pnpm build
To run tests, run:
pnpm test
For feature or change requests, feel free to open a PR, start a discussion or get in touch with us.