Skip to content

CKB's official system scripts. Those contracts will be included in system cells in genesis blocks

Notifications You must be signed in to change notification settings

nervina-labs/ckb-system-scripts

 
 

Repository files navigation

ckb-system-scripts

Build Status Crates.io

CKB's system scripts, which included in the system cells in the genesis block.

We created a new lock script called secp256k1-batch lock which is different from the offical secp256k1_blake160_sighash_all lock as follows:

  1. Change the MAX_WITNESS_SIZE from 32768 to 327680 (320k bytes)
  2. The size of lock args must be greater than or equal to 20bytes and less than or equal to 64bytes

Quick Start

git submodule init
git submodule update
make install-tools
make all-via-docker
cargo test --all

Release

Tag and publish the release. GitHub Actions will publish the crate.

About

CKB's official system scripts. Those contracts will be included in system cells in genesis blocks

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 58.2%
  • Rust 40.6%
  • Makefile 1.2%