-
Notifications
You must be signed in to change notification settings - Fork 6
/
vocs.config.tsx
235 lines (234 loc) · 5.88 KB
/
vocs.config.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
import { defineConfig } from "vocs";
export default defineConfig({
head() {
return (
<script
defer
src={process.env.VERCEL_ENV == "production"
? "/_vercel/insights/script.js"
: ""}
>
</script>
);
},
theme: {
colorScheme: "system",
variables: {
color: {
textAccent: { light: "#2394ff", dark: "#e9e9ea" },
backgroundDark: { light: "#ebeaee", dark: "black" },
background: { light: "#f6f5f8", dark: "black" }, // f6f5f8 /ebf1f8
heading: { light: "black", dark: "#e9e9ea" },
text3: { light: "black", dark: "#e9e9ea" },
background5: { light: "#dee8ff", dark: "#3c393f" },
},
},
},
ogImageUrl: "https://vocs.dev/api/og?logo=%logo&title=%title&description=%description",
title: "Smart Wallet",
description: "Smart Wallet Documentation",
// logoUrl: '/logo.svg',
iconUrl: "/logo.svg",
topNav: [
{ text: "Demo", link: "https://smart-wallet.xyz/" },
{
text: "SDK Playground",
link: "https://coinbase.github.io/coinbase-wallet-sdk/",
},
{ text: "Github", link: "https://github.com/coinbase/coinbase-wallet-sdk" },
{ text: "Discord", link: "https://discord.com/invite/cdp/" },
],
sidebar: [
{
text: "Why Smart Wallet?",
link: "/why",
},
{
text: "Quick Start",
link: "/quick-start",
},
{
text: "FAQ",
link: "/FAQ",
},
{
text: "Launch Ready Checklist",
link: "/checklist",
},
{
text: "Wallet Library Support",
link: "/wallet-library-support",
},
{
text: "Base Gasless Campaign",
link: "/base-gasless-campaign",
},
{
text: "Features",
collapsed: false,
items: [
{
text: "Networks",
link: "/features/networks",
},
],
},
{
text: "Guides",
collapsed: false,
items: [
{
text: "Create a New Web App",
items: [
{
text: "Using Onchain App Template",
link: "/guides/create-app/using-onchain-app-template",
},
{
text: "Using Wagmi Template",
link: "/guides/create-app/using-wagmi",
},
],
},
{
text: "Update an Existing Web App",
link: "/guides/update-existing-app",
},
{
text: "Integrate with a React Native App",
link: "/guides/react-native-integration",
},
{
text: "Create Wallet Button",
link: "/guides/components/create-wallet-button",
},
{
text: "Signature Verification",
link: "/guides/signature-verification",
},
{
text: "Sign-In with Ethereum",
link: "/guides/siwe",
},
{
text: "Batch Transactions",
link: "/guides/batch-transactions",
},
{
text: "Spend Permissions",
collapsed: true,
items: [
{
text: "Overview",
link: "/guides/spend-permissions/overview",
},
{
text: "Quick Start",
link: "/guides/spend-permissions/quick-start",
},
{
text: "API Reference",
items: [
{
text: "SpendPermissionManager Contract",
link: "/guides/spend-permissions/api-reference/spendpermissionmanager",
},
{
text: "coinbase_fetchPermissions",
link: "/guides/spend-permissions/api-reference/coinbase-fetchpermissions",
},
{
text: "Client Resources",
link: "/guides/spend-permissions/api-reference/client-resources",
},
],
},
],
},
{
text: "Paymasters (Sponsored Transactions)",
link: "/guides/paymasters",
},
{
text: "Token Paymasters (Gas Tokens)",
link: "/guides/erc20-paymasters",
},
{
text: "MagicSpend Support",
link: "/guides/magic-spend",
},
{
text: "Tips & Tricks",
items: [
{
text: "Inspect Transaction Simulation",
link: "/guides/tips/inspect-txn-simulation",
},
{
text: "Popup Tips",
link: "/guides/tips/popup-tips",
},
],
},
],
},
{
text: "SDK",
collapsed: false,
items: [
{
text: "Getting Started (v4.2.0+)",
link: "/sdk/getting-started",
items: [
{
text: "createCoinbaseWalletSDK",
link: "/sdk/create-coinbase-wallet-sdk",
},
],
},
{
text: "Legacy Setup",
link: "/sdk/legacy-setup",
items: [
{
text: "makeWeb3Provider",
link: "/sdk/make-web3-provider",
},
],
},
{
text: "Upgrading from 3.x",
link: "/sdk/v3-to-v4-changes",
},
],
},
{
text: "Smart Contracts",
collapsed: false,
items: [
{
text: "Smart Wallet",
link: "https://github.com/coinbase/smart-wallet",
},
{
text: "Spend Permissions",
link: "https://github.com/coinbase/spend-permissions",
},
{
text: "MagicSpend",
link: "https://github.com/coinbase/magic-spend",
},
],
},
{
text: "FAQ",
collapsed: false,
items: [
{
text: "Why does it cost more on Ethereum L1?",
link: "/faq/why-does-it-cost-more-on-ethereum-l1",
},
],
},
],
});