diff --git a/docs/guidelines/README.md b/docs/guidelines/README.md new file mode 100644 index 0000000000..0f39f90424 --- /dev/null +++ b/docs/guidelines/README.md @@ -0,0 +1,3 @@ +# Overview + +// TODO: need to be written \ No newline at end of file diff --git a/sidebars.js b/sidebars.js index 823d2ffbd1..4a29c2c719 100644 --- a/sidebars.js +++ b/sidebars.js @@ -23,103 +23,402 @@ const sidebars = { }, { 'type': 'html', - 'value': ' TON Academy ', + 'value': ' Introduction ', }, { type: 'category', - label: 'Learn', + label: 'What is Blockchain?', items: [ { - type: 'doc', - label: 'Overview', - id: 'learn/academy/academy-overview', + type: 'category', + label: 'TON Blockchain', + items: [ + 'learn/overviews/ton-blockchain', + 'learn/overviews/addresses', + 'learn/overviews/cells', + { + type: 'category', + label: 'TON Networking', + items: [ + { + type: 'doc', + label: 'Overview', + id: 'learn/networking/overview', + }, + { + type: 'category', + label: 'ADNL Protocol', + items: [ + { + type: 'doc', + label: 'Overview', + id: 'learn/networking/adnl', + }, + 'learn/networking/low-level-adnl', + ], + }, + 'learn/networking/overlay-subnetworks', + 'learn/networking/rldp', + 'learn/networking/ton-dht', + ], + }, + 'learn/overviews/blockchain-comparison', + { + type: 'link', + label: 'Open-Source and Decentralization in TON', + href: 'https://defi.org/ton/', + }, + ], }, ] }, + { + type: 'category', + label: 'Go from Ethereum?', + items: [ + 'develop/ethereum-to-ton/difference-of-blockchains', + 'develop/ethereum-to-ton/tvm-vs-evm', + 'develop/ethereum-to-ton/solidity-vs-func', + 'develop/ethereum-to-ton/blockchain-services', + ] + }, { 'type': 'html', 'value': '
', }, { 'type': 'html', - 'value': ' TON Concepts ', + 'value': ' Dive into TON ', }, { type: 'category', - label: 'TON Blockchain', + label: 'Blockchain Fundamentals', + items: [ + 'develop/blockchain/shards', + 'develop/blockchain/sharding-lifecycle', + ], + }, + 'learn/academy/academy-overview', + ], + develop: [ + 'develop/overview', + 'develop/howto/faq', + { + 'type': 'html', + 'value': '
', + }, + { + 'type': 'html', + 'value': ' Smart Contracts ', + }, + 'develop/smart-contracts/README', + { + type: 'category', + label: 'Getting Started', + items: [ + 'develop/smart-contracts/sdk/javascript', + 'develop/smart-contracts/environment/ide-plugins', + 'develop/smart-contracts/environment/testnet', + ], + }, + { + type: 'category', + label: 'Message Management', + items: [ + 'develop/smart-contracts/guidelines/ecosystem-messages-layout', + 'develop/smart-contracts/guidelines/message-delivery-guarantees', + 'develop/smart-contracts/messages', + 'develop/smart-contracts/guidelines/message-modes-cookbook', + 'develop/smart-contracts/guidelines/internal-messages', + 'develop/smart-contracts/guidelines/external-messages', + 'develop/smart-contracts/guidelines/non-bouncable-messages', + ], + }, + { + type: 'category', + label: 'Transaction Fees', + items: [ + 'develop/smart-contracts/fees', + 'develop/howto/fees-low-level', + 'develop/smart-contracts/guidelines/accept', + 'develop/smart-contracts/guidelines/processing', + ], + }, + { + type: 'category', + label: 'Ready-to-use contracts', items: [ - 'learn/overviews/ton-blockchain', - 'learn/overviews/addresses', - 'learn/overviews/cells', { type: 'category', - label: 'TON Networking', + label: 'Core Contracts', items: [ - { - type: 'doc', - label: 'Overview', - id: 'learn/networking/overview', - }, - { - type: 'category', - label: 'ADNL Protocol', - items: [ - { - type: 'doc', - label: 'Overview', - id: 'learn/networking/adnl', - }, - 'learn/networking/low-level-adnl', - ], - }, - 'learn/networking/overlay-subnetworks', - 'learn/networking/rldp', - 'learn/networking/ton-dht', + 'develop/smart-contracts/core-contracts/precompiled', + 'develop/smart-contracts/governance', + 'develop/research-and-development/minter-flow', ], }, - 'learn/overviews/blockchain-comparison', { - type: 'link', - label: 'Open-Source and Decentralization in TON', - href: 'https://defi.org/ton/', + type: 'category', + label: 'Wallets in TON', + items: [ + 'participate/wallets/apps', + 'participate/wallets/contracts', + ], }, + 'participate/network-maintenance/vesting-contract', ], }, { type: 'category', - label: 'TON Whitepapers', + label: 'FunC language', items: [ { type: 'doc', - label: 'Overview', - id: 'learn/docs', + id: 'develop/func/overview', }, { - type: 'link', - label: 'TON', - href: 'https://docs.ton.org/ton.pdf', + type: 'doc', + id: 'develop/func/cookbook', }, { - type: 'link', - label: 'TON Virtual Machine', - href: 'https://docs.ton.org/tvm.pdf', + type: 'category', + label: 'Documentation', + items: [ + 'develop/func/types', + 'develop/func/comments', + 'develop/func/literals_identifiers', + 'develop/func/functions', + 'develop/func/global_variables', + 'develop/func/compiler_directives', + 'develop/func/statements', + 'develop/func/builtins', + 'develop/func/dictionaries', + 'develop/func/stdlib', + ], }, + 'develop/smart-contracts/libraries', + ], + }, + { + type: 'category', + label: 'Fift language', + items: [ + 'develop/fift/overview', + 'develop/fift/fift-and-tvm-assembly', + 'develop/fift/fift-deep-dive', + ], + }, + { + 'type': 'html', + 'value': '
', + }, + { + 'type': 'html', + 'value': ' DApps ', + }, + { + type: 'category', + label: 'DeFi Principles', + items: [ + 'develop/dapps/defi/coins', + 'develop/dapps/defi/tokens', { - type: 'link', - label: 'TON Blockchain', - href: 'https://docs.ton.org/tblkch.pdf', + type: 'doc', + label: 'NFT Use Cases in TON', + id: 'develop/dapps/defi/nft', }, + 'develop/dapps/defi/subscriptions', + 'develop/dapps/defi/ton-payments', + ], + }, + { + type: 'category', + label: 'APIs and SDKs', + items: [ + 'develop/dapps/apis/sdk', + 'develop/dapps/apis/README', + 'develop/dapps/apis/toncenter', + 'develop/dapps/apis/adnl', + 'develop/dapps/apis/api-key' + ], + }, + { + type: 'category', + label: 'Telegram Mini Apps', + items: [ + 'develop/dapps/telegram-apps/README', + 'develop/dapps/telegram-apps/notcoin', + 'develop/dapps/telegram-apps/grants', + ] + }, + { + type: 'category', + label: 'Assets', + items: [ + 'develop/dapps/asset-processing/overview', + 'develop/dapps/asset-processing/README', // divide + 'develop/dapps/asset-processing/jettons', // divide + 'develop/dapps/asset-processing/mintless-jettons', // divide + 'develop/dapps/asset-processing/usdt', + 'develop/dapps/asset-processing/nfts', // divide + ], + }, + { + type: 'category', + label: 'Oracles', + items: [ + 'develop/oracles/about_blockchain_oracles', + { - type: 'link', - label: 'Catchain Consensus Protocol', - href: 'https://docs.ton.org/catchain.pdf', + type: 'category', + label: 'Oracles in TON', + items: [ + 'develop/oracles/red_stone', + ], }, ], }, + { + 'type': 'html', + 'value': '
', + }, + { + 'type': 'html', + 'value': ' Networking ', + }, + { + type: 'category', + label: 'Network Configurations', + items: [ + 'develop/howto/network-configs', + 'develop/howto/blockchain-configs', + 'develop/howto/config-params', + ], + }, + { + type: 'category', + label: 'Network Protocols', + items: [ + 'develop/network/adnl-tcp', + 'develop/network/adnl-udp', + 'develop/network/dht', + 'develop/network/rldp', + 'develop/network/overlay', + ], + }, + { + 'type': 'html', + 'value': '
', + }, + { + 'type': 'html', + 'value': ' Data Formats ', + }, + { + type: 'category', + label: 'TL-B', + items: [ + 'develop/data-formats/cell-boc', + 'develop/data-formats/exotic-cells', + 'develop/data-formats/library-cells', + 'develop/data-formats/proofs', + 'develop/data-formats/tl-b-language', + 'develop/data-formats/tl-b-types', + 'develop/research-and-development/boc', + 'develop/data-formats/msg-tlb', + 'develop/data-formats/block-layout', + 'develop/data-formats/transaction-layout', + 'develop/data-formats/crc32', + 'develop/data-formats/tlb-ide', + 'develop/data-formats/tlb-tools', + ], + }, + 'develop/data-formats/tl', + { + 'type': 'html', + 'value': '
', + }, + { + 'type': 'html', + 'value': ' TON Virtual Machine (TVM) ', + }, + 'learn/tvm-instructions/tvm-overview', + 'learn/tvm-instructions/tvm-initialization', + 'learn/tvm-instructions/tvm-exit-codes', + { + type: 'link', + label: 'TVM Instructions', + href: '/learn/tvm-instructions/instructions', + }, + { + type: 'category', + label: 'TVM Changelog', + items: [ + 'learn/tvm-instructions/fee-calculation-instructions', + 'learn/tvm-instructions/tvm-upgrade-2023-07', + ], + }, + { + 'type': 'html', + 'value': '
', + }, + { + 'type': 'html', + 'value': ' Quality Assurance & Outsource', + }, + 'develop/companies/auditors', + 'develop/companies/outsource', + { + 'type': 'html', + 'value': '
', + }, + { + 'type': 'html', + 'value': ' TON Whitepapers ', + }, + { + type: 'doc', + label: 'Overview', + id: 'learn/docs', + }, + { + type: 'link', + label: 'TON', + href: 'https://docs.ton.org/ton.pdf', + }, + { + type: 'link', + label: 'TON Virtual Machine', + href: 'https://docs.ton.org/tvm.pdf', + }, + { + type: 'link', + label: 'TON Blockchain', + href: 'https://docs.ton.org/tblkch.pdf', + }, + { + type: 'link', + label: 'Catchain Consensus Protocol', + href: 'https://docs.ton.org/catchain.pdf', + }, + { + 'type': 'html', + 'value': '
', + }, + { + 'type': 'html', + 'value': ' Archived ', + }, + 'develop/archive/pow-givers', + 'develop/archive/mining', + 'develop/archive/tg-bot-integration', + 'develop/archive/tg-bot-integration-py', + 'develop/smart-contracts/compile/README', + 'develop/smart-contracts/environment/installation', ], - develop: [ - - 'develop/overview', + guidelines: [ + 'guidelines/README', + 'develop/get-started-with-ton', { type: 'category', label: 'TON Hello World series', @@ -147,322 +446,147 @@ const sidebars = { ], }, { - type: 'doc', - label: 'Get Started with TON', - id: 'develop/get-started-with-ton', + 'type': 'html', + 'value': '
', }, { - type: 'category', - label: 'Transition from Ethereum to TON', - items: [ - 'develop/ethereum-to-ton/difference-of-blockchains', - 'develop/ethereum-to-ton/tvm-vs-evm', - 'develop/ethereum-to-ton/solidity-vs-func', - 'develop/ethereum-to-ton/blockchain-services', - ], + 'type': 'html', + 'value': ' Smart Contracts ', }, + 'develop/smart-contracts/guidelines', + 'develop/smart-contracts/guidelines/get-methods', { - 'type': 'html', - 'value': '
', + type: 'doc', + label: 'Transaction fees calculation', + id: 'develop/smart-contracts/fee-calculation', }, { - 'type': 'html', - 'value': ' Development ', + type: 'category', + label: 'Security Measures', + items: [ + 'develop/smart-contracts/security/README', + 'develop/smart-contracts/security/secure-programming', + 'develop/smart-contracts/security/things-to-focus', + 'develop/smart-contracts/security/ton-hack-challenge-1', + 'develop/smart-contracts/guidelines/random-number-generation', + 'develop/smart-contracts/security/random', + ], }, { type: 'category', - label: 'Smart Contracts', + label: 'How to', items: [ - 'develop/smart-contracts/README', - - { - type: 'category', - label: 'Getting Started', - items: [ - 'develop/smart-contracts/sdk/javascript', - 'develop/smart-contracts/environment/ide-plugins', - 'develop/smart-contracts/environment/testnet', - ], - }, - { - type: 'category', - label: 'Testing and Debugging', - items: [ - 'develop/smart-contracts/testing/overview', - 'develop/smart-contracts/testing/writing-test-examples', - ], - }, { type: 'category', - label: 'Development Guidelines', + label: 'Compile from Sources', items: [ - 'develop/smart-contracts/guidelines', - 'develop/smart-contracts/guidelines/get-methods', { - type: 'category', - label: 'Message Management', - items: [ - 'develop/smart-contracts/guidelines/ecosystem-messages-layout', - 'develop/smart-contracts/guidelines/message-delivery-guarantees', - 'develop/smart-contracts/messages', - 'develop/smart-contracts/guidelines/message-modes-cookbook', - 'develop/smart-contracts/guidelines/internal-messages', - 'develop/smart-contracts/guidelines/external-messages', - 'develop/smart-contracts/guidelines/non-bouncable-messages', - ], - }, - { - type: 'category', - label: 'Transaction Fees', - items: [ - 'develop/smart-contracts/fees', - 'develop/howto/fees-low-level', - 'develop/smart-contracts/fee-calculation', - 'develop/smart-contracts/guidelines/accept', - 'develop/smart-contracts/guidelines/processing', - ], - }, - { - type: 'category', - label: 'Security Measures', - items: [ - 'develop/smart-contracts/security/README', - 'develop/smart-contracts/security/secure-programming', - 'develop/smart-contracts/security/things-to-focus', - 'develop/smart-contracts/security/ton-hack-challenge-1', - 'develop/smart-contracts/guidelines/random-number-generation', - 'develop/smart-contracts/security/random', - ], + type: 'doc', + label: 'Compilation Instructions', + id: 'develop/howto/compile', }, { - type: 'link', - label: 'How to shard your TON smart contract and why', - href: 'https://blog.ton.org/how-to-shard-your-ton-smart-contract-and-why-studying-the-anatomy-of-tons-jettons', + type: 'doc', + label: 'Instructions for low-memory machines', + id: 'develop/howto/compile-swap', }, ], }, + 'develop/smart-contracts/tutorials/multisig', + 'develop/smart-contracts/tutorials/multisig-js', + 'develop/smart-contracts/tutorials/wallet', + 'develop/smart-contracts/examples', { - type: 'category', - label: 'Core Contracts', - items: [ - 'develop/smart-contracts/core-contracts/precompiled', - 'develop/smart-contracts/governance', - 'develop/research-and-development/minter-flow', - ], - }, - { - type: 'category', - label: 'Tutorials & Examples', - items: [ - 'develop/smart-contracts/tutorials/multisig', - 'develop/smart-contracts/tutorials/multisig-js', - 'develop/smart-contracts/tutorials/wallet', - 'develop/smart-contracts/examples', - ], + type: 'link', + label: 'How to shard your TON smart contract and why', + href: 'https://blog.ton.org/how-to-shard-your-ton-smart-contract-and-why-studying-the-anatomy-of-tons-jettons', }, ], }, - + { + 'type': 'html', + 'value': '
', + }, + { + 'type': 'html', + 'value': ' DApps ', + }, + 'develop/dapps/README', + 'develop/dapps/cookbook', { type: 'category', - label: 'DApps Development', + label: 'Tutorials & Examples', items: [ - 'develop/dapps/README', - 'develop/dapps/cookbook', - { - type: 'category', - label: 'DeFi Principles', - items: [ - 'develop/dapps/defi/coins', - 'develop/dapps/defi/tokens', - { - type: 'doc', - label: 'NFT Use Cases in TON', - id: 'develop/dapps/defi/nft', - }, - 'develop/dapps/defi/subscriptions', - 'develop/dapps/defi/ton-payments', - ], + type: 'doc', + id: 'develop/dapps/tutorials/collection-minting', + label: 'NFT Minting Guide', }, { - type: 'category', - label: 'APIs and SDKs', - items: [ - 'develop/dapps/apis/sdk', - 'develop/dapps/apis/README', - 'develop/dapps/apis/toncenter', - 'develop/dapps/apis/adnl', - 'develop/dapps/apis/api-key' - ], + type: 'doc', + id: 'develop/dapps/tutorials/jetton-minter', + label: 'Mint Your First Token', }, { - type: 'category', - label: 'Tutorials & Examples', - items: [ - { - type: 'doc', - id: 'develop/dapps/tutorials/collection-minting', - label: 'NFT Minting Guide', - }, - { - type: 'doc', - id: 'develop/dapps/tutorials/jetton-minter', - label: 'Mint Your First Token', - }, - { - type: 'doc', - id: 'develop/dapps/tutorials/simple-zk-on-ton', - label: 'Zero-Knowledge Proofs', - }, - { - type: 'doc', - id: 'develop/dapps/tutorials/building-web3-game', - label: 'Web3 Game Example', - }, - { - type: 'category', - label: 'Telegram Bot Examples', - items: [ - 'develop/dapps/tutorials/accept-payments-in-a-telegram-bot', - 'develop/dapps/tutorials/accept-payments-in-a-telegram-bot-2', - 'develop/dapps/tutorials/accept-payments-in-a-telegram-bot-js', - ], - }, - ], + type: 'doc', + id: 'develop/dapps/tutorials/simple-zk-on-ton', + label: 'Zero-Knowledge Proofs', }, { - type: 'category', - label: 'Telegram Mini Apps', - items: [ - 'develop/dapps/telegram-apps/README', - 'develop/dapps/telegram-apps/notcoin', - 'develop/dapps/telegram-apps/grants', - { - type: 'category', - label: 'Guidelines', - items: [ - 'develop/dapps/telegram-apps/testing-apps', - 'develop/dapps/telegram-apps/publishing', - 'develop/dapps/telegram-apps/monetization', - 'develop/dapps/telegram-apps/tips-and-tricks', - ], - }, - { - type: 'category', - label: 'Tutorials & Examples', - items: [ - 'develop/dapps/telegram-apps/step-by-step-guide', - 'develop/dapps/telegram-apps/app-examples', - 'develop/dapps/telegram-apps/design-guidelines', - ], - }, - - - ], + type: 'doc', + id: 'develop/dapps/tutorials/building-web3-game', + label: 'Web3 Game Example', }, { type: 'category', - label: 'Advanced Asset Processing', + label: 'Telegram Bot Examples', items: [ - 'develop/dapps/asset-processing/overview', - 'develop/dapps/asset-processing/README', - 'develop/dapps/asset-processing/jettons', - 'develop/dapps/asset-processing/mintless-jettons', - 'develop/dapps/asset-processing/mass-mint-tools', - 'develop/dapps/asset-processing/usdt', - 'develop/dapps/asset-processing/nfts', - 'develop/dapps/asset-processing/metadata', + 'develop/dapps/tutorials/accept-payments-in-a-telegram-bot', + 'develop/dapps/tutorials/accept-payments-in-a-telegram-bot-2', + 'develop/dapps/tutorials/accept-payments-in-a-telegram-bot-js', ], }, ], }, { type: 'category', - label: 'Integrate with TON', + label: 'Telegram Mini Apps', items: [ - 'develop/dapps/ton-connect/overview', - { - type: 'doc', - id: 'develop/dapps/ton-connect/wallet', - }, - { - type: 'category', - label: 'Frameworks', - items: [ - { - type: 'doc', - id: 'develop/dapps/ton-connect/react', - label: 'React Apps', - }, - { - type: 'doc', - id: 'develop/dapps/ton-connect/vue', - label: 'Vue Apps', - }, - { - type: 'doc', - id: 'develop/dapps/ton-connect/web', - label: 'HTML/JS Apps', - }, - ], - }, { type: 'category', label: 'Guidelines', items: [ - 'develop/dapps/ton-connect/README', - 'develop/dapps/ton-connect/developers', - 'develop/dapps/ton-connect/manifest', - 'develop/dapps/ton-connect/message-builders', - 'develop/dapps/ton-connect/transactions', - 'develop/dapps/ton-connect/sign', - 'develop/dapps/ton-connect/integration', + 'develop/dapps/telegram-apps/testing-apps', + 'develop/dapps/telegram-apps/publishing', + 'develop/dapps/telegram-apps/monetization', + 'develop/dapps/telegram-apps/tips-and-tricks', ], }, { type: 'category', - label: 'Advanced', - items: [ - { - type: 'doc', - label: 'TON Connect Protocol', - id: 'develop/dapps/ton-connect/protocol/README', - }, - 'develop/dapps/ton-connect/protocol/workflow', - 'develop/dapps/ton-connect/protocol/bridge', - 'develop/dapps/ton-connect/protocol/session', - 'develop/dapps/ton-connect/protocol/requests-responses', - 'develop/dapps/ton-connect/protocol/wallet-guidelines', - { - type: 'link', - label: 'Wallets List', - href: 'https://github.com/ton-blockchain/wallets-list', - }, - ], - }, - { - type: 'category', - label: 'Business', + label: 'Tutorials & Examples', items: [ - 'develop/dapps/ton-connect/business', - 'develop/dapps/ton-connect/security', - 'develop/dapps/ton-connect/comparison', + 'develop/dapps/telegram-apps/step-by-step-guide', + 'develop/dapps/telegram-apps/app-examples', + 'develop/dapps/telegram-apps/design-guidelines', ], }, ], }, { type: 'category', - label: 'Oracles', + label: 'Advanced Asset Processing', items: [ - 'develop/oracles/about_blockchain_oracles', - + 'develop/dapps/asset-processing/README', // divide + 'develop/dapps/asset-processing/jettons', // divide + 'develop/dapps/asset-processing/mintless-jettons', // divide + 'develop/dapps/asset-processing/mass-mint-tools', { type: 'category', - label: 'Oracles in TON', + label: 'NFT Processing', items: [ - 'develop/oracles/red_stone', + 'develop/dapps/asset-processing/nfts', // divide + 'develop/dapps/asset-processing/metadata', ], }, ], @@ -473,164 +597,77 @@ const sidebars = { }, { 'type': 'html', - 'value': ' References & Documentation ', + 'value': ' Integrate with TON ', }, - 'develop/howto/faq', + 'develop/dapps/ton-connect/overview', { - type: 'category', - label: 'Network Configurations', - items: [ - 'develop/howto/network-configs', - 'develop/howto/blockchain-configs', - 'develop/howto/config-params', - ], + type: 'doc', + id: 'develop/dapps/ton-connect/wallet', }, { type: 'category', - label: 'FunC language', + label: 'Frameworks', items: [ { type: 'doc', - id: 'develop/func/overview', + id: 'develop/dapps/ton-connect/react', + label: 'React Apps', }, { type: 'doc', - id: 'develop/func/cookbook', + id: 'develop/dapps/ton-connect/vue', + label: 'Vue Apps', }, { - type: 'category', - label: 'Documentation', - items: [ - 'develop/func/types', - 'develop/func/comments', - 'develop/func/literals_identifiers', - 'develop/func/functions', - 'develop/func/global_variables', - 'develop/func/compiler_directives', - 'develop/func/statements', - 'develop/func/builtins', - 'develop/func/dictionaries', - 'develop/func/stdlib', - ], - }, - 'develop/smart-contracts/libraries', - ], - }, - { - type: 'category', - label: 'Fift language', - items: [ - 'develop/fift/overview', - 'develop/fift/fift-and-tvm-assembly', - 'develop/fift/fift-deep-dive', - ], - }, - { - type: 'category', - label: 'TON Virtual Machine (TVM)', - items: [ - 'learn/tvm-instructions/tvm-overview', - 'learn/tvm-instructions/tvm-initialization', - 'learn/tvm-instructions/tvm-exit-codes', - { - type: 'link', - label: 'TVM Instructions', - href: '/learn/tvm-instructions/instructions', - }, - { - type: 'category', - label: 'TVM Changelog', - items: [ - 'learn/tvm-instructions/fee-calculation-instructions', - 'learn/tvm-instructions/tvm-upgrade-2023-07', - ], - }, - ], - }, - { - type: 'category', - label: 'Blockchain Fundamentals', - items: [ - 'develop/blockchain/shards', - 'develop/blockchain/sharding-lifecycle', - ], - }, - { - type: 'category', - label: 'Data Formats', - items: [ - { - type: 'category', - label: 'TL-B', - items: [ - 'develop/data-formats/cell-boc', - 'develop/data-formats/exotic-cells', - 'develop/data-formats/library-cells', - 'develop/data-formats/proofs', - 'develop/data-formats/tl-b-language', - 'develop/data-formats/tl-b-types', - 'develop/research-and-development/boc', - 'develop/data-formats/msg-tlb', - 'develop/data-formats/block-layout', - 'develop/data-formats/transaction-layout', - 'develop/data-formats/crc32', - 'develop/data-formats/tlb-ide', - 'develop/data-formats/tlb-tools', - ], + type: 'doc', + id: 'develop/dapps/ton-connect/web', + label: 'HTML/JS Apps', }, - 'develop/data-formats/tl', ], }, { type: 'category', - label: 'Network Protocols', + label: 'Guidelines', items: [ - 'develop/network/adnl-tcp', - 'develop/network/adnl-udp', - 'develop/network/dht', - 'develop/network/rldp', - 'develop/network/overlay', + 'develop/dapps/ton-connect/README', + 'develop/dapps/ton-connect/developers', + 'develop/dapps/ton-connect/manifest', + 'develop/dapps/ton-connect/message-builders', + 'develop/dapps/ton-connect/transactions', + 'develop/dapps/ton-connect/sign', + 'develop/dapps/ton-connect/integration', ], }, { type: 'category', - label: 'Compile from Sources', + label: 'Advanced', items: [ - { type: 'doc', - label: 'Compilation Instructions', - id: 'develop/howto/compile', + label: 'TON Connect Protocol', + id: 'develop/dapps/ton-connect/protocol/README', }, + 'develop/dapps/ton-connect/protocol/workflow', + 'develop/dapps/ton-connect/protocol/bridge', + 'develop/dapps/ton-connect/protocol/session', + 'develop/dapps/ton-connect/protocol/requests-responses', + 'develop/dapps/ton-connect/protocol/wallet-guidelines', { - type: 'doc', - label: 'Instructions for low-memory machines', - id: 'develop/howto/compile-swap', + type: 'link', + label: 'Wallets List', + href: 'https://github.com/ton-blockchain/wallets-list', }, ], }, { type: 'category', - label: 'Archived', + label: 'Business', items: [ - 'develop/archive/pow-givers', - 'develop/archive/mining', - 'develop/archive/tg-bot-integration', - 'develop/archive/tg-bot-integration-py', - 'develop/smart-contracts/compile/README', - 'develop/smart-contracts/environment/installation', + 'develop/dapps/ton-connect/business', + 'develop/dapps/ton-connect/security', + 'develop/dapps/ton-connect/comparison', ], }, - { - 'type': 'html', - 'value': '
', - }, - { - 'type': 'html', - 'value': 'Quality Assurance & Outsource', - }, - 'develop/companies/auditors', - 'develop/companies/outsource', ], participate: [ 'participate/README', @@ -643,14 +680,6 @@ const sidebars = { 'value': ' Infrastructure ', }, 'participate/explorers', - { - type: 'category', - label: 'Wallets in TON', - items: [ - 'participate/wallets/apps', - 'participate/wallets/contracts', - ], - }, { type: 'category', label: 'Cross-chain Bridges', @@ -694,7 +723,6 @@ const sidebars = { 'participate/network-maintenance/staking-incentives', 'participate/network-maintenance/single-nominator', 'participate/network-maintenance/nominator-pool', - 'participate/network-maintenance/vesting-contract', 'participate/network-maintenance/nominators', 'participate/network-maintenance/persistent-states', 'participate/nodes/collators', diff --git a/src/data/features.js b/src/data/features.js index b12a2bf731..f9487c0321 100644 --- a/src/data/features.js +++ b/src/data/features.js @@ -6,9 +6,15 @@ export const firstRow = [ description: "Learn about the basics of blockchain and TON and how to get started." }, { - title: "Develop", + title: "Documents", linkUrl: "/develop/overview", imageUrl: "img/mainPageCards/developer.svg", + description: "Learn all the technical aspects of TON." + }, + { + title: "Guidelines", + linkUrl: "/guidelines", + imageUrl: "img/mainPageCards/developer.svg", description: "Build smart contracts, web applications or bots using TON." }, {