Skip to content

Commit

Permalink
fix:typos
Browse files Browse the repository at this point in the history
  • Loading branch information
yash251 committed Feb 19, 2025
1 parent 8d62dad commit f79c602
Show file tree
Hide file tree
Showing 14 changed files with 22 additions and 22 deletions.
12 changes: 6 additions & 6 deletions builder-cookbook/dapps/chain-data-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ We will use `ethers.js` to establish a connection with the public Filecoin node
import { ethers } from "ethers"

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

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

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

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

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

// Create a filter to list all token transfers from myAddress
const filter = contract.filters.Transfer("0xd388aB098ed3E84c0D808776440B48F685198498");
Expand Down
2 changes: 1 addition & 1 deletion builder-cookbook/dapps/decentralized-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ To track all the deal aggregation/RaaS requests submitted to the smart contract,

```solidity
uint256 private tableId;
string private constant _TABLE_PREFIX = "aggregaor_table"; // Custom table prefix
string private constant _TABLE_PREFIX = "aggregator_table"; // Custom table prefix
// Constructor that creates a table, sets the controller, and inserts data
constructor() {
Expand Down
4 changes: 2 additions & 2 deletions reference/built-in-actors/protocol-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,7 @@ Results:

## Verified registry actor

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.
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.

### AddVerifiedClient

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

Results:
Expand Down
2 changes: 1 addition & 1 deletion reference/general/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Developer tools, API clients & storage services that developers can use to build

### Storage APIs for app builders

* [Lighthouse](https://www.lighthouse.storage/) - Lighthouse offers a suite of tools to enable builders to store data on Filecoin when biulding apps.
* [Lighthouse](https://www.lighthouse.storage/) - Lighthouse offers a suite of tools to enable builders to store data on Filecoin when building apps.
* [`NFT.storage`](https://nft.storage/) - Preserve your NFTs with our new low-cost, easy-to-use solution, ensuring verifiable long-term storage on Filecoin.
* [`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)
* [`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.
Expand Down
2 changes: 1 addition & 1 deletion reference/json-rpc/client.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Client

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

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/).
Expand Down
2 changes: 1 addition & 1 deletion reference/json-rpc/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## CreateBackup

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
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

Perms: admin

Expand Down
2 changes: 1 addition & 1 deletion reference/json-rpc/eth.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Perms: read

Inputs:

```jsona
```json
[
{
"from": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031",
Expand Down
4 changes: 2 additions & 2 deletions reference/json-rpc/paych.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Response:
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
},
"QueuedAmt": "0",
"VoucherReedeemedAmt": "0"
"VoucherRedeemedAmt": "0"
}
```

Expand Down Expand Up @@ -68,7 +68,7 @@ Response:
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
},
"QueuedAmt": "0",
"VoucherReedeemedAmt": "0"
"VoucherRedeemedAmt": "0"
}
```

Expand Down
2 changes: 1 addition & 1 deletion smart-contracts/advanced/wrapped-fil.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ To wrap FIL into wFIL, follow these steps:
1. **Obtain FIL**: Ensure you have FIL in your MetaMask wallet before wrapping it.
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/).
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.
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.
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.

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.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
description: >-
Filecoin built-in actors can be invoked in a smart contract using either the
Protocol API or the Zondax filecoin.solifity library. This page provides
Protocol API or the Zondax filecoin.solidity library. This page provides
instructions on how to use each method.
---

Expand Down
2 changes: 1 addition & 1 deletion smart-contracts/developing-contracts/get-test-tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: >-

## Calibration testnet

MetaMask is one of the easier ways to manage addresses on the Calibration testnet. MetaMask uses the `t4` [address type](../filecoin-evm-runtime/address-types.md), which allows developers to create and manage Solidity contracts easily. Follow the [MetaMask setup guide](../../basics/assets/metamask-setup.md) if you havn’t set up an address in your MetaMask wallet yet.
MetaMask is one of the easier ways to manage addresses on the Calibration testnet. MetaMask uses the `t4` [address type](../filecoin-evm-runtime/address-types.md), which allows developers to create and manage Solidity contracts easily. Follow the [MetaMask setup guide](../../basics/assets/metamask-setup.md) if you haven’t set up an address in your MetaMask wallet yet.

1. In your browser, open MetaMask and copy your address to your clipboard.
2. Go to [faucet.calibnet.chainsafe-fil.io](https://faucet.calibnet.chainsafe-fil.io) and click **Send Funds**.
Expand Down
2 changes: 1 addition & 1 deletion smart-contracts/developing-contracts/hardhat.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Always be careful when dealing with your private key. Double-check that you’re
```shell
yarn hardhat get-address

# Ethereum address (this addresss should work for most tools): 0x11Fc070e5c0D32024c9B63c136913405e07C8c48
# Ethereum address (this address should work for most tools): 0x11Fc070e5c0D32024c9B63c136913405e07C8c48
# f4address (also known as t4 address on testnets): f410fch6aods4buzaete3mpatnejuaxqhzdci3j67vyi
# ✨ Done in 1.40s.
```
Expand Down
4 changes: 2 additions & 2 deletions smart-contracts/filecoin-evm-runtime/filforwarder.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: >-
The FilFowarder is a smart contract that lets users transfer FIL from an
The FilForwarder is a smart contract that lets users transfer FIL from an
Ethereum-based f4 address to a Filecoin address of a different type.
---

Expand Down Expand Up @@ -73,7 +73,7 @@ This guide assumes you have the following installed:

#### **Environment setup**

First, we need to grab the FilFowarder kit and install the dependencies:
First, we need to grab the FilForwarder kit and install the dependencies:

1. Clone the FilForwarder repository and install the dependencies:

Expand Down
2 changes: 1 addition & 1 deletion storage-providers/infrastructure/storage.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
description: >-
This page covers RAID configurations, performance implications and
availability, I/O behavior for sealed and unsealed sectors, andf read/write
availability, I/O behavior for sealed and unsealed sectors, and read/write
performance considerations.
---

Expand Down

0 comments on commit f79c602

Please sign in to comment.