{"id":324,"date":"2023-11-22T10:27:03","date_gmt":"2023-11-22T10:27:03","guid":{"rendered":"http:\/\/10.0.1.147\/?page_id=32"},"modified":"2024-06-28T14:40:27","modified_gmt":"2024-06-28T14:40:27","slug":"developers-assetbasics","status":"publish","type":"page","link":"https:\/\/www.hashcashconsultants.com\/developers-assetbasics\/","title":{"rendered":"Developers Assetbasics"},"content":{"rendered":"
The HC Net distributed network can be used to track, hold, and transfer any type of asset:<\/strong> dollars, euros, bitcoin, stocks, gold, and other tokens of value. Any asset on the network can be traded and exchanged with any other.<\/p>\n \nOther than HCX (see below), all assets have<\/strong><\/p>\n When you hold assets in HC Net, you\u2019re actually holding credit from a particular issuer. The issuer has agreed that it will trade you its credit on the HC Net for the corresponding asset\u2013e.g., fiat currency, precious metal\u2013outside of HC Net. Let\u2019s say that Scott issues oranges as credit on the network. If you hold orange credits, you and Scott have an agreement based on trust, or a trustline: you both agree that when you give Scott an orange credit, he gives you an orange.<\/p>\n When you hold an asset, you must trust the issuer to properly redeem its credit. Since users of HC Net will not want to trust just any issuer, accounts must explicitly trust an issuing account before they\u2019re able to hold the issuer\u2019s credit. In the example above, you must explicitly trust Scott before you can hold orange credits.<\/p>\n To trust an issuing account, you create a trustline. Trustlines are entries that persist in the HC Net ledger. They track the limit for which your account trusts the issuing account and the amount of credit from the issuing account that your account currently holds.<\/p>\n Starting in protocol version 10, each trustline also tracks the liabilities for the corresponding account and asset. Buying liabilities equal the total amount of this asset offered to buy aggregated over all offers owned by this account, and selling liabilities equal the total amount of this asset offered to sell aggregated over all offers owned by this account. A trustline must always have balance sufficiently large to satisfy its selling liabilities, and a balance sufficiently below its limit to accommodate its buying liabilities.<\/p>\n<\/div>\n HCX<\/strong> are the native currency of the network. A HCX is the only asset type that can be used on the HC Net that doesn\u2019t require an issuer or a trustline. Any account can hold HCX. You can trade HCX for other assets in the network.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":" Asset Basics The HC Net distributed network can be used to track, hold, and transfer any type of asset: dollars, euros, bitcoin, stocks, gold, and other tokens of value. Any asset on the network can be traded and exchanged with any other. Other than HCX (see below), all assets have Asset type: e.g., USD or […]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-developers-assetbasics.php","meta":{"footnotes":""},"class_list":["post-324","page","type-page","status-publish","hentry"],"yoast_head":"\n\n
Trustlines<\/h3>\n
HCX<\/h3>\n