Skip to content
Open
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
4 changes: 2 additions & 2 deletions docs/onchainkit/latest/components/token/token-image.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ With `token` props has no image, render partial token symbol and deterministic d

## Usage

`TokenImage` with an url
`TokenImage` with an url:

```tsx
import { TokenImage } from '@coinbase/onchainkit/token';
Expand Down Expand Up @@ -39,7 +39,7 @@ import { TokenImage } from '@coinbase/onchainkit/token';
height="auto"
/>

`TokenImage` with null as src
`TokenImage` with null as src:

```tsx
import { TokenImage } from '@coinbase/onchainkit/token';
Expand Down
8 changes: 4 additions & 4 deletions docs/onchainkit/latest/components/token/token-row.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The `TokenRow` component displays token information in a row format to be used i

## Usage

Token with an image url
Token with an image url:

```tsx
import { TokenRow } from '@coinbase/onchainkit/token';
Expand All @@ -24,7 +24,7 @@ const token = { ... };
height="auto"
/>

Token without an image url
Token without an image url:

```tsx
import { TokenRow } from '@coinbase/onchainkit/token';
Expand All @@ -40,7 +40,7 @@ const token = { ... };
height="auto"
/>

Token with an amount
Token with an amount:

```tsx
import { TokenRow } from '@coinbase/onchainkit/token';
Expand All @@ -57,7 +57,7 @@ const token = { ... };
height="auto"
/>

Variations with `hideImage` and `hideSymbol`
Variations with `hideImage` and `hideSymbol`:

```tsx
import { TokenRow } from '@coinbase/onchainkit/token';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ Feel free to use your own contract to interact with the Paymaster. For learning

You will be interacting with the NFT + ABI from a simple NFT contract deployed at: `0x83bd615eb93eE1336acA53e185b03B54fF4A17e8`

Copy and paste the NFT's abi into `index.js`
Copy and paste the NFT's abi into `index.js`:

```javascript
const abi = [
Expand Down Expand Up @@ -526,7 +526,7 @@ const abi = [

### Encode the Function Call

Encode the `mintTo` function call with the parameter being the address of the first smart wallet
Encode the `mintTo` function call with the parameter being the address of the first smart wallet:

```javascript
const callData = encodeFunctionData({
Expand Down
4 changes: 2 additions & 2 deletions docs/onchainkit/paymaster/quickstart-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ This Paymaster quickstart tutorial explains how to set up a basic app and sponso

## Setting up an app template

Clone the repo
Clone the repo:

```js
git clone https://github.com/coinbase/onchain-app-template.git
Expand All @@ -50,7 +50,7 @@ NEXT_PUBLIC_CDP_API_KEY = ADD_YOUR_ONCHAINKIT_KEY_HERE;
NEXT_PUBLIC_WC_PROJECT_ID = ADD_YOUR_PROJECT_ID_HERE;
```

Install dependencies - run these in your terminal in the root of the project
Install dependencies - run these in your terminal in the root of the project:

```sh
# Install bun in case you don't have it
Expand Down
4 changes: 2 additions & 2 deletions docs/onchainkit/paymaster/quickstart-headless.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export const abi = [

### 5. Create the Bundler and Paymaster clients, submit transaction

Create a new file called `index.js`
Create a new file called `index.js`:

```ts
//index.js
Expand Down Expand Up @@ -174,7 +174,7 @@ try {
}
```

In your terminal you can run this script using the below command from the correct directory
In your terminal you can run this script using the below command from the correct directory:

```js
node index.js
Expand Down
4 changes: 2 additions & 2 deletions docs/onchainkit/paymaster/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ You can use a tool like [Tenderly](https://dashboard.tenderly.co/) to help simul

If you think the issue may be related to gas, simulate using the Entrypoint contract, `0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789`, and pasting in your UserOperation into the `tuple` field.

For example, your UserOperation may look something like
For example, your UserOperation may look something like:

```
{
Expand Down Expand Up @@ -52,7 +52,7 @@ You can use the `simulateHandleOp` function and pass that UserOperation in the `

### Execution reverted with data

Error may look something like this
Error may look something like this:

```
cause: {
Expand Down