Grant: Discovery Grants Program - Individual
University of Toronto
$29,000.00
Toward a Fast and Secure Blockchain Framework for Smart Contracts
EF 2024-25
Résumé
Following the success of the cryptocurrencies, blockchain has recently evolved
into a technology platform that powers secure, decentralized, and consistent
transaction ledgers at Internet-scale. Smart contract deployment is the most
important feature of many blockchain systems. Users can develop smart contracts
to encode arbitrarily complicated transaction rules and deploy these contracts
to a blockchain system. The contracts (i.e., transaction rules) are then
faithfully executed and enforced by all participants of the system, eliminating
any potential counter-party risk of the encoded transactions in future.
One challenge for the adoption of smart contract techniques is the security
risk. Because smart contracts are in fact programs that directly manipulate
digital assets, ensuring the correctness of these contracts is very critical.
Unfortunately, human programmers often make mistakes and errors. The
consequence of programming errors and security vulnerabilities in smart
contracts is particularly severe, often leading to tens of millions of dollar
losses. Another challenge for the adoption is the performance issue. To ensure
the consistency of the transaction ledger, the consensus protocols in
blockchain systems have to operate with slow block generation to avoid
concurrent blocks (i.e., forks), which are considered harmful for the consensus
safety. Therefore these systems have very limited transaction throughputs for
smart contracts. Users often have to wait for a long period of time to confirm
a transaction.
To tackle the security challenge, we propose to design a new set of tools for
securing smart contracts, combining the static analysis with runtime
instrumentations. One observation is that the transaction execution is not the
bottleneck in blockchain platforms. The bottleneck is instead first at the
consensus protocol and then at the blockchain storage layer. Therefore the
overhead of runtime instrumentation, which is often too expensive for other
domains, is in fact negligible for smart contracts. To tackle the performance
challenge, we propose to design a novel consensus protocol that reorganizes
blocks into direct acyclic graph to safely incorporate concurrent blocks. The
protocol inherently encodes two strategies, an optimistic strategy for high
performance and a conservative strategy that ensure the consensus progress to
thwart liveness attacks. We also propose to revisit the design of the storage
layer and the transaction propagation to build a high performance end-to-end
blockchain platform.
If the proposed research becomes successful, the proposed techniques would make
the development of smart contracts significantly more secure. The techniques
would also allow blockchain platforms to process smart contracts at a higher
throughput and a faster speed. The ultimate goal of the proposed research is to
find comprehensive solutions to unleash the full potential of smart contract
technologies.
Programme
Discovery Grants Program - Individual
Bénéficiaire
Emplacement
Ontario, Canada
Type de bénéficiaire
Academia
Type
Grant
Source
NSERC's Awards Data
Tel que publié
Application id
RGPIN-2020-05926
Name nom
Long, Fan
Department département
Computer Science
Organization id
31
Institution établissement
University of Toronto
Province en
Ontario
Province fr
Ontario
Country en
CANADA
Country fr
CANADA
Fiscal year exercice financier
2024
Competition year année de concours
2020
Award amount
29000
Program id
RGPIN
Program name en
Discovery Grants Program - Individual
Program name fr
Programme de subventions à la découverte - individuelles
Group en
DISCOVERY RESEARCH
Group fr
RECHERCHE AXÉE SUR LA DÉCOUVERTE
Committee code
1507
Committee name en
Computer Science
Committee name fr
Sciences informatiques
Area of application code
801
Area of application group en
Information and communication services
Area of application group fr
Services d'information et de télécommunications
Area of application en
Computer software
Area of application fr
Logiciel
Research subject code
2706
Research subject group en
Information technology
Research subject group fr
Technologie de l'information
Research subject en
Software engineering
Research subject fr
Génie logiciel
Field of research list names en
Not available
Field of research list names fr
Non disponible
Socioeconomic objective list names en
Not available
Socioeconomic objective list names fr
Non disponible
Application title
Toward a Fast and Secure Blockchain Framework for Smart Contracts
Keywords
blockchain; systems security; consensus; programming languages; distributed systems; smart contract
Application summary
Following the success of the cryptocurrencies, blockchain has recently evolved
into a technology platform that powers secure, decentralized, and consistent
transaction ledgers at Internet-scale. Smart contract deployment is the most
important feature of many blockchain systems. Users can develop smart contracts
to encode arbitrarily complicated transaction rules and deploy these contracts
to a blockchain system. The contracts (i.e., transaction rules) are then
faithfully executed and enforced by all participants of the system, eliminating
any potential counter-party risk of the encoded transactions in future.
One challenge for the adoption of smart contract techniques is the security
risk. Because smart contracts are in fact programs that directly manipulate
digital assets, ensuring the correctness of these contracts is very critical.
Unfortunately, human programmers often make mistakes and errors. The
consequence of programming errors and security vulnerabilities in smart
contracts is particularly severe, often leading to tens of millions of dollar
losses. Another challenge for the adoption is the performance issue. To ensure
the consistency of the transaction ledger, the consensus protocols in
blockchain systems have to operate with slow block generation to avoid
concurrent blocks (i.e., forks), which are considered harmful for the consensus
safety. Therefore these systems have very limited transaction throughputs for
smart contracts. Users often have to wait for a long period of time to confirm
a transaction.
To tackle the security challenge, we propose to design a new set of tools for
securing smart contracts, combining the static analysis with runtime
instrumentations. One observation is that the transaction execution is not the
bottleneck in blockchain platforms. The bottleneck is instead first at the
consensus protocol and then at the blockchain storage layer. Therefore the
overhead of runtime instrumentation, which is often too expensive for other
domains, is in fact negligible for smart contracts. To tackle the performance
challenge, we propose to design a novel consensus protocol that reorganizes
blocks into direct acyclic graph to safely incorporate concurrent blocks. The
protocol inherently encodes two strategies, an optimistic strategy for high
performance and a conservative strategy that ensure the consensus progress to
thwart liveness attacks. We also propose to revisit the design of the storage
layer and the transaction propagation to build a high performance end-to-end
blockchain platform.
If the proposed research becomes successful, the proposed techniques would make
the development of smart contracts significantly more secure. The techniques
would also allow blockchain platforms to process smart contracts at a higher
throughput and a faster speed. The ultimate goal of the proposed research is to
find comprehensive solutions to unleash the full potential of smart contract
technologies.