Space SDK是一个JavaScript/TypeScript库,用于构建网络和移动应用程序,利用开放网络和发行协议,如IPFS,Treature,GunD
Space SDK是一个JavaScript/TypeScript库,用于构建网络和移动应用程序,利用开放网络和发行协议,如IPFS,Treature,GunD
Javascript/Typescript library for interacting with Space in web/browser applications via an implementation of the Space API. Build websites or applications that can easily leverage Open Web protocols (IPFS, Textile, GunDB, Ethereum) to enable Web3-ready features like:
The Space SDK is a close friend of the Space Daemon, its desktop-focused counterpart.
You can find the SDK's documentation here:
The Space SDK is modular and protocol agnostic. You can use the APIs and interfaces as is, with Space's default implementations, or replace them with your own custom ones. |Feature |Description | Service/Protocol |-: |- |- | | Users | Key-pair based identity creation, and challenge authentication. | Textile Users API | Storage | File, directory, and bucket creation/listing. | IPFS / Textile | Metadata | Secure Bucket/directory schema storage | GunDB | Sharing | Private and public file sharing | Textile |
@spacehq/sdk provides a suit of functionality to perform different action on Space.
Install the sdk using this npm command:
npm install @spacehq/sdkSpace SDK provides an interface perform the following actions:
Creating identities
Create files and directories
List files and directories
Creating buckets
Sharing buckets
Full SDK Documentation with examples can be found here
This involves managing users and their identities.
…Check the User's class for more examples of how to manage users with the sdk.
This involves operations to create and list files and directories in space storage.
…This includes operations to share your storage items with existing user (identities)
…All contributions are welcome. Before getting started, kindly take some time to review our contributing guidelines and code of conduct.
暂无开放 Issues,或尚未同步最近议题。