4. Ordinals // CS20 tokens
CS20 token deploy and mint information
By 2022, there are a lot of tokens registered as JSON data on various ordinals protocols. These types of tokens, which often bear the name refer to the relevant blockchain (BRC20, DRC20, LRC20, BSV20, etc.), can be created and minted very easily and by anyone and is important part of an ordinal system.
Deploy CS20 tokens
The following codes can be used to deploy a CS20 token.
1. Deploy a CS20 token:
{ "p": "cs-20", "op": "deploy", "tick": "cred", "max": "21000000", "lim": "1000" }
In this above deploy code "tick": "cred" is the part where the name of the ticker can be changed by the user. The "max": "21000000" is where the user enters the desired number of CS20 tokens. The "lim": "1000" section is where the number of tokens that may be minted per inscription. By setting the number equal to the supply, all tokens can be minted at once.
2. Mint a CS20 token:
{ "p": "cs-20", "op": "mint", "tick": "cred", "amt": "1000" }
This mint code also specifies the number of tokens that may be minted in addition to the token being minted. This limit should never exceed the limit value set in the deploy code.
Hello World – First CS20 tokens
To celebrate the beginning of CS20, three tokens have been launched by the community that kick off this new ordinals phase.
– Ticker: CRED
Total supply: 21,000,000
Limit per mint: 1,000
{ "p": "cs-20", "op": "mint", "tick": "cred", "amt": "1000" }
– Ticker: CSX
Total supply: 24,947,107,100,000,000
Limit per mint: 100,000,000
{ "p": "cs-20", "op": "mint", "tick": "csx", "amt": "100000000" }
– Ticker: IGOR
Total supply: 1,000,000,000
Limit per mint: 10,000
{ "p": "cs-20", "op": "mint", "tick": "igor", "amt": "10000" }