diff --git a/docs/blockchain-cli/README.md b/docs/blockchain-cli/README.md index 7f0d8aaaa..795900f41 100644 --- a/docs/blockchain-cli/README.md +++ b/docs/blockchain-cli/README.md @@ -1,15 +1,7 @@ ---- -title: Blockchain Command Line -index: true -dir: - order: 4 ---- - # Blockchain Command-Line Interface -:::info -Since Greenfield Command Line interface is derived from Cosmos, The majority of the content in this page is copied from the [Cosmos SDK](https://docs.cosmos.network/main/core/cli). -::: +> [!NOTE] +> Since Greenfield Command Line interface is derived from Cosmos, The majority of the content in this page is copied from the [Cosmos SDK](https://docs.cosmos.network/main/core/cli). There is no set way to create a CLI, but Greenfield typically use the [Cobra Library](https://github.com/spf13/cobra). Building a CLI with Cobra entails defining commands, arguments, and flags. Commands understand the diff --git a/docs/blockchain-cli/bank.md b/docs/blockchain-cli/bank.md index 70b10f1e5..4fdf9db62 100644 --- a/docs/blockchain-cli/bank.md +++ b/docs/blockchain-cli/bank.md @@ -1,11 +1,3 @@ ---- -title: Account Balance -order: 2 -category: - - cli ---- - - # Account Balance ## Abstract @@ -30,26 +22,18 @@ You can specify any valid address you want to query via ${receiver}. ${node} is the rpc address of a Greenfield node. -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; - - - +- Mainnet - node = "https://greenfield-chain.bnbchain.org:443" + ```js + node = "https://greenfield-chain.bnbchain.org:443" + ``` - - +- Testnet - node = "https://gnfd-testnet-fullnode-tendermint-us.bnbchain.org:443" + ```js + node = "https://gnfd-testnet-fullnode-tendermint-us.bnbchain.org:443" + ``` - - ### Send diff --git a/docs/blockchain-cli/bridge.md b/docs/blockchain-cli/bridge.md index 7638a1c19..730dc0a93 100644 --- a/docs/blockchain-cli/bridge.md +++ b/docs/blockchain-cli/bridge.md @@ -1,7 +1,3 @@ ---- -title: Cross Chain Transfer -order: 5 ---- # Cross Chain Transfer ## Abstract @@ -23,26 +19,18 @@ gnfd q bridge params --node ${node} ${node} is the rpc address of a Greenfield node. -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; +- Mainnet - - + ```js + node = "https://greenfield-chain.bnbchain.org:443" + ``` - node = "https://greenfield-chain.bnbchain.org:443" +- Testnet - - + ```js + node = "https://gnfd-testnet-fullnode-tendermint-us.bnbchain.org:443" + ``` - node = "https://gnfd-testnet-fullnode-tendermint-us.bnbchain.org:443" - - - ### Transfer from Greenfield to BSC diff --git a/docs/blockchain-cli/challenge.md b/docs/blockchain-cli/challenge.md index 9b0db44b3..287ce8fa4 100644 --- a/docs/blockchain-cli/challenge.md +++ b/docs/blockchain-cli/challenge.md @@ -1,8 +1,3 @@ ---- -title: Challenge -order: 9 ---- - # Challenge ## Abstract @@ -28,27 +23,17 @@ ${random-index} ${segment-index} specify which segment of the object you want to ${node} is the rpc address of a Greenfield node. -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; - - - - - node = "https://greenfield-chain.bnbchain.org:443" - - - +- Mainnet - node = "https://gnfd-testnet-fullnode-tendermint-us.bnbchain.org:443" + ```js + node = "https://greenfield-chain.bnbchain.org:443" + ``` - - +- Testnet + ```js + node = "https://gnfd-testnet-fullnode-tendermint-us.bnbchain.org:443" + ``` ## Detailed CLI diff --git a/docs/blockchain-cli/governance.md b/docs/blockchain-cli/governance.md index a9a931a31..080585b78 100644 --- a/docs/blockchain-cli/governance.md +++ b/docs/blockchain-cli/governance.md @@ -1,7 +1,3 @@ ---- -title: On-chain Governance -order: 7 ---- # On-chain Governance ## Abstract @@ -30,27 +26,18 @@ ${proposal_id} specifies the id of the proposal you want to query. ${node} is the rpc address of a Greenfield node. -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; +- Mainnet - - + ```js + node = "https://greenfield-chain.bnbchain.org:443" + ``` - node = "https://greenfield-chain.bnbchain.org:443" - - - - - node = "https://gnfd-testnet-fullnode-tendermint-us.bnbchain.org:443" - - - +- Testnet + ```js + node = "https://gnfd-testnet-fullnode-tendermint-us.bnbchain.org:443" + ``` + #### Submit a Proposal To submit a proposal, you can use: diff --git a/docs/blockchain-cli/key-management.md b/docs/blockchain-cli/key-management.md index 80cfc40a4..7d8862007 100644 --- a/docs/blockchain-cli/key-management.md +++ b/docs/blockchain-cli/key-management.md @@ -1,8 +1,3 @@ ---- -title: Key Management -order: 1 ---- - # Key Management ## Abstract diff --git a/docs/blockchain-cli/payment.md b/docs/blockchain-cli/payment.md index 83ce3fd51..fc3166c5f 100644 --- a/docs/blockchain-cli/payment.md +++ b/docs/blockchain-cli/payment.md @@ -1,8 +1,3 @@ ---- -title: Payment -Order: 6 ---- - # Payment ## Abstract @@ -25,27 +20,17 @@ ${key} is the name of local key. ${node} is the rpc address of a Greenfield node. -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; - - - - - node = "https://greenfield-chain.bnbchain.org:443" - - - +- Mainnet - node = "https://gnfd-testnet-fullnode-tendermint-us.bnbchain.org:443" + ```js + node = "https://greenfield-chain.bnbchain.org:443" + ``` - - +- Testnet + ```js + node = "https://gnfd-testnet-fullnode-tendermint-us.bnbchain.org:443" + ``` ### Query Payment Account diff --git a/docs/blockchain-cli/storage-provider.md b/docs/blockchain-cli/storage-provider.md index 9934b346c..11df441cb 100644 --- a/docs/blockchain-cli/storage-provider.md +++ b/docs/blockchain-cli/storage-provider.md @@ -1,8 +1,3 @@ ---- -title: Storage Provider -order: 4 ---- - # Storage Provider ## Abstract @@ -10,26 +5,17 @@ The SP module is responsible for managing and maintaining all storage providers The RPC addresses for mainnet and Testnet are listed below. In this tutorial, we are going to use Mainnet RPC address. -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; - - - - - node = "https://greenfield-chain.bnbchain.org:443" +- Mainnet - - + ```js + node = "https://greenfield-chain.bnbchain.org:443" + ``` - node = "https://gnfd-testnet-fullnode-tendermint-us.bnbchain.org:443" +- Testnet - - + ```js + node = "https://gnfd-testnet-fullnode-tendermint-us.bnbchain.org:443" + ``` ## List Storage providers diff --git a/docs/blockchain-cli/storage.md b/docs/blockchain-cli/storage.md index 126b1fb31..c3f0b0bb1 100644 --- a/docs/blockchain-cli/storage.md +++ b/docs/blockchain-cli/storage.md @@ -1,8 +1,3 @@ ---- -title: Storage Object -order: 3 ---- - # Storage ## Abstract @@ -14,26 +9,18 @@ to complete such transactions and queries. The RPC addresses for mainnet and Testnet are listed below. In this tutorial, we are going to use Mainnet RPC address. -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; - - - - - node = "https://greenfield-chain.bnbchain.org:443" +- Mainnet - - + ```js + node = "https://greenfield-chain.bnbchain.org:443" + ``` + +- Testnet - node = "https://gnfd-testnet-fullnode-tendermint-us.bnbchain.org:443" + ```js + node = "https://gnfd-testnet-fullnode-tendermint-us.bnbchain.org:443" + ``` - - ## HeadBucket diff --git a/docs/blockchain-cli/validator-staking.md b/docs/blockchain-cli/validator-staking.md index 8a2843d3f..59d67e2f4 100644 --- a/docs/blockchain-cli/validator-staking.md +++ b/docs/blockchain-cli/validator-staking.md @@ -1,8 +1,3 @@ ---- -title: Validator Staking -Order: 8 ---- - # Validator Staking ## Abstract @@ -37,26 +32,18 @@ ${valAddr} defines the address of the validator you want to create. ${node} is the rpc address of a Greenfield node. -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; - - - +- Mainnet - node = "https://greenfield-chain.bnbchain.org:443" + ```js + node = "https://greenfield-chain.bnbchain.org:443" + ``` - - +- Testnet - node = "https://gnfd-testnet-fullnode-tendermint-us.bnbchain.org:443" + ```js + node = "https://gnfd-testnet-fullnode-tendermint-us.bnbchain.org:443" + ``` - - Example: diff --git a/docs/modules/billing-and-payment.md b/docs/modules/billing-and-payment.md index 68a29371c..f46b00799 100644 --- a/docs/modules/billing-and-payment.md +++ b/docs/modules/billing-and-payment.md @@ -1,8 +1,3 @@ ---- -title: Billing and Payment -order: 3 ---- - # Billing and Payment If you're interested in knowing the real-time pricing for storage and querying on Greenfield, we invite you to @@ -653,9 +648,8 @@ The locked fee is calculated as below: The `ChargeSize` is calculated from the object's payload size, if the payload size is less than **128KB** then `ChargeSize` is **128KB**, otherwise `ChargeSize` is equal to payload size. -:::note -To optimize your cost, it is advisable to consolidate small files into payloads exceeding **128KB**. Failing to do so may result in higher charges. -::: +> [!NOTE] +> To optimize your cost, it is advisable to consolidate small files into payloads exceeding **128KB**. Failing to do so may result in higher charges. ### Seal Object diff --git a/docs/modules/consensus-and-staking.md b/docs/modules/consensus-and-staking.md index 07e8ff96a..e08e8e0d8 100644 --- a/docs/modules/consensus-and-staking.md +++ b/docs/modules/consensus-and-staking.md @@ -1,8 +1,3 @@ ---- -title: Consensus and Staking -order: 6 ---- - # Consensus and Staking The BNB Greenfield blockchain places a strong emphasis on network security, diff --git a/docs/modules/cross-chain.md b/docs/modules/cross-chain.md index 7118a5868..2e8cf2ebc 100644 --- a/docs/modules/cross-chain.md +++ b/docs/modules/cross-chain.md @@ -1,14 +1,11 @@ ---- -title: Cross Chain -order: 5 ---- +# Cross Chain -:::note -#### Pre-requisite Readings - -The Greenfield ecosystem consists of three distinct layers. To have more information about them, +> [!NOTE] +> #### Pre-requisite Readings +> +> The Greenfield ecosystem consists of three distinct layers. To have more information about them, we invite you to read [this page](../../core-concept/programmability.md#framework). -::: + ## Communication Layer diff --git a/docs/modules/data-availability-challenge.md b/docs/modules/data-availability-challenge.md index 184926a59..d7e7eb33c 100644 --- a/docs/modules/data-availability-challenge.md +++ b/docs/modules/data-availability-challenge.md @@ -1,8 +1,3 @@ ---- -title: Data Availability Challenge -order: 8 ---- - # Data Availability Challenge Data availability refers to the correct storage and accessibility of data on storage providers for users. diff --git a/docs/modules/governance.md b/docs/modules/governance.md index 7a097a58e..651beb1e9 100644 --- a/docs/modules/governance.md +++ b/docs/modules/governance.md @@ -1,14 +1,9 @@ ---- -title: Governance -order: 7 ---- - # Governance -:::info -Since Greenfield Governance is derived from Cosmos, The majority of the content in this page is copied from the +> [!NOTE] +> Since Greenfield Governance is derived from Cosmos, The majority of the content in this page is copied from the [Cosmos SDK](hhttps://hub.cosmos.network/main/governance/process.html). -::: + The Greenfield BlockChain utilizes on-chain governance, which achieved by steps listed below: diff --git a/docs/modules/permission.md b/docs/modules/permission.md index 3660e226f..959da13aa 100644 --- a/docs/modules/permission.md +++ b/docs/modules/permission.md @@ -1,8 +1,3 @@ ---- -title: Permission -order: 4 ---- - # Permission The permission module serves as the foundation for basic permission control management in the Greenfield Storage Network. diff --git a/docs/modules/storage-module.md b/docs/modules/storage-module.md index bfa3e33fc..dc559dd60 100644 --- a/docs/modules/storage-module.md +++ b/docs/modules/storage-module.md @@ -1,8 +1,3 @@ ---- -title: Storage Module -order: 1 ---- - # Storage Module ## Concepts diff --git a/docs/modules/storage-provider.md b/docs/modules/storage-provider.md index 12c367cdd..0038db1fe 100644 --- a/docs/modules/storage-provider.md +++ b/docs/modules/storage-provider.md @@ -1,8 +1,3 @@ ---- -title: Storage Provider -order: 2 ---- - # Storage Provider ## Abstract diff --git a/docs/modules/virtual-group.md b/docs/modules/virtual-group.md index 762b5a3c1..60752ad52 100644 --- a/docs/modules/virtual-group.md +++ b/docs/modules/virtual-group.md @@ -1,8 +1,3 @@ ---- -title: Virtual Group -order: 9 ---- - # Virtual Group ## Abstract diff --git a/docs/modules/world-state.md b/docs/modules/world-state.md index 42a6935d1..88d678714 100644 --- a/docs/modules/world-state.md +++ b/docs/modules/world-state.md @@ -1,7 +1,3 @@ ---- -title: World State ---- - # World State All Greenfield validators have access to up-to-date active data in full. Anyone can join the blockchain as a full node and freely synchronize this data.