In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "how to display bytom's BMIP002 protocol in blockmeta". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Overview of the original BMIP002 protocol
The Biyuan chain technology community recently put forward a set of asset specification proposals that allow standard asset token to be implemented in issue-type transactions. The standard defines the basic functions of assets on the chain, as well as the specification for issuers to manage assets through smart contracts.
Function
An asset is a value that can be issued on a blockchain, and all units of a given asset are replaceable.
Each asset has a globally unique asset ID, which comes from the issuer and asset definition, which typically defines a set of signatures for the number of possible signatures, keys and thresholds, which must be provided to authorize a new unit to publish the asset.
The asset definition consists of any key value data submitted to the blockchain and is available for viewing by all participants.
The standard provides users with an easy way to issue assets. It allows any token that meets the Bytom standard to be easily supported by other applications: such as wallets, blockchain browsers, and exchanges.
One example is that merchants can list token in their business applications in a very short time.
Rule asset definition
The following specification uses the syntax of the standard uniform JSON schema
Syntax introduces name-defined asset token name symbol-defined asset decimals definition the number of decimal places used by token quorum defines the threshold number of transaction signatures that must be signed to issue possible signing keys for this token unit. Reissue defines whether the flag can publish assets multiple times description including an asset description Issuance Program consisting of arbitrary key-value data
When you create an asset, Bytom automatically creates an issuer with smart contracts. The issuer can publish any number of units as many times as needed. Customizing the release plan may impose further restrictions on when and who publishes the new unit.
Tip: the following code snippet is not written in Equity0.1.1 (or later). We recommend an unlimited asset issuance program and at least 2 signing keys
Contract IssueAsset (publicKey1: PublicKey, publicKey2: PublicKey, publicKey3: PublicKey) locks valueAmount of valueAsset {clause spend (sig1: Signature, sig2: Signature) {verify checkTxMultiSig ([publicKey1, publicKey2, publicKey3], [sig1, sig2]) unlock valueAmount of valueAsset} Issuance Program will be inactive after certain block height by adding the limitHeight parameter. Contract IssueAssetWithLimit (publicKey1: PublicKey, publicKey2: PublicKey, publicKey3: PublicKey, limitHeight: Integer) locks valueAmount of valueAsset {clause spend (sig1: Signature, sig2: Signature, limitHeight: Integer) {verify below (limitHeight) verify checkTxMultiSig ([publicKey1, publicKey2, publicKey3], [sig1 Sig2]) unlock valueAmount of valueAsset}} shows the original BMIP002 protocol in blockmeta
Through the introduction of the BMIP002 protocol above, we know that the essence of the BMIP002 agreement is a specification of the assets issued on the original chain, so let's introduce the specific demonstration of this set of specifications in blockmeta.
Blockmeta official website: https://blockmeta.com/
In blockmeta, it is mainly displayed in three places, the first point: we open the details page of the assets we issued, such as the logo circled in the figure, and if the assets meet the BMIP002 protocol, the YES will be displayed. The assets in the following figure do not support the BMIP002 protocol, so NO is shown.
Second, open the asset list page. If the issued asset supports the BMIP002 protocol, logo will be displayed in the lower corner of the asset name. And the ranking of assets that support the BMIP002 protocol is at the top of the entire asset list.
Finally, we open the details of a transaction, find the address of a transaction, and we open the address details page to see the assets that belong to that address. As shown below:
This is the end of the content of "how to display bytom's BMIP002 protocol in blockmeta". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.