TypeScript SDK
Overview
The core package contains environment agnostic types and functions to interact with the Shelby network.
Introduction
The core package contains environment agnostic types and functions that can be used to interact with the Shelby network. This shared package will typically contain the types and functions that are shared between the Node.js and browser environments.
Installation
npm install @shelby-protocol/sdk @aptos-labs/ts-sdk
This package comes pre-packaged with the Node.js and browser packages. You can access it by using the @shelby-protocol/sdk
entry point.
Node.js Entry Point
import { ShelbyBlob } from '@shelby-protocol/sdk/node'
Browser Entry Point
import { ShelbyBlob } from '@shelby-protocol/sdk/browser'