Skip to content

Commit

Permalink
chore: release 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
quake committed Nov 3, 2023
1 parent 3996e4a commit 3da7ffa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ckb-sdk"
version = "3.0.0"
version = "3.0.1"
authors = ["Linfeng Qian <[email protected]>", "Nervos Core Dev <[email protected]>"]
edition = "2018"
license = "MIT"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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};
Expand Down

0 comments on commit 3da7ffa

Please sign in to comment.