Write quantitative code of digital currency
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.
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
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: