Mint and configure tokens and accounts.
-
Devs
- TOOLING
- RESOURCES
-
Use cases
- Built on Hedera
Tokenized assets offer a new way to create and manage value. With fungible and non-fungible assets businesses can make processes more efficient, reduce costs, and unlock new revenue streams.
The Hedera Token Service makes it easy for developers to manage tokens with scalable performance and predictable cost. All on a reliable network governed by the world’s leading organizations and based on the emerging industry standard Token Taxonomy Framework from the InterWork Alliance.
Hedera is the only public ledger that utilizes hashgraph consensus — making token transfers fast, settlement in seconds, and predictable fees at a fraction of 1¢ USD.
Create a unique token in just a few lines of code with Hedera SDK support for JavaScript, Java, Go, and other common languages.
Tooling and key configurations that meet the needs of common use case requirements — from supply management to flagging accounts for KYC compliance.
Ahmed Shlibak
Founder
Perform atomic swaps between tokens on Hedera and hbar.
Optional token configurations offer the flexibility to flag account KYC verification, freeze, manage supply, and more.
The Hedera network has legal protections from forks, better protecting your assets and your users.
No more waiting for block confirmations. The Hedera Token Service reaches finality on transactions within seconds.
Hedera achieves consensus efficiently, saving energy and costs. All transaction fees are fixed, costing less than 1¢ USD per transfer.
Tokens on Hedera benefit from the proven, best-in-class security of hashgraph.
Quickly create your own tokens with Hedera Token Service to manage assets with the predictable fees and fast finality of Hedera Hashgraph.
//Create the transaction and optionally freeze for manual signing
const transaction = await new TokenCreateTransaction()
.setTokenName("Your Token Name")
.setTokenSymbol("HGC")
.setTreasuryAccountId(treasuryAccountId)
.setInitialSupply(5000)
.setAdminKey(adminPublicKey)
.freezeWith(client);
//Sign the transaction with the token adminKey and the token treasury account private key
const signTx = await (await transaction.sign(adminKey)).sign(treasuryKey);
//Sign the transaction with the client operator private key and submit to a Hedera network
const txResponse = await signTx.execute(client);
//Create the transfer transaction
const transaction = await new TransferTransaction()
.addTokenTransfer(tokenId, accountId1, -10)
.addTokenTransfer(tokenId, accountId2, 10)
.freezeWith(client);
//Sign with the sender account private key
const signTx = await transaction.sign(accountKey1);
//Sign with the client operator private key and submit to a Hedera network
const txResponse = await signTx.execute(client);
//Create the query
const query = new AccountBalanceQuery()
.setAccountId(accountId);
//Sign with the client operator private key and submit to a Hedera network
const tokenBalance = await query.execute(client);
console.log("The token balance(s) for this account: " +tokenBalance.tokens);
Tokenized assets change the way we define ownership and value exchange. Here are a few resources to start your journey tokenizing assets on Hedera. Learn how to mint your first token or understand Hedera's various tokenization models.
Tokenization on Hedera introduces the technical fundamentals of each and aims to assist token issuers with determining the deployment model most appropriate for their use case.
The HTS enables the configuration, minting, and management of fungible and non-fungible tokens on Hedera without needing to set up and deploy a smart contract.
Learn Hedera Token Service methods and how to use it with the officially-supported Java, Javascript, and Go SDKs
Explore the code in a working Hedera Token Service demo built with VueJS.