Skip to content
Merged
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
138 changes: 108 additions & 30 deletions docs/.vitepress/config/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,49 +116,122 @@ function sidebarDappLink(): DefaultTheme.SidebarItem[] {
items: [
{ text: 'What is DappLink Layer3 ?', link: 'what-is-dapplink-layer3' }
]
},
}
]
}

function sidebarWallet(): DefaultTheme.SidebarItem[] {
return [
{
text: 'One-Click Wallet Deployment',
items: [
{ text: 'System Architecture', link: 'system-architecture' },
{ text: 'Core Function', link: 'dapplink-wallet' },
{
text: 'Project Components',
base: '/wallet/',
text: 'Introduction',
base: '/en/wallet/',
collapsed: false,
items: [
{ text: 'Overview', link: 'overview' },
{ text: 'Functional Modules', link: 'core-function' }
]
},
{
text: 'Core Functional Modules',
base: '/en/wallet/',
collapsed: false,
items: [
{ text: 'Unified Signature Service Workflow', link: 'signature' },
{ text: 'Centralized Wallet Workflow', link: 'centralized-wallet' },
{
text: 'Unified Browser API Code Library',
link: 'chain-explorer-api'
text: 'Decentralized Wallet Workflow',
link: 'decentralized-wallet'
},
{ text: 'MPC Network', link: 'tss' }
]
},
{
text: 'Detailed Overview of Exchange Wallet Business Flow',
base: '/en/wallet/centralized/',
collapsed: false,
items: [
{
text: 'Merchant Information Submission',
link: 'business-submit'
},
{ text: 'Merchant ID Configuration', link: 'business-id-config' },
{
text: 'Token Configuration by Business Party',
link: 'set-chain-token'
},
{
text: 'Batch Address Generation',
link: 'batch-generate-address'
},
{ text: 'Deposit Operation', link: 'deposit-flow' },
{ text: 'Withdrawal Operation', link: 'withdraw-flow' },
{ text: 'Fund Consolidation Operation', link: 'collection-flow' },
{ text: 'Hot-to-Cold Transfer', link: 'hot-to-cold' },
{ text: 'Cold-to-Hot Transfer', link: 'cold-to-hot' },
{ text: 'Rollback Operation', link: 'fallback' },
{ text: 'Service Deployment Method', link: 'service-deploy' }
]
},
{
text: 'Detailed Overview of Decentralized Wallet Business Flow',
base: '/en/wallet/decentralized/',
collapsed: false,
items: [
{ text: 'Wallet Address Generation', link: 'wallet-address-gen' },
{ text: 'Mnemonic Export', link: 'mnemonic-export' },
{ text: 'Mnemonic Import', link: 'mnemonic-import' },
{ text: 'Private Key Export', link: 'private-export' },
{ text: 'Private Key Import', link: 'private-import' },
{ text: 'Receive Funds', link: 'deposit' },
{ text: 'Transfer Funds', link: 'transform' },
{ text: 'Fetch Wallet Balance', link: 'get-wallet-balance' },
{ text: 'Transaction History', link: 'transaction-record' },
{ text: 'Token Discovery', link: 'token-find' },
{ text: 'Market Data Module', link: 'market-data-module' },
{ text: 'Asset Management Module', link: 'asset-manager-module' },
{ text: 'Quick Exchange', link: 'quick-exchange' },
{ text: 'DApp Browser', link: 'dapp-explorer' }
]
},
{
text: 'PayFi Technical Solution',
base: '/en/wallet/payfi/',
collapsed: false,
items: [
{
text: 'Unified RPC Interface Service',
link: 'wallet-chain-node'
text: 'AI-Based Mnemonic-Free Wallet Solution',
link: 'ai-wallet'
},
{ text: 'Key Management Tool', link: 'key-locker' },
{
text: 'Underlying Library for Threshold Secret Sharing Algorithms',
link: 'dapplink-secret'
text: 'High-Performance and Decentralized PayFi Application Chain',
link: 'payfi-appchain'
},
{ text: 'Market Aggregator', link: 'skyeye' },
{ text: 'Trade System', link: 'trade' },
{ text: 'Offline Sign SDK', link: 'wallet-sdk' },
{ text: 'MPC Network', link: 'tss' },
{ text: 'Cross-Chain Staking Project', link: 'linklayer' },
{ text: 'HD Wallet Backend Service', link: 'hailstone' },
{ text: 'PayFi QR Code Payment', link: 'payfi-scan' },
{ text: 'PayFi Web-Initiated Payment', link: 'payfi-link-network' },
{ text: 'Decentralized U-Card Payment', link: 'u-card-payment' },
{
text: 'Unified Wallet Services for Deposit, Withdrawal, Aggregation, Cold Transfer, and Risk Control',
link: 'wallet-scanner'
text: 'Crypto Card + POS Terminal Payment',
link: 'digital-currency-card-payment'
},
{
text: 'Centralized Wallet Business Components',
link: 'centralized-wallet-servicer'
text: 'QR Code + POS Terminal Payment',
link: 'scan-qr-code-payment'
}
]
},
{
text: 'Local Test Run',
base: '/en/wallet/',
collapsed: false,
items: [{ text: 'Local Startup Network', link: 'chain-setup' }]
},
{
text: 'DappLink TestNet',
base: '/en/wallet/',
collapsed: false,
items: [{ text: 'Introduction', link: 'dapplink-testnet' }]
}
]
}
Expand All @@ -183,21 +256,26 @@ function sidebarChain(): DefaultTheme.SidebarItem[] {
base: '/en/chain/',
collapsed: false,
items: [
{ text: 'RollUp and Proof System Layer', link: 'rollup-and-proof-system-abstraction' },
{
text: 'RollUp and Proof System Layer',
link: 'rollup-and-proof-system-abstraction'
},
{ text: 'Cross-Chain', link: 'cross-chain-abstraction' },
{ text: 'Multi-Staking Protocol', link: 'multi-staking-protocol' },
{ text: 'Fast Finality Network', link: 'fast-finality' },
{ text: 'Modular and Composable Layer3', link: 'layer3-app-chain' },
{ text: 'Modular and Composable Layer3', link: 'layer3-app-chain' }
]
}, {
},
{
text: 'Local Test Run',
base: '/en/chain/',
collapsed: false,
items: [
{ text: 'Local Startup Network', link: 'chain-setup' },
{ text: 'Quick Start', link: 'start-test' },
{ text: 'Quick Start', link: 'start-test' }
]
}, {
},
{
text: 'DappLink TestNet',
base: '/en/chain/',
collapsed: false,
Expand Down Expand Up @@ -236,7 +314,7 @@ function sidebarDapp(): DefaultTheme.SidebarItem[] {
{ text: 'Staking And Lending', link: 'staking-protocol' },
{ text: 'LSP And ReStaking', link: 'lsp-restaking' },
{ text: 'On Chain Insurance', link: 'onchain-insurance' },
{ text: 'PayFi And RWA', link: 'payfi-rwa' },
{ text: 'PayFi And RWA', link: 'payfi-rwa' }
]
},
{
Expand All @@ -245,7 +323,7 @@ function sidebarDapp(): DefaultTheme.SidebarItem[] {
collapsed: false,
items: [
{ text: 'Local network', link: 'chain-setup' },
{ text: 'Start', link: 'start-test' },
{ text: 'Start', link: 'start-test' }
]
}
]
Expand Down
80 changes: 50 additions & 30 deletions docs/.vitepress/config/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ export const zh = defineConfig({
},

editLink: {
pattern: 'https://github.com/dapplink-labs/dapplink-docs/edit/main/docs/:path',
pattern:
'https://github.com/dapplink-labs/dapplink-docs/edit/main/docs/:path',
text: '在 GitHub 上编辑此页面'
},

Expand Down Expand Up @@ -106,31 +107,27 @@ function sidebarDappLink(): DefaultTheme.SidebarItem[] {
{
text: '一键发钱包',
collapsed: false,
items: [
{ text: '什么是一键发钱包', link: 'what-is-dapplink-wallet' },
]
items: [{ text: '什么是一键发钱包', link: 'what-is-dapplink-wallet' }]
},
{
text: '一键发公链',
collapsed: false,
items: [
{ text: '什么是一键发链', link: 'what-is-dapplink-chain' },
]
items: [{ text: '什么是一键发链', link: 'what-is-dapplink-chain' }]
},
{
text: '一键发去中心化组合应用',
collapsed: false,
items: [
{ text: '什么是一键发去中心化组合应用', link: 'what-is-dapplink-dapps' },
{ text: '什么是一键发去中心化组合应用', link: 'what-is-dapplink-dapps' }
]
},
{
text: 'DappLink Layer3',
collapsed: false,
items: [
{ text: 'DappLink Layer3 是什么', link: 'what-is-dapplink-layer3' },
{ text: 'DappLink Layer3 是什么', link: 'what-is-dapplink-layer3' }
]
},
}
]
}

Expand Down Expand Up @@ -173,40 +170,58 @@ function sidebarWallet(): DefaultTheme.SidebarItem[] {
{ text: '热转冷', link: 'hot-to-cold' },
{ text: '冷转热', link: 'cold-to-hot' },
{ text: '回滚业务', link: 'fallback' },
{ text: '服务部署方式', link: 'service-deploy' },
{ text: '服务部署方式', link: 'service-deploy' }
]
},
{
text: '去中心化钱包业务流详细介绍',
base: '/zh/wallet/setup',
base: '/zh/wallet/decentralized/',
collapsed: false,
items: [
{ text: '统一浏览器代码库', link: 'chain-explorer-api' },
{ text: '钱包地址生成', link: 'wallet-address-gen' },
{ text: '助记词导出', link: 'mnemonic-export' },
{ text: '助记词导入', link: 'mnemonic-import' },
{ text: '私钥导出', link: 'private-export' },
{ text: '私钥导入', link: 'private-import' },
{ text: '收款', link: 'deposit' },
{ text: '转帐', link: 'transform' },
{ text: '钱包余额获取', link: 'get-wallet-balance' },
{ text: '交易记录', link: 'transaction-record' },
{ text: '代币发现功能', link: 'token-find' },
{ text: '行情业务模块', link: 'market-data-module' },
{ text: '资产管理模块', link: 'asset-manager-module' },
{ text: '闪兑', link: 'chain-explorer-api' },
{ text: 'Dapp浏览器', link: 'dapp-explorer' }
]
},
{
text: 'PayFi 技术解决方案',
base: '/zh/wallet/setup',
base: '/zh/wallet/payfi/',
collapsed: false,
items: [
{ text: '统一浏览器代码库', link: 'chain-explorer-api' },
{ text: '基于 AI 的无助记词钱包方案', link: 'ai-wallet' },
{ text: '高效性和去中心化 PayFi 应用链', link: 'payfi-appchain' },
{ text: 'PayFi 扫码支付', link: 'payfi-scan' },
{ text: 'PayFi 唤起网页来支付', link: 'payfi-link-network' },
{ text: '去中心化 U 卡支付', link: 'u-card-payment' },
{
text: '数字货币卡 + POS 机支付',
link: 'digital-currency-card-payment'
},
{ text: '二维码 + POS 机支付', link: 'scan-qr-code-payment' }
]
},
{
text: '本地运行测试',
base: '/zh/wallet/setup',
base: '/zh/wallet/',
collapsed: false,
items: [
{ text: '统一浏览器代码库', link: 'chain-explorer-api' },
]
items: [{ text: '本地启动网络', link: 'start-test' }]
},
{
text: '使用 DappLink 测试网络测试',
base: '/zh/wallet/setup',
base: '/zh/wallet/',
collapsed: false,
items: [
{ text: '统一浏览器代码库', link: 'chain-explorer-api' },
]
items: [{ text: '测试网络介绍', link: 'dapplink-testnet' }]
}
]
}
Expand All @@ -231,21 +246,26 @@ function sidebarChain(): DefaultTheme.SidebarItem[] {
base: '/zh/chain/',
collapsed: false,
items: [
{ text: 'RollUp 和证明系统抽象', link: 'rollup-and-proof-system-abstraction' },
{
text: 'RollUp 和证明系统抽象',
link: 'rollup-and-proof-system-abstraction'
},
{ text: '跨链抽象', link: 'cross-chain-abstraction' },
{ text: '多重质押协议', link: 'multi-staking-protocol' },
{ text: '快速验证网络抽象', link: 'fast-finality' },
{ text: '模块化可组合 Layer3', link: 'layer3-app-chain' },
{ text: '模块化可组合 Layer3', link: 'layer3-app-chain' }
]
}, {
},
{
text: '本地运行测试',
base: '/zh/chain/',
collapsed: false,
items: [
{ text: '本地启动网络', link: 'chain-setup' },
{ text: '开始使用', link: 'start-test' },
{ text: '开始使用', link: 'start-test' }
]
}, {
},
{
text: 'DappLink 测试网络测试',
base: '/zh/chain/',
collapsed: false,
Expand Down Expand Up @@ -284,7 +304,7 @@ function sidebarDapp(): DefaultTheme.SidebarItem[] {
{ text: '质押借贷协议', link: 'staking-protocol' },
{ text: 'LSP 和重新质押协议', link: 'lsp-restaking' },
{ text: '链上保险', link: 'onchain-insurance' },
{ text: 'PayFi 和 RWA', link: 'payfi-rwa' },
{ text: 'PayFi 和 RWA', link: 'payfi-rwa' }
]
},
{
Expand All @@ -293,7 +313,7 @@ function sidebarDapp(): DefaultTheme.SidebarItem[] {
collapsed: false,
items: [
{ text: '本地启动网络', link: 'chain-setup' },
{ text: '开始使用', link: 'start-test' },
{ text: '开始使用', link: 'start-test' }
]
}
]
Expand Down
Loading
Loading