Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 896 Bytes

README.md

File metadata and controls

41 lines (24 loc) · 896 Bytes

CKB Transaction Co-Build Protocol(TCoB)

This project is a proof of concept that aims to demonstrate how to adopt transaction co-build protocol and message (similar to EIP-712) in CKB. It also includes witnesses layout change to simplify signing and DApp interoperability.

Build

Build contracts:

capsule build --release

Migration to TCoB

See migration

Integration with Dapp and Wallet

See dapp, using Lumos and Spore SDK.

Project Structure

  • ckb-transaction-cobuild

    A library for writing scripts to support CKB transaction co-build protocol.

  • contracts/transaction-cobuild-lock-demo

    A demo lock demonstrating how to write a lock script.

  • dapp

    DApp and wallet demo projects. With these projects, we can test/deploy on the testnet/devnet.

  • schemas

    The molecule definitions

  • tests

    uint tests