Skip to content

Commit 323c768

Browse files
Update rust readmes
1 parent 80ea550 commit 323c768

File tree

27 files changed

+293
-617
lines changed

27 files changed

+293
-617
lines changed

rust/basic_bitcoin/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Basic Bitcoin
1+
# Basic Bitcoin
22

33
This tutorial will walk you through how to deploy a sample [canister smart contract](https://internetcomputer.org/docs/current/developer-docs/multi-chain/bitcoin/overview) **that can send and receive Bitcoin** on the Internet Computer.
44

@@ -14,7 +14,7 @@ of the Internet Computer.
1414

1515
For a deeper understanding of the ICP < > BTC integration, see the [Bitcoin integration documentation](https://wiki.internetcomputer.org/wiki/Bitcoin_Integration).
1616

17-
### Prerequisites
17+
## Prerequisites
1818

1919
* [x] Install the [IC
2020
SDK](https://internetcomputer.org/docs/current/developer-docs/getting-started/install).
@@ -111,7 +111,7 @@ from three types of addresses:
111111
key. This precaution is to prevent attacks that can occur when creating
112112
taproot multisigner addresses using specific multisignature schemes. However,
113113
the Schnorr API of the internet computer does not support Schnorr
114-
multisignatures.
114+
multisignatures.
115115
3. A [P2TR
116116
address](https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki)
117117
where the funds can be spent using the provided public key with the script
@@ -209,7 +209,7 @@ reflected in your current balance.
209209

210210
## Step 6: Retrieving block headers
211211

212-
You can also get a range of Bitcoin block headers by using the `get_block_headers`
212+
You can also get a range of Bitcoin block headers by using the `get_block_headers`
213213
endpoint on your canister.
214214

215215
In the Candid UI, write the desired start height and optionally end height, and click on "Call":
@@ -233,7 +233,7 @@ In this tutorial, you were able to:
233233
* Connect the canister to the Bitcoin testnet.
234234
* Send the canister some testnet BTC.
235235
* Check the testnet BTC balance of the canister.
236-
* Use the canister to send testnet BTC to another testnet BTC address.
236+
* Use the canister to send testnet BTC to another testnet BTC address.
237237

238238
This example is extensively documented in the following tutorials:
239239

rust/basic_dao/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Certain system parameters, like the number of `Yes` votes needed to pass a propo
1010

1111
View the [canister service definition](https://github.com/dfinity/examples/blob/master/rust/basic_dao/src/basic_dao/src/basic_dao.did) for more details.
1212

13-
### Prerequisites
13+
## Prerequisites
1414
This example requires an installation of:
1515

1616
- [x] The Rust toolchain (e.g. cargo).

rust/basic_ethereum/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ features of the Internet Computer.
1414
For a deeper understanding of the ICP < > ETH integration, see
1515
the [Ethereum integration overview](https://internetcomputer.org/docs/current/developer-docs/multi-chain/ethereum/overview).
1616

17-
### Prerequisites
17+
## Prerequisites
1818

1919
- [x] Install the [IC SDK](https://internetcomputer.org/docs/current/developer-docs/getting-started/install).
2020

rust/canister-snapshots/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The `remove_spam` canister method intentionally includes a bug to simulate data
66
The example outlines the steps to install the canister, create a snapshot,
77
and subsequently restore the data after the simulated data loss.
88

9-
### Prerequisites
9+
## Prerequisites
1010

1111
This example requires an installation of:
1212

rust/canister_logs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Canister logs
22

3-
### Prerequisites
3+
## Prerequisites
44

55
- [x] Install the [IC
66
SDK](https://internetcomputer.org/docs/current/developer-docs/getting-started/install). For local testing, `dfx >= 0.22.0` is required.

rust/composite_query/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Composite queries
22

3-
### Prerequisites
3+
## Prerequisites
44
This example requires an installation of:
55

66
- [x] Install the [IC SDK](https://internetcomputer.org/docs/current/developer-docs/setup/install/index.mdx).

rust/counter/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This example demonstrates a counter application.
44

5-
### Prerequisites
5+
## Prerequisites
66
This example requires an installation of:
77

88
- [x] Install the [IC SDK](https://internetcomputer.org/docs/current/developer-docs/setup/install/).

rust/dip721-nft-container/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ A running instance of the Rust canister for demonstration purposes is available
8686
The interface is meant to be programmatic, but the Rust version additionally contains HTTP functionality so you can view a metadata file at `<canister URL>/<NFT ID>/<file ID>`.
8787
It contains six NFTs, so you can look at items from `<canister URL>/0/0` to `<canister URL>/5/0`.
8888

89-
### Prerequisites
89+
## Prerequisites
9090

9191
- [x] Install the [IC SDK](https://internetcomputer.org/docs/current/developer-docs/getting-started/install).
9292
- [x] Clone the example dapp project: `git clone https://github.com/dfinity/examples`

rust/face-recognition/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ torch.onnx.export(resnet, input, "face-recognition.onnx", verbose=False, opset_v
4949

5050
- #### Step 4: This should produce `face-recognition.onnx`. Copy the file to the root of this repository.
5151

52-
### Prerequisites
52+
## Prerequisites
5353

5454
- [x] Install the [IC
5555
SDK](https://internetcomputer.org/docs/current/developer-docs/getting-started/install). For local testing, `dfx >= 0.22.0` is required.

rust/hello/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ This example is based on the default project created by running `dfx new hello`.
3636

3737
This example is based on the default project created by running `dfx new --type=rust hello`.
3838

39-
### Prerequisites
39+
## Prerequisites
4040

4141
This example requires an installation of:
4242
- [x] Install the [IC SDK](https://internetcomputer.org/docs/current/developer-docs/setup/install/index.mdx).

0 commit comments

Comments
 (0)