Skip to content

Advancing Web 3.0: Making Smart Contracts Smarter on Blockchain

Notifications You must be signed in to change notification settings

imtypist/fisco-smart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f2e005e · Jan 25, 2024

History

30 Commits
Nov 15, 2022
Nov 21, 2022
Oct 13, 2023
Apr 28, 2023
Nov 22, 2022
Apr 28, 2023
Apr 28, 2023
Apr 28, 2023
Sep 7, 2022
Nov 21, 2022
Nov 21, 2022
Apr 28, 2023
Jan 25, 2024
Sep 7, 2022
Apr 28, 2023
Sep 5, 2022
Apr 28, 2023
Sep 7, 2022

Repository files navigation

Make Smart Contracts Smarter on Blockchain

Directories

- client: the implementation of client
- console: run client as terminal
- dist: experiment figures and a small NFT study case
- eval_logs: raw experiment data
- fisco-smart: the implementation of blockchain nodes and precompiled contracts
- gramine: Graphene-SGX LibOS code
- quote-verification: scripts for extracting the SGX quote file
- tee-provider: the implementation of TEE provider
- *.sh: bash scripts to install dependencies and run the prototype

Dependencies

  • FISCO-BCOS v3.0.0
  • gramine v1.2

Tips and possible issues

  • Switch source for faster compile
cat > ~/.gitconfig << EOF
[url "https://ghproxy.com/https://github.com/"]
        insteadOf = https://github.com/
[http]
        sslVerify = false
EOF
  • console v3.0.0 has minor issues on calling precompiled contracts, the fixed method refers to FISCO-BCOS/console#601.

Evaluation

  • estimated gas cost of model inference on-chain

  • time cost of TEE register, distributed attestation, and secret provisioning

  • time cost comparison in SMART and EVM-based on-chain solutions

  • end-to-end latency of SMART framework

Cite

This work has been accepted by WWW'24. If this work is useful to you, please cite the following paper.

@inproceedings{HuangWWW2024Advancing,
  title={Advancing Web 3.0: Making Smart Contracts Smarter on Blockchain},
  author={Huang, Junqin and Kong, Linghe and Cheng, Guanjie and Xiang, Qiao and Chen, Guihai and Huang, Gang and Liu, Xue},
  booktitle={Proceedings of the ACM Web Conference 2024},
  pages={1-12},
  year={2024}
}

About

Advancing Web 3.0: Making Smart Contracts Smarter on Blockchain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published