Source code of digital currency transaction
1. The concept range is different. bitcoin is a kind of digital currency, and the concept of digital currency covers bitcoin
However, some digital currencies have independent issuers The biggest difference between bitcoin and other virtual currencies is that the total quantity of bitcoin is very limited and it has a strong scarcity. The monetary system used to have no more than 10.5 million in four years, after which the total number will be permanently limited to 21 milliondigital currency is abbreviated as digiccy, which is the abbreviation of "digital currency" in English. It is an alternative currency in the form of electronic currency. Both digital gold coin and cryptocurrency belong to digiccy. Bitcoin is a digital currency
digital currency is different from the virtual currency in the virtual world, because it can be used for real goods and services transactions, not limited to online games. The early digital currency (digital gold currency) is a form of electronic currency named after the weight of gold
today's digital currencies, such as bitcoin, lettercoin and ppcoin, are electronic currencies created, issued and circulated by means of check sum cryptography. It is characterized by the use of P2P peer-to-peer network technology to issue, manage and circulate currency. In theory, it avoids bureaucratic examination and approval, so that everyone has the right to issue currency
illegal digital currency
in recent years, "virtual currency" represented by bitcoin, Ethernet currency and Leyte currency has been traded centrally on some Internet platforms. With the help of financial technology, the price of these "currencies" has graally spread to investment, financing and other financial fields, which has aroused wide attention from all walks of life
not long ago, the people's Bank of China and other seven ministries and commissions jointly issued the announcement on preventing the financing risk of token issuance, which clearly regulated the relevant behaviors. Experts pointed out that "virtual currency" is not legal tender (legal currency) issued by monetary authorities, but a specific virtual commodity in essence
therefore, it is undoubtedly a great legal and economic risk to think that "virtual currency" has or will have the nature of legal tender and to carry out speculation, network fund-raising, lending and financing
transaction security technology includes anonymous technology, identity authentication technology, anti plicate transaction technology and anti-counterfeiting technology. Anonymity technology realizes controllable anonymity of digital assets through blind signature (including blind parameter signature, weak blind signature, strong blind signature, etc.) and zero knowledge proof; The identity authentication technology verifies the user's identity through the authentication center to ensure the validity of the digital asset trader's identity; The anti plicate transaction technology ensures that digital assets are not reused by means of digital signature, serial number and time stamp; Anti counterfeiting technology ensures the authenticity of digital assets and transactions by means of encryption and decryption, digital signature and identity authentication. Secondly, the online transaction and offline transaction of digital assets are realized by transaction technology. Digital asset trading technology mainly includes online trading technology and offline trading technology. As a legal currency, digital assets should not be rejected by any unit or indivial, and can be traded online or offline. Online transaction technology realizes online transaction of digital assets through online device interaction technology, online data transmission technology and online transaction processing; The off-line transaction technology realizes the off-line transaction of digital assets through the off-line device interaction technology, off-line data transmission technology and off-line transaction processing technology. Finally, trusted guarantee technology is used to provide a safe and reliable application environment for the issuance, circulation and transaction of digital assets in blockchain. Digital asset trustworthiness assurance technology mainly refers to trusted service management technology. Based on trusted service management platform (TSM), it ensures the security and trustworthiness of digital asset security mole and application data, and provides security chip (SE) and application life cycle management function for digital asset participants. Trusted service management technology can provide application registration, application download, security authentication, authentication management, security evaluation, trusted loading and other services for digital assets, which can effectively ensure the security and credibility of digital assets system
what is blockchain? Blockchain technology, also known as distributed ledger technology, is an Internet database technology, which is characterized by decentralization, openness and transparency, so that everyone can participate in database records. Blockchain technology development blockchain technology development what is a blockchain system? Blockchain system is a database system with integrity. The data written into the system will be automatically copied to the nodes of the blockchain, which can achieve transactional data preservation, support the management and development of databases in various instries, and be proced in combination with various needs. 294.497 billion US dollars, or 2.60%. This week, five new projects entered the top 100, namely FST, ZB, Wix, wax and MXM. On August 11, the price of bitcoin was $11523.58, up 3.20% from last week, and ethereum was $216.09, down 3.86% from last week. The 24-hour turnover of this week increased by 2.63% over the same period last week; Among the top 100 projects, the total market value and average market value of currency projects increased significantly, and the classification composition of global blockchain assets top 100 projects was stable.
Basic routine: the "trading market" of MLM digital currency is basically controlled by specific institutions. In order to attract investors' investment in the early stage, the currency price may be very high. Once the time is ripe, it will be sold intensively, and the price will plummet, and the investors will lose all their money
There are three characteristics of digital money MLM:1. Digital money is a real proct, and it is highly packaged
2. The participants can get a head pulling reward, and the prize is the digital currency itself
3. Digital currency will appreciate with the increase of participants in the scam. In the cycle of digital currency appreciation, the number of participants who can obtain digital currency will also increase, and the participants, including the lowest level participants, will also gain, but in the cycle of devaluation, the bottom level participants often lose a lot
in 2017, the Internet Finance Association of Jiangsu Province issued the "internet pyramid selling identification guide", which named 26 so-called digital currencies as illegal pyramid selling projects covered or suspected to be covered with digital currency. They are: treasure money, Baichuan money, SMI, MBI, mark money, Diablo money, mmm, Fuda compound wealth management, carat money, V treasure, Vicat money, petroleum money, Huaqiang money, CB aiib Hong Kong Group, Yuansheng, Morgan money, beta money, WorldCom, u money, Jubao, 21st century fox, Wanxi wealth management, Wanfu money, Wuxing money, Yi money, Zhonghua money, etc
extended materials:
five ways to distinguish whether digital currency is pyramid selling currency:
1. Issuance mode
virtual currency does not rely on specific monetary institutions. It is proced by a large number of calculations according to specific algorithms, and is a decentralized issuance mode. Each different terminal node is responsible for maintaining the same account book, and the maintenance process is mainly to package and encrypt the transaction information by the algorithm, while the MLM currency is mainly issued by a certain organization, and the profit is made by pulling the head
2. Transaction mode
virtual currency is a kind of sporadic transaction spontaneously formed in the market, which is graally completed by a third party establishing an exchange after the scale is formed. The MLM currency is issued by an institution and traded on its own platform
3. Implementation method
virtual currency itself is an open source program, which is maintained in GitHub community. The parameters and methods of the total amount limit are shown in the open source code. The open source of MLM currency is completely ing other people's open source code, and there is no use of open source code to build programs, so its essence is controlled by the website like Q currency
4, whether to give the source code link
General decentralized digital currency will give the source code link in the prominent position of the official website, so as to show the operation mechanism of the monetary system openly and transparently. The MLM currency focuses on the transaction process of recharge purchase, but does not mention its operation mechanism. Even the website does not have the link address of the source code
5, whether the official website starts with HTTPS
generally, the addresses of the official website and trading website of decentralized digital currency start with HTTPS, and the purpose is that this kind of website can well protect the user's data from illegal theft. But the official website of MLM currency, trading website and other related websites do not start with HTTPS
network virtual currency can be roughly divided into
the first category is familiar game currency. In the era of stand-alone games, the protagonist accumulates money by knocking down the enemy, entering the gambling house to win money, and using these to buy Herbs and equipment, but it can only be used in his own game console. At that time, there was no "market" between players. Since the establishment of Internet portal and community, the realization of game networking, virtual currency has a "financial market", players can trade game currency
the second type is the special currency issued by the portal website or instant messaging service provider, which is used to purchase the services in the website. The most widely used is Tencent's q-coin, which can be used to purchase membership, QQ show and other value-added services
the third kind of virtual currency on the Internet, such as bitcoin (BTC), Fuyuan coin (FTC), Wright currency (LTC), etc. bitcoin is an electronic currency proced by open-source P2P software. Some people also translate bitcoin as "bitcoin", which is a kind of network virtual currency. Mainly used for Internet financial investment, can also be used as a new currency directly for life
a real digital currency should have the following points:
1. It can be traded on the digital currency trading platform
2. The information of operation team is open and transparent
3. Have a good application scenario planning
4. It is a digital cryptocurrency developed based on blockchain technology
5. The source code is transparent and can be viewed by anyone
it is obvious that the so-called Kyushu digital currency does not have these conditions and is naturally different from bitcoin, Ruitai currency, Qianjin card and other digital currencies.
Why develop digital currency? From the perspective of the central bank, there are six advantages:
first, to improve the convenience and transparency of economic transactions; second, to rece the high cost of the issuance and circulation of traditional paper money; third, to better support economic and social development; fourth, to help the comprehensive realization of Inclusive Finance; fifth, to rece money laundering, to promote the development of the economy and society Sixth, improve the central bank's control over money supply and circulation
steps of digital currency development:
the first step,
first, we need to download the source code of a blockchain system from git, such as choosing the backbone code of bitcoin to download the relevant source code
At the same time, prepare the corresponding compiling environment (c + + is recommended in Linux) and install the corresponding development environment and toolsthe second step and
code all need to be compiled, so you need to prepare the compilation environment and tools, download the environment compilation tools, configure
system environment variables, QT environment and other files, and compile commands are described in detail in the files in ITC source code
however, the construction of the system and development environment, program compilation and other processes are cumbersome, so it is not recommended for ordinary users to make their own. For developers, it may take 2-3 days to install and configure for the first time
the third step,
take bitcoin development as an example, it is the development environment of Q. after downloading the source code and configuring the environment, open the source code of the bitcoin core in qtcreator, configure relevant files and compilers, and start to try to compile the client of the bitcoin core
Step 4,
transform into your own digital currency, open each source file, find the corresponding local adjustment parameters, such as adjusting
the number of coins in each block, the total output, the adjustment difficulty, and so on. Then the most critical point is to change the name to your own currency
name as you want, and don't forget to replace the related icons in the resource folder. If all goes well, after re compiling, your new coin will be invented successfully
for the development of this digital currency, the technology is relatively professional, so it is better to have a professional team to assist
framework for digital currency development:
1. Build Ethereum private chain test environment and public chain node environment configuration
2. Ethereum transaction and confirmation principle
3. Ethereum JSON RPC interface
4. Ethereum transfer and withdrawal principle
5. The server connects Ethereum public chain interface, and its own server stores business data, Public chain storage transaction anonymous data
6, private key security processing
the following is the development code example:
for example, the common digital currency wallets in the market are:
app class: kcash Imtokenweb: myethereumwallet Google browser plug-in: metamask
one of the most commonly used is imtoken
blockchain transaction technology concept:
let's take a look at how blockchain transaction is handled with bitcoin as an example. In order to send a certain amount of bitcoin to another wallet, you need the following information: the address to send the funds to your wallet, the amount of cryptocurrency you want to send
the ID of the recipient's wallet
each transaction is signed with a unique confidential private key. Once the payment is signed by the sender, it becomes publicly available. The transaction still needs to be confirmed so that the payee can get the money. In order to confirm the transaction, it is necessary to generate a new chain block
these blocks are generated by complex mathematical calculation to find the unique key. It takes 10 minutes to create a new block, and the person who finds the key gets a certain amount of coins as a reward. Once a new block of the chain is created, it is not possible to remove it from the database or change the information in some way. Therefore, blockchain transaction is final and irreversible
three core advantages of digital currency:
first, digital currency is a fair currency
digital currency has no specific issuing institution, is not issued by a country, only depends on a specific algorithm, which means that digital currency can not be manipulated by manipulating the number of issues, so digital currency is a free, non-state currency
we can see that there are many countries that directly recognize the virtual currency, so if there is a demand, it needs a trading platform
many investors who want to build a virtual currency trading platform now, why can't they go to these areas to build a trading platform? Building a virtual currency trading platform is a good business opportunity, isn't it
Second, the security factor of digital currency is higher.
although the emergence of paper money facilitates the transactions in our daily life, there are risks of being stolen and received. Although e-money can avoid these risks, there will be new problems such as theft and swiping
digital currency can avoid the above problems. And broadcast every transaction record on the network. Yes, all nodes save all the currency circulation information, so that any node can easily find the currency circulation before the transaction
Thirdly, the transaction of digital currency can realize anonymous transaction. Although you can query the flow information of each account according to the local complete transaction recordsbut we can't know who the owner of this account is, and no one has the ability to manipulate the digital currency on other people's accounts, which protects the privacy of users
if you also hold trading digital currency, foreign exchange gold, crude oil, contract Futures: