Digital currency backtesting framework
As of September 2019, the central bank's digital currency has not been issued
the development history of the central bank's digital currency is as follows
in 2014, the Central Bank of China set up a special research team to conct in-depth research on the framework of digital currency issuance and business operation, key technologies of digital currency, issuance and circulation environment, and legal issues faced
in January 2017, the central bank officially established the digital currency Research Institute in Shenzhen
in September 2018, the Institute of digital currency built a trade finance blockchain platform
On July 8, 2019, at the launching ceremony of the digital finance open research program and the first academic seminar, Wang Xin, director of the Research Bureau of the people's Bank of China, disclosed that the State Council has officially approved the research and development of the central bank's digital currency, and the central bank is engaged in corresponding work in organizing market institutionson August 2, 2019, the central bank said at the second half of 2019 work video conference that it would speed up the research and development of legal digital currency
on August 10, 2019, Mu Changchun, deputy director of the payment and Settlement Department of the central bank, said at the Yichun forum of 40 people of China finance that "the central bank's digital currency can be said to be ready"
on August 18, 2019, the CPC Central Committee and the State Council issued their opinions on supporting Shenzhen to build a leading demonstration zone of socialism with Chinese characteristics, which mentioned supporting innovative applications such as digital currency research in Shenzhen
on August 21, 2019, the official micro blog of the people's Bank of China released two articles on digital currency. One is fan Yifei, vice president of the people's Bank of China, who was published in January 2018, talking about some considerations of digital currency of the people's Bank of China. The other is mu Changchun, deputy director of the Department of payment and settlement, who delivered a speech in Yichun on August 10
extended data:
practical significance
the digitalization of central bank's currency helps to optimize the central bank's monetary payment function, improve the central bank's monetary status and the effectiveness of monetary policy. The central bank's digital currency can become an interest bearing asset to meet the holder's reserve demand for safe assets, and can also become the lower limit of bank deposit interest rate
can also become a new monetary policy tool. At the same time, the central bank can affect the bank's deposit and loan interest rate by adjusting the central bank's digital currency interest rate, and help break the zero interest rate lower limit
operation system
fan Yifei, vice governor of the people's Bank of China, said in the article that the digital currency of the people's Bank of China should adopt a two-tier operation system. This model does not change the relationship between creditor's rights and debt of currency in circulation, does not change the existing money supply system and al account structure, does not constitute a competition for commercial banks' deposit currency, and does not increase commercial banks' dependence on the interbank lending market
will not affect the lending ability of commercial banks, and will not lead to the phenomenon of "financial disintermediation". At the same time, because it does not affect the existing monetary policy transmission mechanism, it will not strengthen the pro cyclical effect under the pressure environment, and it can improve the convenience and security of payment, and it also has the credit advantage of central bank endorsement
On November 9, 2019, the central bank has not launched digital currency
in 2014, the Central Bank of China set up a special research team to conct in-depth research on the framework of digital currency issuance and business operation, key technologies of digital currency, issuance and circulation environment, and legal issues
in January 2017, the central bank officially established the digital currency Research Institute in Shenzhen
in September 2018, the Institute of digital currency built a trade finance blockchain platform
On July 8, 2019, at the launching ceremony of the digital finance open research program and the first academic seminar, Wang Xin, director of the Research Bureau of the people's Bank of China, disclosed that the State Council has officially approved the research and development of the central bank's digital currency, and the central bank is engaged in corresponding work in organizing market institutions
extended data:
benefits of digital currency
the digitalization of central bank's currency helps to optimize the central bank's monetary payment function, improve the central bank's monetary status and the effectiveness of monetary policy. The central bank's digital currency can become an interest bearing asset to meet the holder's reserve demand for safe assets, and can also become the lower limit of bank deposit interest rate. It can also become a new monetary policy tool
at the same time, the central bank can affect the bank deposit and loan interest rate by adjusting the digital currency interest rate of the central bank, and help to break the zero interest rate lower limit
the birth and popularity of bitcoin all over the world depends on the concept, which is in the foreword of the times. However, bitcoin has been preconceived and cannot be replaced by other digital currencies. Although some counterfeit currencies were popular for a while later, they slowly went down in the end, only bitcoin strengthened. Puyin is another shortcut, as a standard system of digital currency appears, behind the endorsement of related tea assets, its value is recognized by the society.
According to reports, since 2014, the people's Bank of China has set up a special research team, and further enriched its strength in early 2015 to conct in-depth research on digital currency issuance and business operation framework, key technologies of digital currency, and digital currency issuance and circulation environment
At the same time, digital currency is born in the existing financial system, which is bound to be affected by the existing payment system and information technology. Theoretically speaking, the payment system mainly deals with the demand deposit in the broad money, while the digital currency mainly belongs to the category of cashArticle source: bit110 network
① entry fee (whether to pay the capitation fee): whether it is necessary to subscribe for goods or pay fees to obtain the qualification to join or develop the qualification of others to join, so as to seek illegal interests
② pull the head (whether it is necessary to go down the proction line): whether it is necessary to develop others to become their own proction line, and pay the developed personnel according to the number of their direct or indirect rolling development, so as to seek illegal interests
③ payment method (whether rebate at different levels): whether the payment is calculated on the basis of direct or indirect development personnel to seek illegal interests
2. According to the notice on preventing the financing risk of token issuance, there is no approved digital currency trading platform in China. According to China's digital currency regulatory framework, investors have the freedom to participate in digital currency transactions at their own risk
warm tips: the above information is for reference only. Before investing, it is suggested that you first understand the risks existing in the project, and understand the investors, investment institutions, chain activity and other information of the project, rather than blindly investing or mistakenly entering the capital market. Investment is risky, so we should be cautious when entering the market
the above information does not constitute any investment proposal, and investors should not use such information to replace their independent judgment or make decisions only based on such information, which does not constitute any trading operation
digital currency is a kind of unregulated and digital currency, which is usually issued and managed by developers and accepted and used by members of specific virtual communities. The European Banking authority defines virtual currency as a digital representation of value, which is not issued by the central bank or authorities, nor linked with legal currency. However, because it is accepted by the public, it can be used as a means of payment, or it can be transferred, stored or traded in electronic form
response time: January 19, 2021. Please refer to the official website of Ping An Bank for the latest business changes
[Ping An Bank I know] want to know more? Come and see "Ping An Bank I know" ~
https://b.pingan.com.cn/paim/iknow/index.html
there is no unified concept of legal digital currency. The Bank of England defines "digital currency" as "a payment method existing only by electronic means... Which can be used to purchase physical goods and services"... Including "private digital currency" and "digital currency issued by the central bank". Further than the Bank of England, Yao Qian, director of the digital currency Research Institute of the people's Bank of China, made clear the multiple connotations of the central bank's legal digital currency in several public speeches: legal and encrypted credit currency, adopted a series of algorithms, and derived more intelligent functions in the payment function
to this end, the central bank has designed a system architecture of "one currency, two warehouses and three centers", that is, taking digital currency as the center, designing the issuing library and deposit library, matching the certification center, big data analysis center and registration center. The central bank's digital currency is issued by the central bank and circulated in the commercial bank's account. The issuing inventory is put into the people's Bank of China to deposit the digital currency. The deposit bank is the database of the commercial bank to deposit the central bank's digital currency. The authentication center manages the identity of institutions and users in a centralized way; The registration center completes the whole life cycle and ownership registration of the central bank's digital currency; The big data analysis center achieves the goals of anti money laundering, anti terrorist financing, index detection and analysis
as an important node in the framework of legal digital currency, commercial banks play an important role in the circulation of central bank's digital currency. In the case that China's non bank payment institutions have occupied a certain market share, it is a better choice for non bank payment institutions to participate in the framework of digital currency operation as a supplement to commercial banks. The reasons are as follows: first, third-party payment institutions can help commercial banks realize the promotion of legal digital currency. Within commercial banks, there is a competitive relationship between legal digital currency and physical currency. The public tends to convert the digital currency in cash account into traditional currency in exchange for income, so it is difficult to achieve the goal of promoting digital currency by commercial banks; Second, the third-party payment institutions can avoid the repeated construction of payment application scenarios by commercial banks. Different from non bank payment institutions, the current payment scenarios of commercial banks are relatively lack of diversification, which will lead to a waste of resources and the rich experience accumulated by non bank payment institutions; Third, the third-party payment institutions can appropriately rece the operating costs of commercial banks. On the one hand, commercial banks need to upgrade the necessary software and hardware for the central bank's digital money service; On the other hand, we should continue to do a good job in traditional RMB deposit and withdrawal services. The simultaneous operation of the two systems will increase a lot of human and material costs. Fourth, the third-party payment institutions can promote the construction of payment instruments and channel integration of commercial banks. In the framework of legal digital currency, the single payment instruments and complex payment channels provided by commercial banks may rece the enthusiasm of the public to use legal digital currency
2 the emergence of legal digital currency reshapes the role of non bank payment institutions
in the process of cooperation with commercial banks, all kinds of non bank payment institutions play four roles. The first is the role of account manager. Non bank payment institutions can not operate deposit and loan business, and the amount in their payment account is not a deposit, so it is easier for the public to accept the role of non bank payment institutions as "digital wallet". At the same time, non bank payment institutions have rich experience in the development and operation of digital currency wallets and their terminals, which is concive to the smooth management and use of central bank's digital currency, and there is no need to worry about the risk of misappropriation of funds by non bank payment institutions. The second is the role of payment service provider. Non bank payment institutions have a lot of experience in scenario development and operation, including mobile payment, cross-border payment and rural payment, and relatively large market share of scenario based payment. On the one hand, powerful non bank payment institutions can develop a variety of procts based on Intelligent legal digital currency to meet the needs of users' exchange, payment, storage and related derivatives; On the other hand, non bank payment institutions can make use of various scenarios to promote the use of legal digital currency. For example, when consumers want to invest through the central bank's digital currency, non bank payment institutions, with the experience of traditional currency investment and payment services and upgraded digital wallet, can be fully competent as the special payment service provider of digital currency investment. Third, the role of system construction service provider. NPC, the core of national payment and settlement system, and CCPC, the core of provincial payment and settlement system, will continue to play an important role in the framework of legal digital currency. In the long-term coexistence of legal digital currency and traditional currency, NPC and CCPC will be double important nodes. Non bank payment institutions with strong technical ability can be used as secondary verification nodes under the framework of legal digital currency to supplement the multi center and distributed system architecture and continue to dock with NPC and CCPC
3 technical connection between non bank payment institutions and legal digital currency system
the innovation of non bank payment institutions is accompanied by the connection with legal digital currency system, covering the whole process of digital currency generation, storage, use and withdrawal. In this process, the first thing to solve is the docking of basic layer technology and transaction mole. The docking of basic layer technology is reflected in three aspects. First, in terms of basic security technology, non bank payment institutions, as providers of mobile terminal transaction forms, need to apply terminal security mole technology, dock with unified encryption and decryption system, provide carriers for secure storage and encryption and decryption operations, and provide effective basic security protection for digital currency. Secondly, in the aspect of data security technology, non bank payment institutions, as a part of the whole payment system, should adopt the official unified ciphertext + MAC / ciphertext + hash technology to transmit digital currency information, so as to ensure the confidentiality, security and non tamperability of the information. Thirdly, in the aspect of transaction security technology, non bank payment institutions, as the advanced nodes participating in bookkeeping, adopt blind signature technology to ensure the controllable anonymity of digital currency in the process of transaction, and eliminate the possibility of repeated payment through serial number, time stamp and other ways; And through encryption and decryption, digital signature, identity authentication and other anti-counterfeiting ways to ensure the authenticity of the transaction
when docking with the transaction mole, non bank payment institutions should do the following: first, docking with the certification center to obtain relevant digital certificates and user identity information; Second, connect with the trusted service management mole to obtain the use function of digital currency; Third, connect with the issuing system and storage system, and apply for and exchange digital currency through the bank treasury; Fourth, connect with the transaction communication mole to ensure that users can realize online payment through the transaction network in the intelligent terminal based on online transaction communication; Fifth, connect with the registration center, notify and record the flow of digital currency transactions, so as to complete the registration of the central bank's digital currency generation, circulation, checking and extinction process
4 scenario docking between non bank payment institutions and legal digital currency system
scenario docking of non bank payment institutions is based on the transformation of their own roles. Legal digital currency is algorithmic currency and intelligent currency, so business innovation and scenario expansion are the proper meaning of legal digital currency system. Non bank payment institutions can achieve scene docking mainly in four aspects
first, enabling the financial instry and defusing the limitations of financial scenario services. At present, there are some limitations in financial scenario service, such as business modeling is not universal, different agents have different management requirements, and the system docking cost of participants is high. Non bank payment institutions connect with the underlying technology of legal digital currency, and through the research and development of smart contract, establish behavior information such as capital flow, trigger conditions, value change rules, revenue right registration, and corresponding capital information (amount, account, currency, etc.) to resolve the existing limitations of financial scenario service. Non bank payment institutions use the atomic properties of digital currency and the atomic transactions of smart contracts to "assemble" into a business model. It does not need to develop a separate platform for different business scenarios, and avoids the monopoly of the instry platform and the non disclosure of information
Second, expand the use scenarios and improve the user experience. Non bank payment institutions can continue to expand the use scenarios according to the characteristics of legal digital currency on the basis of the existing rich payment scenarios, so as to meet the needs of users' exchange, payment, storage and related derivatives. At the same time, through the aggregation application, users can use the app of non bank payment institutions to dock a large number of scenarios and services
thirdly, improve the security of funds and create a universal digital wallet. Non bank payment institutions can provide digital wallet services, create digital wallets that meet security standards through their own technology, and ensure the security of users' funds. Alternative methods include: the central bank and non bank payment institutions cooperate to develop a unified universal digital wallet application, or authorize several qualified non bank payment institutions to provide universal digital wallet services. The digital wallet can realize the mutual exchange between the user's funds in various commercial banks and the legal digital currency even in the self owned accounts of non bank payment institutions. From the perspective of implementation, at the same time, the traditional account system of commercial banks can also bind the digital currency wallet of non bank payment institutions, so as to achieve the joint management of traditional accounts bound with digital currency wallet
Fourth, help cross-border settlement and build a safe and reliable cross time zone alliance chain. Non bank payment institutions can deeply participate in the cross-border payment system of legal digital currency. Cooperation with commercial banks and central banks can be achieved in at least two aspects. First, payment standards and tools are available. Non bank payment institutions participate in the research and establishment of standards and tools to realize the possibility of technical docking. Second, cross border payment system. The business system led by the central bank and participated by commercial banks and qualified non bank payment institutions will help to realize efficient cross-border payment
5 the legal framework of non bank payment institutions and legal digital currency is connected
a perfect legal system is an important guarantee for the operation of the digital currency system. There are several key questions to answer. First, how to determine the ownership of legal digital currency? This is the basis of all legal acts of legal digital currency. The first way of thinking is that legal digital currency is intangible. As a special movable property, it is applicable to the provisions of the property law. For example, Liu Xiangmin, director of the Department of articles and law of the people's Bank of China, believes that "to solve the problem of ownership transfer of digital currency, we should also focus on the publicity of ownership." The second idea is that digital currency is an electromagnetic record, which is applicable to the law of data transfer and transaction. The essence of digital currency is electromagnetic recording, and the transfer of electromagnetic recording content is recorded in the node of digital currency technology architecture. The change of node records is taken as the standard of ownership transfer. Second, how to protect personal information security? Personal information security is a basic problem in the era of digital economy. In addition to legislation to improve the level of technical security, we should also make clear the main types of legal digital currency system
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: