https://github.com/cryptape/ckb-transaction-cobuild-poc
Demonstrate how to adopt Transaction Co-Build Protocol on CKB.
https://github.com/cryptape/ckb-transaction-cobuild-poc
Last synced: 11 months ago
JSON representation
Demonstrate how to adopt Transaction Co-Build Protocol on CKB.
- Host: GitHub
- URL: https://github.com/cryptape/ckb-transaction-cobuild-poc
- Owner: cryptape
- Created: 2023-11-20T06:14:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-03T07:42:34.000Z (about 2 years ago)
- Last Synced: 2024-04-17T14:19:33.375Z (about 2 years ago)
- Language: Rust
- Homepage:
- Size: 2.82 MB
- Stars: 3
- Watchers: 7
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```sh
capsule build --release
```
## Migration to TCoB
See [migration](./docs/migration.md)
## Integration with Dapp and Wallet
See [dapp](./dapp/README.md), 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