Skip to content

Latest commit

 

History

95 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ckb-c-stdlib

In the development of CKB scripts, we discovered many use-cases and patterns that could be really useful in writing CKB scripts. This repo serves as a commonplace for all those useful scripts. This could include but aren't limit to:

  • CKB's data structure definitions
  • Utilities for interacting with CKB via syscalls
  • A shimmed libc, notice the libc here is tailored for CKB's special needs, implementing everything in POSIX's standard is never a goal. If you do have special requirements, using a more complete libc is always a better choice

Notice while this repo would focus on C code, it is not limited to scripts written in C. A Rust script might use FFI to leverage the C code here, a higher level language can also use certain glues to use the code here.

Build with this library

Use an AI agent with the following instructions:

Write a "hello, world" project by following the instructions in:
https://github.com/nervosnetwork/ckb-c-stdlib/blob/master/guide.md

About

No description, website, or topics provided.

Resources

Stars

10 stars

Watchers

13 watching

Forks

Releases

Packages

Used by

Contributors

Languages