Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Transfering (sending) tokens using thirdweb extensions
# Transferring (sending) tokens using thirdweb extensions

## ERC721
```typescript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const transactionResult = await sendTransaction({

### Example: `transfer()` extension for ERC20 tokens

This extension conveniently handles unit conversion when transfering ERC20 tokens. You can pass the amount in tokens, the extension will convert it to the right unit before calling the contract.
This extension conveniently handles unit conversion when Transferring ERC20 tokens. You can pass the amount in tokens, the extension will convert it to the right unit before calling the contract.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word "Transferring" should be lowercase in this context since it appears mid-sentence. The correct form would be "when transferring ERC20 tokens" rather than "when Transferring ERC20 tokens" to maintain proper sentence capitalization rules.

Suggested change
This extension conveniently handles unit conversion when Transferring ERC20 tokens. You can pass the amount in tokens, the extension will convert it to the right unit before calling the contract.
This extension conveniently handles unit conversion when transferring ERC20 tokens. You can pass the amount in tokens, the extension will convert it to the right unit before calling the contract.

Spotted by Diamond

Fix in Graphite


Is this helpful? React 👍 or 👎 to let us know.


```typescript
import { getContract, sendTransaction } from "thirdweb";
Expand Down
2 changes: 1 addition & 1 deletion apps/portal/src/app/typescript/v5/migrate/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ sendTx(transaction);

As you can see, by pairing the contract extensions with `useReadContract` (for read) and `useSendTransaction` (for write),
we are able to greatly reduce the amount of code that is packaged & shipped to the end users. Plus, with this approach we can dedicate more time
to building contract extensions. The SDK v5 currenty supports over hundreds of extensions, with some popular protocols like Uniswap, Farcaster, Lens & more to come.
to building contract extensions. The SDK v5 currently supports over hundreds of extensions, with some popular protocols like Uniswap, Farcaster, Lens & more to come.

View a list of [supported extensions](/typescript/v5/extensions/built-in) here, or [build your own](/typescript/v5/extensions/create)!

Expand Down