Getting Started
Manage and trade digital items within your application using HandCash Items
Introduction to HandCash Items
HandCash Items leverages the 1Sat ordinal token protocol on BSV to create, manage, and trade digital items. It’s designed to abstract blockchain complexities, allowing developers to focus on building their applications without needing in-depth blockchain knowledge.
Setting Up Credentials
- Create an application using the HandCash Developer Dashboard.
- Save your
AppId
andAppSecret
.
- Save your
- Set up a Business Wallet.
- Save your
AccessToken
.
- Save your
Item Creation Orders
HandCash Items supports two types of creation orders:
- Collection creation orders
- Collection item creation orders
It’s recommended to create a single global collection for your application and use item attributes
to distinguish between different sub-collections.
Item creation orders inscribe items on the blockchain in the background, typically taking less than 5 seconds to complete. You can configure a webhook URL in the app dashboard to receive notifications when your item creation orders are completed.
Item Creation Order Response
Here’s the TypeScript interface for the item creation order response:
Creating a Collection
To create a collection, use the following code and save your collectionId
for future item creation: