Skip to content

Commit 3ef88e6

Browse files
fix: address docs V2 QA items (#1817)
* Update sidebare to include spend permissions and CDP links * Fix quickstart typo * Fix broken onchainkit images * Add paymaster tutorail back to docs * Fix onchainkit images * Remove broken paymaster tutorial * fix links * add redirect, remove unused config * fix types * fix nested p tags * fix alias * fix links --------- Co-authored-by: Brendan Forster <[email protected]>
1 parent bbd39fe commit 3ef88e6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+319
-1104
lines changed

apps/base-docs/docs/pages/builderkits/onchainkit/api/build-deposit-to-morpho-tx.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { buildDepositToMorphoTx } from '@coinbase/onchainkit/earn';
1010
const calls = await buildDepositToMorphoTx({
1111
vaultAddress: '0x...', // Morpho vault address on Base
1212
tokenAddress: '0x...', // Address of the token to deposit
13-
amount: 1000000000000000000n, // Amount of tokens to deposit
13+
amount: 1000000000000000000n, // Amount of tokens to deposit
1414
recipientAddress: '0x...', // Address of the recipient
1515
});
1616
```
@@ -21,4 +21,4 @@ const calls = await buildDepositToMorphoTx({
2121

2222
## Parameters
2323

24-
[`DepositToMorphoParams`](/builderkits/onchainkit/earn/types#deposittomorphoparams)
24+
[`DepositToMorphoParams`](/builderkits/onchainkit/earn/types#deposittomorphoparams)

apps/base-docs/docs/pages/builderkits/onchainkit/api/build-mint-transaction.mdx

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ const response = await buildMintTransaction({
3636

3737
## Returns
3838

39-
[`Promise<BuildMintTransactionResponse>`](types#buildminttransactionresponse)
39+
[`Promise<BuildMintTransactionResponse>`](/builderkits/onchainkit/api/types#buildminttransactionresponse)
4040

4141
## Parameters
4242

43-
[`BuildMintTransactionParams`](types#buildminttransactionparams)
43+
[`BuildMintTransactionParams`](/builderkits/onchainkit/api/types#buildminttransactionparams)
4444

4545
## Types
46-
- [`BuildMintTransactionResponse`](types#buildminttransactionresponse)
47-
- [`BuildMintTransactionParams`](types#buildminttransactionparams)
4846

47+
- [`BuildMintTransactionResponse`](/builderkits/onchainkit/api/types#buildminttransactionresponse)
48+
- [`BuildMintTransactionParams`](/builderkits/onchainkit/api/types#buildminttransactionparams)

apps/base-docs/docs/pages/builderkits/onchainkit/api/build-swap-transaction.mdx

+4-4
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,13 @@ const response = await buildSwapTransaction({
117117

118118
## Returns
119119

120-
[`Promise<BuildSwapTransactionResponse>`](types#buildswaptransactionresponse)
120+
[`Promise<BuildSwapTransactionResponse>`](/builderkits/onchainkit/api/types#buildswaptransactionresponse)
121121

122122
## Parameters
123123

124-
[`BuildSwapTransactionParams`](types#buildswaptransactionparams)
124+
[`BuildSwapTransactionParams`](/builderkits/onchainkit/api/types#buildswaptransactionparams)
125125

126126
## Types
127-
- [`BuildSwapTransactionResponse`](types#buildswaptransactionresponse)
128-
- [`BuildSwapTransactionParams`](types#buildswaptransactionparams)
129127

128+
- [`BuildSwapTransactionResponse`](/builderkits/onchainkit/api/types#buildswaptransactionresponse)
129+
- [`BuildSwapTransactionParams`](/builderkits/onchainkit/api/types#buildswaptransactionparams)

apps/base-docs/docs/pages/builderkits/onchainkit/api/get-mint-details.mdx

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ const response = await getMintDetails({
5050

5151
## Returns
5252

53-
[`Promise<GetMintDetailsResponse>`](types#getmintdetailsresponse)
53+
[`Promise<GetMintDetailsResponse>`](/builderkits/onchainkit/api/types#getmintdetailsresponse)
5454

5555
## Parameters
5656

57-
[`GetMintDetailsParams`](types#getmintdetailsparams)
57+
[`GetMintDetailsParams`](/builderkits/onchainkit/api/types#getmintdetailsparams)
5858

5959
## Types
60-
- [`GetMintDetailsResponse`](types#getmintdetailsresponse)
61-
- [`GetMintDetailsParams`](types#getmintdetailsparams)
6260

61+
- [`GetMintDetailsResponse`](/builderkits/onchainkit/api/types#getmintdetailsresponse)
62+
- [`GetMintDetailsParams`](/builderkits/onchainkit/api/types#getmintdetailsparams)

apps/base-docs/docs/pages/builderkits/onchainkit/api/get-swap-quote.mdx

+4-4
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ const quote = await getSwapQuote({
7878

7979
## Returns
8080

81-
[`Promise<GetSwapQuoteResponse>`](types#getswapquoteresponse)
81+
[`Promise<GetSwapQuoteResponse>`](/builderkits/onchainkit/api/types#getswapquoteresponse)
8282

8383
## Parameters
8484

85-
[`GetSwapQuoteParams`](types#getswapquoteparams)
85+
[`GetSwapQuoteParams`](/builderkits/onchainkit/api/types#getswapquoteparams)
8686

8787
## Types
88-
- [`GetSwapQuoteResponse`](types#getswapquoteresponse)
89-
- [`GetSwapQuoteParams`](types#getswapquoteparams)
9088

89+
- [`GetSwapQuoteResponse`](/builderkits/onchainkit/api/types#getswapquoteresponse)
90+
- [`GetSwapQuoteParams`](/builderkits/onchainkit/api/types#getswapquoteparams)

apps/base-docs/docs/pages/builderkits/onchainkit/api/get-token-details.mdx

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ const response = await getTokenDetails({
3939

4040
## Returns
4141

42-
[`Promise<GetTokenDetailsResponse>`](types#gettokendetailsresponse)
42+
[`Promise<GetTokenDetailsResponse>`](/builderkits/onchainkit/api/types#gettokendetailsresponse)
4343

4444
## Parameters
4545

46-
[`GetTokenDetailsParams`](types#gettokendetailsparams)
46+
[`GetTokenDetailsParams`](/builderkits/onchainkit/api/types#gettokendetailsparams)
4747

4848
## Types
49-
- [`GetTokenDetailsResponse`](types#gettokendetailsresponse)
50-
- [`GetTokenDetailsParams`](types#gettokendetailsparams)
5149

50+
- [`GetTokenDetailsResponse`](/builderkits/onchainkit/api/types#gettokendetailsresponse)
51+
- [`GetTokenDetailsParams`](/builderkits/onchainkit/api/types#gettokendetailsparams)

apps/base-docs/docs/pages/builderkits/onchainkit/api/get-tokens.mdx

+4-4
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,13 @@ const tokens = await getTokens({
9898

9999
## Returns
100100

101-
[`Promise<GetTokensResponse>`](types#gettokensresponse)
101+
[`Promise<GetTokensResponse>`](/builderkits/onchainkit/api/types#gettokensresponse)
102102

103103
## Parameters
104104

105-
[`GetTokensOptions`](types#gettokensoptions)
105+
[`GetTokensOptions`](/builderkits/onchainkit/api/types#gettokensoptions)
106106

107107
## Types
108-
- [`GetTokensResponse`](types#gettokensresponse)
109-
- [`GetTokensOptions`](types#gettokensoptions)
110108

109+
- [`GetTokensResponse`](/builderkits/onchainkit/api/types#gettokensresponse)
110+
- [`GetTokensOptions`](/builderkits/onchainkit/api/types#gettokensoptions)

apps/base-docs/docs/pages/builderkits/onchainkit/buy/buy.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import BuyWrapper from '@/components/BuyWrapper';
1414
# `<Buy />`
1515

1616
<img alt="Buy"
17-
src="https://onchainkit.xyz/assets/buy.gif"
17+
src="/images/onchainkit/buy.gif"
1818
height="364"/>
1919

2020
The `Buy` components provide a comprehensive interface for users to purchase [Tokens](/builderkits/onchainkit/token/types#token).

0 commit comments

Comments
 (0)