XuJiandong / ckb-transaction-cobuild-poc

Demonstrate how to adopt Transaction Co-Build Protocol on CKB.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Demonstrate how to adopt Transaction Co-Build Protocol on CKB.


Languages

Language:Rust 81.0%Language:TypeScript 18.4%Language:Makefile 0.2%Language:Shell 0.2%Language:HTML 0.1%