ckb-x64-simulator

Crates.iockb-x64-simulator
lib.rsckb-x64-simulator
version0.10.0
sourcesrc
created_at2020-12-04 02:30:57.374347
updated_at2024-10-25 09:39:09.496744
descriptionA simulator that allows running CKB smart contracts on x64 environment for tooling benefits
homepage
repositoryhttps://github.com/nervosnetwork/ckb-x64-simulator
max_upload_size
id319516
size62,524
LingFeng (TheWaWaR)

documentation

README

ckb-x64-simulator

ckb-x64-simulator provides a simulator environment, which can be used to compile CKB smart contracts to native x64 environment. The result here, is that all the existing toolings on x64 environment, such as valgrind, address sanitizer, undefined behavior sanitizer, code coverage tools, etc. can be used to ensure the security of smart contracts. One day we might reach the point that RISC-V based toolings have caught up, so this simulator can be sunset, but at the moment now, it provides a good tradeoff to boost smart contract security.

While this simulator is written in pure Rust, C based APIs are exposed so it can also be linked against a C based smart contract.

Commit count: 32

cargo fmt