Create Collection

The category of your collection can be music, art, gaming, sport, etc...

NB: LiaaS systematically adds the suffix " col" to each collection name it receives. For instance, if a collection named "PoWcollection" is submitted, LiaaS generates a blockchain token named "PoWcollection col". This also implies that the platforms powered by Kakr Labs also contains "col" suffix while creating Collection/Event and would be shown on the Pteri.

Create SDA (Alias NFT) Collection (API reference)

POST /api/Collection/create-nft-collection

A post request to create a collection on the Litecoin Blockchain to attach a set of SDAs belonging to an address

Headers

NameTypeDescription

Content-Type

application/json

Authorization*

Bearer <your API key>

API access key

wallet*

String

The wallet to hold the collection

encryptedpassphrase*

String

Encrypted key of the wallet to hold the collection

Usev2*

String

Value should be true or yes

Request Body

NameTypeDescription

tokenStandard*

string

the category of your collection, this can be token standard which are "SDA3", "SDA11", "SDA13", "SDA21", "SDA88"

description*

string

the description of the collection to be created

name*

string

Name of the collection

address*

string

address to hold the collection

subcategory*

string

subsidiary category of the collection

url*

string

any existing domain to be attached to the collection

isMainNet

Boolean

Want to create it on Mainnet or Testnet. This is false by default

Create SDA/NFT Collection SDK

Liaas SDK package installation

/** 
 * Secure your created collection to house SDAs
 **/
 
 //all the parameters specified here are small as all the parameters in API implementation
 //pass your API key to the created wallet name and the encrypted key
const response = await liaasSdk.createCollection(
apiAccessKey,
walletName,
encrpytedKey,
tokenStandard,
description,
name,
address,
subcategory,
url,
isMainNet)

Last updated