Skip to content

Commit 2683687

Browse files
authored
Merge pull request #2363 from yash251/main
fix:typos
2 parents 8d62dad + f79c602 commit 2683687

File tree

14 files changed

+22
-22
lines changed

14 files changed

+22
-22
lines changed

builder-cookbook/dapps/chain-data-query.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ We will use `ethers.js` to establish a connection with the public Filecoin node
3030
import { ethers } from "ethers"
3131

3232
//The public Filecoin calibration URL
33-
const fielcoin_url = 'https://api.calibration.node.glif.io/rpc/v1'
34-
const provider = new ethers.JsonRpcProvider(fielcoin_url)
33+
const filecoin_url = 'https://api.calibration.node.glif.io/rpc/v1'
34+
const provider = new ethers.JsonRpcProvider(filecoin_url)
3535

3636
const blockNumber = await provider.getBlockNumber()
3737
console.log("Block height: ", blockNumber)
@@ -69,8 +69,8 @@ import { ethers } from "ethers"
6969
const wFILAddress = "0xaC26a4Ab9cF2A8c5DBaB6fb4351ec0F4b07356c4" // wFIL Contract
7070
var abi = ["event Transfer(address indexed from, address indexed to, uint amount)"]
7171

72-
const fielcoin_url = 'https://api.calibration.node.glif.io/rpc/v1'
73-
const provider = new ethers.providers.JsonRpcProvider(fielcoin_url)
72+
const filecoin_url = 'https://api.calibration.node.glif.io/rpc/v1'
73+
const provider = new ethers.providers.JsonRpcProvider(filecoin_url)
7474

7575
//listen to the Transfer events in the Token contract
7676
const wFIL = new ethers.Contract(wFILAddress, abi, provider)
@@ -110,8 +110,8 @@ import { ethers } from "ethers"
110110
const wFILAddress = "0xaC26a4Ab9cF2A8c5DBaB6fb4351ec0F4b07356c4" // wFIL Contract
111111
var abi = ["event Transfer(address indexed from, address indexed to, uint amount)"]
112112

113-
const fielcoin_url = 'https://api.calibration.node.glif.io/rpc/v1'
114-
const provider = new ethers.providers.JsonRpcProvider(fielcoin_url)
113+
const filecoin_url = 'https://api.calibration.node.glif.io/rpc/v1'
114+
const provider = new ethers.providers.JsonRpcProvider(filecoin_url)
115115

116116
// Create a filter to list all token transfers from myAddress
117117
const filter = contract.filters.Transfer("0xd388aB098ed3E84c0D808776440B48F685198498");

builder-cookbook/dapps/decentralized-database.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ To track all the deal aggregation/RaaS requests submitted to the smart contract,
4444

4545
```solidity
4646
uint256 private tableId;
47-
string private constant _TABLE_PREFIX = "aggregaor_table"; // Custom table prefix
47+
string private constant _TABLE_PREFIX = "aggregator_table"; // Custom table prefix
4848
4949
// Constructor that creates a table, sets the controller, and inserts data
5050
constructor() {

reference/built-in-actors/protocol-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ Results:
11811181

11821182
## Verified registry actor
11831183

1184-
Verified registry actor is responsible for managing verified clients. The ActorCode for the verified registry built-in actor is `hex"0006"` which will be used to call the exported methods in the verified registry built-in actor. You need to specify the method number for the method you want to invoke. Please referer to each method for its method number.
1184+
Verified registry actor is responsible for managing verified clients. The ActorCode for the verified registry built-in actor is `hex"0006"` which will be used to call the exported methods in the verified registry built-in actor. You need to specify the method number for the method you want to invoke. Please refer to each method for its method number.
11851185

11861186
### AddVerifiedClient
11871187

@@ -1273,7 +1273,7 @@ Params:
12731273
* `struct` ExtendClaimTermsParams
12741274
* `struct ClaimTerm[]` Terms
12751275
* `uint64` Provider - The provider address which stores the data.
1276-
* `uint64` CliamID - Claim ID.
1276+
* `uint64` ClaimID - Claim ID.
12771277
* `int64` TermMax - The max chain epoch to extend.
12781278

12791279
Results:

reference/general/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Developer tools, API clients & storage services that developers can use to build
7575

7676
### Storage APIs for app builders
7777

78-
* [Lighthouse](https://www.lighthouse.storage/) - Lighthouse offers a suite of tools to enable builders to store data on Filecoin when biulding apps.
78+
* [Lighthouse](https://www.lighthouse.storage/) - Lighthouse offers a suite of tools to enable builders to store data on Filecoin when building apps.
7979
* [`NFT.storage`](https://nft.storage/) - Preserve your NFTs with our new low-cost, easy-to-use solution, ensuring verifiable long-term storage on Filecoin.
8080
* [`Web3.storage`](https://web3.storage/) - service from Protocol Labs for storing off-chain _dApp_ data on IPFS and Filecoin, with help from Pinata (a fast IPFS Pinning Service) to [distribute the content across IPFS](https://www.pinata.cloud/blog/protocol-labs-and-pinata)
8181
* [`Textile.io's tools`](https://docs.textile.io/) - suite of tools for interacting with IPFS and Filecoin, including [Tableland](https://tableland.xyz/) and Filecoin bridges to Polygon and NEAR.

reference/json-rpc/client.md

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

33
{% hint style="warning" %}
4-
The Client methods are now deprecated and have been removed from Lotus (the Filecoin reference implemenation).
4+
The Client methods are now deprecated and have been removed from Lotus (the Filecoin reference implementation).
55
{% endhint %}
66

77
Some similar functionality can be found by using the [Boostly](https://github.com/filecoin-shipyard/boostly) library, which interacts with market actors provided by [Boost](https://boost.filecoin.io/).

reference/json-rpc/create.md

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

33
## CreateBackup
44

5-
CreateBackup creates node backup onder the specified file name. The method requires that the lotus daemon is running with the LOTUS\_BACKUP\_BASE\_PATH environment variable set to some path, and that the path specified when calling CreateBackup is within the base path
5+
CreateBackup creates node backup under the specified file name. The method requires that the lotus daemon is running with the LOTUS\_BACKUP\_BASE\_PATH environment variable set to some path, and that the path specified when calling CreateBackup is within the base path
66

77
Perms: admin
88

reference/json-rpc/eth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Perms: read
9696

9797
Inputs:
9898

99-
```jsona
99+
```json
100100
[
101101
{
102102
"from": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031",

reference/json-rpc/paych.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Response:
3939
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
4040
},
4141
"QueuedAmt": "0",
42-
"VoucherReedeemedAmt": "0"
42+
"VoucherRedeemedAmt": "0"
4343
}
4444
```
4545

@@ -68,7 +68,7 @@ Response:
6868
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
6969
},
7070
"QueuedAmt": "0",
71-
"VoucherReedeemedAmt": "0"
71+
"VoucherRedeemedAmt": "0"
7272
}
7373
```
7474

smart-contracts/advanced/wrapped-fil.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To wrap FIL into wFIL, follow these steps:
3535
1. **Obtain FIL**: Ensure you have FIL in your MetaMask wallet before wrapping it.
3636
2. **Connect your wallet**: You will need to connect your wallet to a platform that supports wFIL wrapping, such as [Glif](https://www.glif.io/en) or [wfil.io](https://wfil.io/).
3737
3. **Wrap your FIL**: After you’ve connected your wallet, you can wrap your FIL by following the platform’s instructions. Generally, you’ll need to select the amount of FIL you want to wrap and confirm the transaction on MetaMask. The platform will then mint an equivalent amount of wFIL and deposit it into your wallet.
38-
4. **Use wFIL**: Once you have wFIL in your wallet, you can use it on various Defi products that support token swapping or briding wFIL to other blockchains.
38+
4. **Use wFIL**: Once you have wFIL in your wallet, you can use it on various Defi products that support token swapping or bridging wFIL to other blockchains.
3939

4040
To unwrap FIL and receive FIL back to your wallet, users can directly go to supported platforms such as [Glif](https://www.glif.io/en) or [wfil.io](https://docs.filecoin.io/smart-contracts/advanced/wrapped-fil/) to unwrap FIL following the platform’s instructions. Once the network confirms the unwrap transaction, FIL tokens are transferred back to your wallet address.
4141

smart-contracts/developing-contracts/call-built-in-actors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: >-
33
Filecoin built-in actors can be invoked in a smart contract using either the
4-
Protocol API or the Zondax filecoin.solifity library. This page provides
4+
Protocol API or the Zondax filecoin.solidity library. This page provides
55
instructions on how to use each method.
66
---
77

0 commit comments

Comments
 (0)