diff --git a/docs/.vuepress/configs/sidebar.ts b/docs/.vuepress/configs/sidebar.ts index f455615..a1c0287 100644 --- a/docs/.vuepress/configs/sidebar.ts +++ b/docs/.vuepress/configs/sidebar.ts @@ -56,20 +56,7 @@ export const sidebar: Record = { ] }, { - text: 'SDK', - children: [ - '/build/sdk/getting-started.md', - '/build/sdk/accounts.md', - '/build/sdk/collections.md', - '/build/sdk/tokens.md', - '/build/sdk/examples-nesting.md', - '/build/sdk/refungible.md', - '/build/sdk/sponsoring.md', - '/build/sdk/v2/migration.md' - ] - }, - { - text: 'SDK-2.0 [Alpha]', + text: 'SDK-2.0', children: [ '/build/sdk/v2/quick-start.md', '/build/sdk/v2/balances.md', @@ -81,6 +68,19 @@ export const sidebar: Record = { '/build/sdk/v2/dapps.md', ] }, + { + text: 'SDK-1.0', + children: [ + '/build/sdk/getting-started.md', + '/build/sdk/accounts.md', + '/build/sdk/collections.md', + '/build/sdk/tokens.md', + '/build/sdk/examples-nesting.md', + '/build/sdk/refungible.md', + '/build/sdk/sponsoring.md', + '/build/sdk/v2/migration.md' + ] + }, { text: 'EVM', children: [ @@ -103,8 +103,8 @@ export const sidebar: Record = { { text: 'Tech Concepts', children: [ - '/about/tech-concepts/addresses', - '/about/tech-concepts/balances/index.md', + '/build/tech-concepts/addresses', + '/build/tech-concepts/balances/index.md', ] } ], diff --git a/docs/build/sdk/v2/quick-start.md b/docs/build/sdk/v2/quick-start.md index 93d8074..c4c0b74 100644 --- a/docs/build/sdk/v2/quick-start.md +++ b/docs/build/sdk/v2/quick-start.md @@ -12,19 +12,18 @@ All transactions require a fee so that you can use Opal tokens for test purposes Install `@unique-nft/sdk` for Unique Network interaction and `@unique-nft/sr25519` for account management. - ```bash:no-line-numbers -npm install @unique-nft/sdk@alpha @unique-nft/sr25519 +npm install @unique-nft/sdk @unique-nft/sr25519 ``` ```bash:no-line-numbers -yarn add @unique-nft/sdk@alpha @unique-nft/sr25519 +yarn add @unique-nft/sdk @unique-nft/sr25519 ``` diff --git a/docs/about/tech-concepts/addresses/index.md b/docs/build/tech-concepts/addresses/index.md similarity index 96% rename from docs/about/tech-concepts/addresses/index.md rename to docs/build/tech-concepts/addresses/index.md index 75bee2d..fab1a9b 100644 --- a/docs/about/tech-concepts/addresses/index.md +++ b/docs/build/tech-concepts/addresses/index.md @@ -3,7 +3,7 @@ An address represents an identity - usually of a person or an organization - capable of making transactions or holding funds. Although addresses are most often used to represent a person, that doesn't have to be the case. An address can be used to perform operations on behalf of a user or another entity or to perform operations autonomously. In addition, any single person or entity could have multiple -addresses for different purposes. All [our networks](../../networks.md) are Substrate-based blockchains, and you can have specialized addresses for holding funds that +addresses for different purposes. All [our networks](../../../about/networks.md) are Substrate-based blockchains, and you can have specialized addresses for holding funds that are separate from addresses used for making transactions. ### Substrate addresses @@ -39,7 +39,7 @@ Address.substrate.decode('yGJ7zjEaVLKPVVM39VoHt1YQtwU2VCfGeRGHX4j2Ap8WzzB6L') The result is the following. Please note that both calls give the same result since we receive a public key, which is the same in both addresses; they are equal, just presented in different formats (Unique and Quartz). -![public key](../../images/array-address.png) +![public key](../../../about/images/array-address.png) Now, let's use another decoder that will provide not only a public key as a result. @@ -56,9 +56,9 @@ array will be 42). This depends on how many bites are needed to store a prefix v Checksum is calculated using both prefix and public key. Thus, these values depend on the chain prefix, as well. -![full address](../../images/array-full.png) +![full address](../../../about/images/array-full.png) -![prefix 42](../../images/prefix42.png) +![prefix 42](../../../about/images/prefix42.png) The reverse operation will show that the encoding and decoding work in both directions. diff --git a/docs/about/tech-concepts/balances/claim-after.png b/docs/build/tech-concepts/balances/claim-after.png similarity index 100% rename from docs/about/tech-concepts/balances/claim-after.png rename to docs/build/tech-concepts/balances/claim-after.png diff --git a/docs/about/tech-concepts/balances/claim-before.png b/docs/build/tech-concepts/balances/claim-before.png similarity index 100% rename from docs/about/tech-concepts/balances/claim-before.png rename to docs/build/tech-concepts/balances/claim-before.png diff --git a/docs/about/tech-concepts/balances/index.md b/docs/build/tech-concepts/balances/index.md similarity index 100% rename from docs/about/tech-concepts/balances/index.md rename to docs/build/tech-concepts/balances/index.md diff --git a/docs/about/tech-concepts/balances/reserved-after.png b/docs/build/tech-concepts/balances/reserved-after.png similarity index 100% rename from docs/about/tech-concepts/balances/reserved-after.png rename to docs/build/tech-concepts/balances/reserved-after.png diff --git a/docs/about/tech-concepts/balances/reward-after.png b/docs/build/tech-concepts/balances/reward-after.png similarity index 100% rename from docs/about/tech-concepts/balances/reward-after.png rename to docs/build/tech-concepts/balances/reward-after.png diff --git a/docs/about/tech-concepts/balances/reward-before.png b/docs/build/tech-concepts/balances/reward-before.png similarity index 100% rename from docs/about/tech-concepts/balances/reward-before.png rename to docs/build/tech-concepts/balances/reward-before.png diff --git a/docs/about/tech-concepts/balances/staking-after.png b/docs/build/tech-concepts/balances/staking-after.png similarity index 100% rename from docs/about/tech-concepts/balances/staking-after.png rename to docs/build/tech-concepts/balances/staking-after.png diff --git a/docs/about/tech-concepts/balances/types.png b/docs/build/tech-concepts/balances/types.png similarity index 100% rename from docs/about/tech-concepts/balances/types.png rename to docs/build/tech-concepts/balances/types.png