Issue Tokens

Today we will be demonstrating how to issue your own fungible FAT token for free on the Factom testnet!
Completing the tutorial only requires downloading a FAT-CLI Binary for your platform:

Mac
Windows
Linux

./fat-cli issue --tokenid test --type "FAT-0" --supply 100000 --ecadr EC3cQ1QnsE5rKWR1B5mzVHdTkAReK5kJwaQn5meXzU9wANyk7Aej --sk1 sk11qqZfWs8NPfaq87nV8t8qZx8boGAa14bqwEychTWF39bGH4YdK --identity 8888883a1c947cbb75b2d36b9be96e5f518ad42bddcb2bfc1d1efbaa5a89217a --fatd 0.testnet.fat.dbgrow.com:8078 --factomd 0.testnet.factom.dbgrow.com:8088

./fat-cli issue --tokenid test --type "FAT-0" --supply 100000 --ecadr EC3cQ1QnsE5rKWR1B5mzVHdTkAReK5kJwaQn5meXzU9wANyk7Aej --sk1 sk11qqZfWs8NPfaq87nV8t8qZx8boGAa14bqwEychTWF39bGH4YdK --identity 8888883a1c947cbb75b2d36b9be96e5f518ad42bddcb2bfc1d1efbaa5a89217a --fatd 0.testnet.fat.dbgrow.com:8078 --factomd 0.testnet.factom.dbgrow.com:8088

You should choose a unique token ID for --tokenid

The above command achieves several things:
-Issues a fungible FAT-0 token with max supply of 100000 (--type & --supply)
-Uses a public test digital identity to issue the token (--identity & --sk1)
-Uses a courtesy testnet Entry Credit address to pay fees (--ecpub)
-Uses public courtesy testnet nodes to issue the token (--fatd & --factomd)

Upon success you should see the following:

Created Token Chain
Token Chain ID:  d769a40522998f10ed82e8cd96f875d3163742efa07d973d799a507246210cb7
First Entry Hash:  5b11d18d1d17ebdeffc2f96a50dc1e9e24c171df6f9e7aaca46186ff40fdad48
Factom TxID:  ac42be15931ed95b288e13696a0224c4d172fed737b84d6e6398475cea5c74f1
Created Issuance Entry
Token Chain ID:  d769a40522998f10ed82e8cd96f875d3163742efa07d973d799a507246210cb7
Issuance Entry Hash:  44e6994c12315244d2920902273bbbfb000eed7a64aa55da30902c280131998f
Factom TxID:  f93fe0e6056f9ca0b5eabceb9af3880a93b6861ddb666a0b3cec21a9d54fff8e

Created Token Chain
Token Chain ID:  d769a40522998f10ed82e8cd96f875d3163742efa07d973d799a507246210cb7
First Entry Hash:  5b11d18d1d17ebdeffc2f96a50dc1e9e24c171df6f9e7aaca46186ff40fdad48
Factom TxID:  ac42be15931ed95b288e13696a0224c4d172fed737b84d6e6398475cea5c74f1
Created Issuance Entry
Token Chain ID:  d769a40522998f10ed82e8cd96f875d3163742efa07d973d799a507246210cb7
Issuance Entry Hash:  44e6994c12315244d2920902273bbbfb000eed7a64aa55da30902c280131998f
Factom TxID:  f93fe0e6056f9ca0b5eabceb9af3880a93b6861ddb666a0b3cec21a9d54fff8e

Congratulations! You have issued your first FAT token!
Take note of the Token Chain ID as this will be required to interact with your token
In around 10 minutes your token should show up in the FAT Explorer


Mint Tokens

Today we will be demonstrating how mint tokens on your newly created fungible FAT tokens for free on the Factom testnet!

./fat-cli transact --output FA3umTvVhkcysBewF1sGAMeAeKDdG7kTQBbtf5nwuFUGwrNa5kAr:100 --chainid d769a40522998f10ed82e8cd96f875d3163742efa07d973d799a507246210cb7 --sk1 sk11qqZfWs8NPfaq87nV8t8qZx8boGAa14bqwEychTWF39bGH4YdK --fatd 0.testnet.fat.dbgrow.com:8078  --force

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.


The above command does several things:
-Mints 100 tokens and sends them to an address (--output FA...:100)
-Uses the public test digital identity that created the token to mint new tokens (--sk1)
-Uses public courtesy testnet fatd node to mint the tokens (--fatd)



Transact Tokens

Today we will be demonstrating how send FAT tokens on your newly created fungible FAT tokens for free on the Factom testnet!

./fat-cli transact --input Fs1q7FHcW4Ti9tngdGAbA3CxMjhyXtNyB1BSdc8uR46jVUVCWtbJ:100 --output FA3umTvVhkcysBewF1sGAMeAeKDdG7kTQBbtf5nwuFUGwrNa5kAr:100 --chainid d769a40522998f10ed82e8cd96f875d3163742efa07d973d799a507246210cb7 --fatd 0.testnet.fat.dbgrow.com:8078 --force

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.


The above command achieves several things:
-Sends 100 tokens from an address private key(--input Fs...:100) to a address public key(--output FA...:100)
-Uses public courtesy testnet fatd node to send the transaction(--fatd)

Explore FAT Tokens
Discover the tokens built by the community that utilize the Factom® Asset Tokens Protocol.
Launch Explorer