Token Issuance
Create a STAS token
Creating a token requires you to first create a 'default' wallet to issue it to the wallet. If you didnt create one, you can jump back to the wallet section.
To issue STAS protocol tokens, you are required to use a personal STAS Sublicense key from Vaionex or a direct license key from TAAL (which you are automatically granted when accepting our terms of conditions). More token technology related information at
The token issuance endpoint takes care of all the rest (including paying the mining fee to mint the token). All you need is to add the parameters to specify the type of STAS token you want.
Parameter
Description
Property
Name
The token name
UTF-8 standard, up to 32 characters in length.
Symbol
The token symbol
1-9 alphanumeric characters
Description
The token description
up to 512 characters
Image
The mini icon image
250x250 pixels, type image
Token Supply
The amount of tokens to mint in the issuance
Any integer
Decimals
Decimals indicate the formatting, e.g. decimals 2 for a dollar token with cents.
Integer not bigger than 8
Sats Per Token
Satoshis to be used for each token. Needs to be above dust limit to transfer.
Integer, above dust limit
Split able
Tokens are split table and merge able, NFTs are not.
Boolean [true/false]
Meta
Any extra data to indicate legals and terms.
RFC 3986 JSON formatted
Above stated are the main inputs for each STAS token, the extended schema can be found in below code example. There is only one STAS format but various settings that make it behave according to its purpose and use case.

Issuance function

To issue a STAS token, create a variable with all parameters, and trigger relysia.issue().
1
var parameters = {
2
serviceId: 'optional',
3
protocol: 'optional',
4
data: {
5
"name": "Bonus Point Token",
6
"protocolId": "STAS",
7
"symbol": "BPT",
8
"description": "A supermarket bonus point token to be used ay https://yourproject.com",
9
"image": "https://firebasestorage.googleapis.com/v0/b/nftdev/o/nftTemp%2FWL1DdD?alt=media",
10
"tokenSupply": 30,
11
"decimals": 0,
12
"satsPerToken": 1500,
13
"splitable": true,
14
"properties": {
15
"legal": {
16
"terms": "© 2020 TAAL TECHNOLOGIES SEZC\nALL RIGHTS RESERVED. ANY USE OF THIS SOFTWARE IS SUBJECT TO TERMS AND CONDITIONS OF LICENSE. USE OF THIS SOFTWARE WITHOUT LICENSE CONSTITUTES INFRINGEMENT OF INTELLECTUAL PROPERTY. FOR LICENSE DETAILS OF THE SOFTWARE, PLEASE REFER TO: www.taal.com/stas-token-license-agreement",
17
"licenceId": "Vaionex"
18
},
19
"issuer": {
20
"organisation": "vaionex corp.",
21
"legalForm": "Limited",
22
"governingLaw": "US",
23
"issuerCountry": "US",
24
"jurisdiction": "US",
25
"email": "[email protected]"
26
},
27
"meta": {
28
"schemaId": "STAS1.0",
29
"website": "https://yourProject.com",
30
"legal": {
31
"terms": "Your personal token terms"
32
}
33
}
34
}
35
}
36
}
37
const response = await relysia.issue(parameters);
Copied!
post
https://api.relysia.com
/v1/issue
Mint a Token.

Copy link