Skip to content

Commit

Permalink
Fix typos and improve documentation clarity (#5827)
Browse files Browse the repository at this point in the history
Signed-off-by: Tristav <[email protected]>
  • Loading branch information
Pricstas authored Dec 23, 2024
1 parent e4fcae8 commit a83fee6
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion apps/portal/src/app/cli/create/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ npx thirdweb create [options] [projectPath]
- `--use-pnpm` - Explicitly tell the CLI to bootstrap the app using pnpm.
- `--framework` - The preferred framework.
- `--evm` - Initialize as an Ethereum project.
- `--template` - A template to start your project from. You can use an template repository name from the official thirdweb-example org.
- `--template` - A template to start your project from. You can use a template repository name from the official thirdweb-example org.
- `--contract-name` - Name of the new smart contract to create.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const metadata = createMetadata({

## Low level control to authenticate and connect wallets

You have full control with the connection hooks and functions to build your own UI. To use in-app wallets, you first choose a authentication strategy and then connect.
You have full control with the connection hooks and functions to build your own UI. To use in-app wallets, you first choose an authentication strategy and then connect.

## Starting from an example

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ A modular contract is made up of two kinds of contracts:

</Callout>

Installing an Module in a Core customizes the Core’s behaviour in two ways:
Installing a Module in a Core customizes the Core’s behaviour in two ways:

1. New functions become callable on the Core contract (via its [fallback function](https://docs.soliditylang.org/en/v0.8.26/contracts.html#fallback-function)).
2. Core contract’s fixed functions make callback function calls into the Module.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const metadata = createMetadata({

## Description

The `SimpleMetadataERC1155` contract is an module that provides simple metadata functionality for ERC-1155 tokens. It inherits from `SimpleMetadataERC721` to leverage the metadata management capabilities and adapt them for ERC-1155 tokens, allowing for easy setting and retrieval of token URIs.
The `SimpleMetadataERC1155` contract is a module that provides simple metadata functionality for ERC-1155 tokens. It inherits from `SimpleMetadataERC721` to leverage the metadata management capabilities and adapt them for ERC-1155 tokens, allowing for easy setting and retrieval of token URIs.

## Callback Functions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const metadata = createMetadata({

## Description

The `TransferableERC1155` contract is an module that provides transfer control functionality for ERC-1155 tokens. This contract allows enabling or disabling token transfers globally or for specific addresses, adding an extra layer of control over how tokens can be moved.
The `TransferableERC1155` contract is a module that provides transfer control functionality for ERC-1155 tokens. This contract allows enabling or disabling token transfers globally or for specific addresses, adding an extra layer of control over how tokens can be moved.

<GithubButtonLink href="https://github.com/thirdweb-dev/modular-contracts/blob/dev/src/module/token/transferable/TransferableERC1155.sol" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const metadata = createMetadata({

## Description

The `TransferableERC20` contract is an module that provides transfer control functionality for ERC-20 tokens. This contract allows enabling or disabling token transfers globally or for specific addresses, adding an extra layer of control over how tokens can be moved.
The `TransferableERC20` contract is a module that provides transfer control functionality for ERC-20 tokens. This contract allows enabling or disabling token transfers globally or for specific addresses, adding an extra layer of control over how tokens can be moved.

<GithubButtonLink href="https://github.com/thirdweb-dev/modular-contracts/blob/dev/src/module/token/transferable/TransferableERC20.sol" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const metadata = createMetadata({

## Description

The `DelayedRevealBatchMetadataERC721` contract is an module that provides functionality for delayed reveal of metadata for ERC-721 tokens. It enables the uploading of metadata for ranges of token IDs with optional encryption, allowing tokens to be revealed at a later time with a decryption key. This is useful for scenarios where the token metadata needs to be kept secret until a specified time.
The `DelayedRevealBatchMetadataERC721` contract is a module that provides functionality for delayed reveal of metadata for ERC-721 tokens. It enables the uploading of metadata for ranges of token IDs with optional encryption, allowing tokens to be revealed at a later time with a decryption key. This is useful for scenarios where the token metadata needs to be kept secret until a specified time.

## Callback Functions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const metadata = createMetadata({

## Description

The `SimpleMetadataERC721` contract is an module that provides simple metadata functionality for ERC-721 tokens. It allows for easy setting and retrieval of token URIs, making it straightforward to manage metadata for individual tokens.
The `SimpleMetadataERC721` contract is a module that provides simple metadata functionality for ERC-721 tokens. It allows for easy setting and retrieval of token URIs, making it straightforward to manage metadata for individual tokens.

## Callback Functions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const metadata = createMetadata({

## Description

The `TransferableERC721` contract is an module that provides transfer control functionality for ERC-721 tokens. This contract allows enabling or disabling token transfers globally or for specific addresses, adding an extra layer of control over how tokens can be moved.
The `TransferableERC721` contract is a module that provides transfer control functionality for ERC-721 tokens. This contract allows enabling or disabling token transfers globally or for specific addresses, adding an extra layer of control over how tokens can be moved.

<GithubButtonLink href="https://github.com/thirdweb-dev/modular-contracts/blob/dev/src/module/token/transferable/TransferableERC721.sol" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const metadata = createMetadata({

## Low level control to authenticate and connect wallets

You have full control with the connection hooks and functions to build your own UI. To use in-app wallets, you first choose a authentication strategy and then connect.
You have full control with the connection hooks and functions to build your own UI. To use in-app wallets, you first choose an authentication strategy and then connect.

## Setup the ThirdwebProvider

Expand Down
2 changes: 1 addition & 1 deletion apps/portal/src/app/typescript/v5/client/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A client is the entry point to the thirdweb SDK. It is required for all other ac

You must provide a `clientId` or `secretKey` in order to initialize a client.

You can create an client ID for free at
You can create a client ID for free at
[thirdweb.com/create-api-key](https://thirdweb.com/create-api-key).

</Callout>
Expand Down
2 changes: 1 addition & 1 deletion packages/thirdweb/src/adapters/ethers6.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export const ethers6Adapter = /* @__PURE__ */ (() => {
},
},
/**
* Converts an ethers6 Signer into an Wallet object or the other way around.
* Converts an ethers6 Signer into a Wallet object or the other way around.
* @example
*
* ### fromEthersSigner
Expand Down

0 comments on commit a83fee6

Please sign in to comment.