diff --git a/docs/onchainkit/latest/components/token/token-image.mdx b/docs/onchainkit/latest/components/token/token-image.mdx index 513d5ea14..3cda4ea63 100644 --- a/docs/onchainkit/latest/components/token/token-image.mdx +++ b/docs/onchainkit/latest/components/token/token-image.mdx @@ -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'; @@ -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'; diff --git a/docs/onchainkit/latest/components/token/token-row.mdx b/docs/onchainkit/latest/components/token/token-row.mdx index 7b76e63d3..3b2f41e27 100644 --- a/docs/onchainkit/latest/components/token/token-row.mdx +++ b/docs/onchainkit/latest/components/token/token-row.mdx @@ -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'; @@ -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'; @@ -40,7 +40,7 @@ const token = { ... }; height="auto" /> -Token with an amount +Token with an amount: ```tsx import { TokenRow } from '@coinbase/onchainkit/token'; @@ -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'; diff --git a/docs/onchainkit/paymaster/gasless-transactions-with-paymaster.mdx b/docs/onchainkit/paymaster/gasless-transactions-with-paymaster.mdx index c435aef0e..4c439243a 100644 --- a/docs/onchainkit/paymaster/gasless-transactions-with-paymaster.mdx +++ b/docs/onchainkit/paymaster/gasless-transactions-with-paymaster.mdx @@ -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 = [ @@ -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({ diff --git a/docs/onchainkit/paymaster/quickstart-guide.mdx b/docs/onchainkit/paymaster/quickstart-guide.mdx index 1a4139d1a..ecb03b754 100644 --- a/docs/onchainkit/paymaster/quickstart-guide.mdx +++ b/docs/onchainkit/paymaster/quickstart-guide.mdx @@ -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 @@ -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 diff --git a/docs/onchainkit/paymaster/quickstart-headless.mdx b/docs/onchainkit/paymaster/quickstart-headless.mdx index 995fb0a2f..4307be3ca 100644 --- a/docs/onchainkit/paymaster/quickstart-headless.mdx +++ b/docs/onchainkit/paymaster/quickstart-headless.mdx @@ -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 @@ -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 diff --git a/docs/onchainkit/paymaster/troubleshooting.mdx b/docs/onchainkit/paymaster/troubleshooting.mdx index 60b8f60da..ecbe3115e 100644 --- a/docs/onchainkit/paymaster/troubleshooting.mdx +++ b/docs/onchainkit/paymaster/troubleshooting.mdx @@ -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: ``` { @@ -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: {