Skip to content

Rust implementation of a smart contract full-node client with the Prism consensus protocol

License

Notifications You must be signed in to change notification settings

wgr523/prism-smart-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prism removes consensus bottleneck for smart contracts

Paper

Prism Removes Consensus Bottleneck for Smart Contracts [full text]

Gerui Wang (UIUC), Shuo Wang (Stanford University), Vivek Bagaria (Stanford University), David Tse (Stanford University), Pramod Viswanath (UIUC)

Abstract: The performance of existing permissionless smart contract platforms such as Ethereum is limited by the consensus layer. Prism is a new proof-of-work consensus protocol that provably achieves throughput and latency up to physical limits while retaining the strong guarantees of the longest chain protocol. This paper reports experimental results from implementations of two smart contract virtual machines, EVM and MoveVM, on top of Prism and demonstrates that the consensus bottleneck has been removed.

Build

This project requires Rust nightly. To build the binary, run cargo build --release.

The first build could take several mintues, mostly due to building dependencies from Ethereum.

Reproducing EVM Prism results

The scripts used in the evaluation section of the paper are located in /testbed. /testbed/README.md provides instructions for running the experiments and reproducing the results.

Reproducing EVM Executor Only results

Simply run cargo run --release --example vm_executor_only.

Acknowledgement

This repository is forked from Prism: Scaling Bitcoin by 10,000x and Parity Ethereum.

License

See LICENSE.

About

Rust implementation of a smart contract full-node client with the Prism consensus protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published