From c8b114055c7671fcb02693329ff798f9966c1ef4 Mon Sep 17 00:00:00 2001 From: quake Date: Fri, 14 Jun 2024 15:24:55 +0900 Subject: [PATCH] chore: update README --- README.md | 9 +++++++-- contracts/commitment-lock/README.md | 2 +- contracts/funding-lock/Makefile | 2 +- contracts/funding-lock/README.md | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b2d2e75..854cbfe 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# CKB Payment Channel Network Scripts +# CKB Fiber Network Scripts -This repository contains the scripts for the CKB Payment Channel Network. +This repository contains the scripts for the CKB Fiber Network. - [funding-lock](contracts/funding-lock/README.md) @@ -13,6 +13,11 @@ make build make test ``` +## Testnet deployment information + +We have deployed the scripts on the testnet, you can find the latest deployment information in the [deployment](deployment/testnet/migrations/2024-06-14-014027.json) directory. + + *This workspace was bootstrapped with [ckb-script-templates].* [ckb-script-templates]: https://github.com/cryptape/ckb-script-templates diff --git a/contracts/commitment-lock/README.md b/contracts/commitment-lock/README.md index a23b72e..7539906 100644 --- a/contracts/commitment-lock/README.md +++ b/contracts/commitment-lock/README.md @@ -1,6 +1,6 @@ # commitment-lock -This is a simple commitment lock script for ckb payment channel network. +This is a simple commitment lock script for ckb fiber network. The lock script args is the hash result of blake160(local_delay_epoch || local_delay_pubkey_hash || revocation_pubkey_hash || N * pending_htlc), to unlock this lock, the transaction must provide following fields in the witness: diff --git a/contracts/funding-lock/Makefile b/contracts/funding-lock/Makefile index 6d58cc2..b4abafa 100644 --- a/contracts/funding-lock/Makefile +++ b/contracts/funding-lock/Makefile @@ -60,7 +60,7 @@ fmt: # Arbitrary cargo command is supported here. For example: # # make cargo CARGO_CMD=expand CARGO_ARGS="--ugly" -# +# # Invokes: # cargo expand --ugly CARGO_CMD := diff --git a/contracts/funding-lock/README.md b/contracts/funding-lock/README.md index 58b2f1f..499c30b 100644 --- a/contracts/funding-lock/README.md +++ b/contracts/funding-lock/README.md @@ -1,6 +1,6 @@ # funding-lock -This is a simple funding lock script for ckb payment channel network. It utilizes the [ckb-auth] library to implement a 2-of-2 multi-sig script. +This is a simple funding lock script for ckb fiber network. It utilizes the [ckb-auth] library to implement a 2-of-2 multi-sig script. The lock script args is a blake160 hash of the aggregated public key of the two parties, to unlock this lock, the transaction must provide following fields in the witness: