Skip to content

Commit

Permalink
chore: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
quake committed Jun 14, 2024
1 parent 73709c6 commit c8b1140
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)

Expand All @@ -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
2 changes: 1 addition & 1 deletion contracts/commitment-lock/README.md
Original file line number Diff line number Diff line change
@@ -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:

Expand Down
2 changes: 1 addition & 1 deletion contracts/funding-lock/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 :=
Expand Down
2 changes: 1 addition & 1 deletion contracts/funding-lock/README.md
Original file line number Diff line number Diff line change
@@ -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:

Expand Down

0 comments on commit c8b1140

Please sign in to comment.