Skip to content

zzhengzhuo/ckb-lib-c-script

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ckb-lib-c-script

wrap some c lib for rust call.

compile

cd c

mkdir deps

git clone https://github.com/nervosnetwork/ckb-c-stdlib deps/ckb-c-stdlib

make ckb_smt-via-docker

cd ..

git clone https://github.com/nervosnetwork/ckb-miscellaneous-scripts

cd ckb-miscellaneous-scripts

make all-via-docker

mv ./c/build/ckb_smt ./ckb-lib-smt/lib/

mv ./ckb-miscellaneous-scripts/build/secp256k1_blake2b_sighash_all_dual ./ckb-lib-secp256k1/lib

mv ./ckb-miscellaneous-scripts/build/rsa_sighash_all ./ckb-lib-rsa/lib

About

rust lib for c script

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 53.0%
  • Rust 41.5%
  • Makefile 4.8%
  • C++ 0.7%