From 6720b8ef742e4b76e32c4f85727ce38137bf1537 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Kalbarczyk?= Date: Tue, 3 Dec 2024 16:42:48 +0100 Subject: [PATCH] lint --- docs/get-started/supported-chains/index.mdx | 3 ++- docs/get-started/supported-chains/radix/index.mdx | 2 +- docs/get-started/supported-chains/radix/rust-tutorial.md | 8 +++----- .../supported-chains/radix/typescript-tutorial.md | 5 ++--- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/docs/get-started/supported-chains/index.mdx b/docs/get-started/supported-chains/index.mdx index 4433ac7..c117c18 100644 --- a/docs/get-started/supported-chains/index.mdx +++ b/docs/get-started/supported-chains/index.mdx @@ -3,7 +3,7 @@ sidebar_position: 4 sidebar_label: "⛓ Supported Chains" --- -import DocCardList from '@theme/DocCardList'; +import DocCardList from "@theme/DocCardList"; # ⛓ Supported Chains @@ -73,6 +73,7 @@ You can check the integration with the showroom app [for EVM Chains](https://sho and others: + - [TRON](https://github.com/redstone-finance/redstone-tron-integration) - [Stacks](https://stacks.org/redstone) - [StarkNet](https://github.com/redstone-finance/redstone-oracles-monorepo/tree/main/packages/starknet-connector) diff --git a/docs/get-started/supported-chains/radix/index.mdx b/docs/get-started/supported-chains/radix/index.mdx index 4fca5bf..0f6a6d5 100644 --- a/docs/get-started/supported-chains/radix/index.mdx +++ b/docs/get-started/supported-chains/radix/index.mdx @@ -3,7 +3,7 @@ sidebar_position: 1 sidebar_label: "Radix - how to start" --- -import DocCardList from '@theme/DocCardList'; +import DocCardList from "@theme/DocCardList"; # Radix - how to start diff --git a/docs/get-started/supported-chains/radix/rust-tutorial.md b/docs/get-started/supported-chains/radix/rust-tutorial.md index 5c64017..74308ba 100644 --- a/docs/get-started/supported-chains/radix/rust-tutorial.md +++ b/docs/get-started/supported-chains/radix/rust-tutorial.md @@ -9,13 +9,13 @@ sidebar_label: "How to use in Rust/Scrypto" 2. See how to [set up local scrypto environment](https://github.com/redstone-finance/redstone-oracles-monorepo/tree/main/packages/radix-connector/scrypto/README.md) 3. Read the [general philosophy of the on-ledger component](https://github.com/redstone-finance/redstone-oracles-monorepo/blob/main/packages/radix-connector/scrypto/price_adapter/README.md) 4. The full source of the component is available [here](https://github.com/redstone-finance/redstone-oracles-monorepo/tree/main/packages/radix-connector/scrypto/price_adapter) -5. See the [docs of the *RedStone Rust SDK*](https://docs.redstone.finance/rust/redstone/crypto_radix,network_radix/redstone/index.html) - the component is built on +5. See the [docs of the _RedStone Rust SDK_](https://docs.redstone.finance/rust/redstone/crypto_radix,network_radix/redstone/index.html) - the component is built on The **info described there** is mostly **NOT REPEATED below**. ## Dependencies -1. Use the following dependencies to embed *RedStone Rust SDK* into Scrypto. +1. Use the following dependencies to embed _RedStone Rust SDK_ into Scrypto. ```toml [dependencies] @@ -67,7 +67,7 @@ mod price_adapter { } ``` -## Using the *RedStone Rust SDK* +## Using the _RedStone Rust SDK_ ### Payload processing @@ -186,8 +186,6 @@ pub fn get_prices( } ``` - - ## Push model For the Push model, invoke the `process_payload` function and save the value inside storage. diff --git a/docs/get-started/supported-chains/radix/typescript-tutorial.md b/docs/get-started/supported-chains/radix/typescript-tutorial.md index f046bf3..013da44 100644 --- a/docs/get-started/supported-chains/radix/typescript-tutorial.md +++ b/docs/get-started/supported-chains/radix/typescript-tutorial.md @@ -6,14 +6,14 @@ sidebar_label: "How to use in TypeScript" # How to use in TypeScript 1. Read firstly the docs from [How to start](../) section, especially the general philosophy of the on-ledger component -2. See how to [connect to the contract/component](https://github.com/redstone-finance/redstone-oracles-monorepo/tree/main/packages/radix-connector#-connecting-to-the-contract) in the TypeScript layer +2. See how to [connect to the contract/component](https://github.com/redstone-finance/redstone-oracles-monorepo/tree/main/packages/radix-connector#-connecting-to-the-contract) in the TypeScript layer 3. The full source of the component is available [here](https://github.com/redstone-finance/redstone-oracles-monorepo/tree/main/packages/radix-connector/src) The **info described there** is mostly **NOT REPEATED below**. ## Dependencies -1. Use the following dependencies to embed *RedStone Radix Connector* into TypeScript. +1. Use the following dependencies to embed _RedStone Radix Connector_ into TypeScript. ```json { @@ -27,7 +27,6 @@ The **info described there** is mostly **NOT REPEATED below**. `@redstone-finance/radix-connector` will be deployed soon... - ## Using the PriceAdapter package with `@redstone-finance/radix-connector` ### Deploying package