From 3da7ffacb58d45bc33e0bc311723a19b2ea04c7f Mon Sep 17 00:00:00 2001 From: quake Date: Fri, 3 Nov 2023 13:10:34 +0900 Subject: [PATCH] chore: release 3.0.1 --- CHANGELOG.md | 5 +++++ Cargo.toml | 2 +- README.md | 6 +++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index df68b337..b33e07d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# 3.0.1 +* Support ckb 0.111.0 +* Update README.md +* fix: fn get_fee_rate_statistics return type + # 3.0.0 * Support ckb 0.111.0 diff --git a/Cargo.toml b/Cargo.toml index 11d52915..95213920 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ckb-sdk" -version = "3.0.0" +version = "3.0.1" authors = ["Linfeng Qian ", "Nervos Core Dev "] edition = "2018" license = "MIT" diff --git a/README.md b/README.md index 4f956252..f57fa87a 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ These features allow for seamless interaction with CKB and facilitate the develo ```toml # Cargo.toml [dependencies] -ckb-sdk = "3.0.0" +ckb-sdk = "3.0.1" ``` ## Build @@ -52,7 +52,7 @@ For more details about CKB RPC APIs, please refer to the [CKB RPC doc](https://g ### Build transaction by manual -The following code example demonstrates how to construct a transfer transaction on CKB. You can use it to transfer a specified amount of CKB from one address to another. +The following code example demonstrates how to construct a transfer transaction on CKB. You can use it to transfer a specified amount of CKB from one address to another. **NOTE**: The address and key are for demo purposes only and should not be used in a production environment. @@ -141,7 +141,7 @@ let (_tx, _) = builder ### Generate a new address -In CKB, a private key can be used to generate a public key, which is then hashed using the Blake2b hashing algorithm to produce a CKB address. The public key is derived from the private key using the secp256k1 elliptic curve cryptography algorithm. This process results in a unique CKB address that can be used to receive or send CKB tokens. It is important to keep the private key secure, as anyone with access to it can potentially access the associated CKB funds. +In CKB, a private key can be used to generate a public key, which is then hashed using the Blake2b hashing algorithm to produce a CKB address. The public key is derived from the private key using the secp256k1 elliptic curve cryptography algorithm. This process results in a unique CKB address that can be used to receive or send CKB tokens. It is important to keep the private key secure, as anyone with access to it can potentially access the associated CKB funds. ```rust use ckb_sdk::types::{Address, AddressPayload, NetworkType};