Font Size: a A A

Real-time Monitoring Of Token Transfer Behavior Based On The Ethereum Platform

Posted on:2022-01-08Degree:MasterType:Thesis
Country:ChinaCandidate:W S ZhangFull Text:PDF
GTID:2518306524480184Subject:Cyberspace security
Abstract/Summary:PDF Full Text Request
Since the success of Bitcoin,more and more cryptocurrencies based on blockchain technology have been created.The Ethereum blockchain platform is the most successful blockchain application after the Bitcoin blockchain.The important reason that can attract people's attention again after the emergence of Bitcoin lies in that Ethereum has further extended the application of blockchain technology to the field of smart contracts.As of the 11 million block height of the Ethereum blockchain,more than 30 million smart con-tracts have been deployed on the Ethereum platform.The application of the Ethereum smart contract is mainly composed of token-contract.The cryptocurrency created and is-sued by deploying the Ethereum smart contract is named token,and the smart contract for transaction management of the token is called token-contract.Token-contract becomes an essential part of blockchain ecosystem,how to recognize token transfer behaviors accu-rately and efficiently is critical to many applications.Existing solutions cannot accomplish it because of invalid assumptions and incomplete patterns,which have been exploited by the adversary to launch attacks.Therefore,how to accurately and efficiently monitor token behavior has important research value and significance..This thesis conducts a systematic study of the contract operating mechanism of the Ethereum platform,combining the behavioral characteristics of token contract transfer and the operating mechanism of the platform's underlying contract-bytecode,a real-time monitoring system of token transfer behavior on the Ethereum platform is proposed and implemented.Using the data of the Ethereum public chain as experimental data,the result shows that the system can automatically identify a new type of token contract and identify the transfer behavior of the token contract with an accuracy of 98.7%.And when the system is embedded in the Ethereum node client,the performance load on the node is only4%.The experimental results show that the token transfer behavior monitoring system in this thesis can ensure high accuracy while maintaining relatively high efficiency.The main research contents of this thesis are as follows:1.To meet the accuracy requirements of token behavior detection,summarize the basic types of containers stored in the contract,and abstract the access path into a tree diagram.A matching method for complex types of containers is proposed around the combination of tree graph nodes.Based on this method,a scheme of identifying token contracts and extracting the type of token contract ledger was designed and implemented.2.After in-depth research on the underlying principles of the transaction synchro-nization mechanism of the Ethereum platform,combined with the extraction technology of the token contract account book container,a real-time monitoring system for token transfer behavior is realized.3.Four performance optimization mechanisms are proposed to optimize system per-formance.And through a series of test experiments to explore the optimization effect of each optimization mechanism,and combine the operation mechanism of Ethereum to an-alyze the in-depth reasons for the optimization mechanism to achieve the corresponding effect.
Keywords/Search Tags:Ethereum smart contract, Token-contract, Transfer behavior monitoring, Synchronization mechanism, Performance optimization
PDF Full Text Request
Related items