Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasz2891 committed Dec 3, 2024
1 parent ce39fa0 commit 6720b8e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
3 changes: 2 additions & 1 deletion docs/get-started/supported-chains/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sidebar_position: 4
sidebar_label: "⛓ Supported Chains"
---

import DocCardList from '@theme/DocCardList';
import DocCardList from "@theme/DocCardList";

# ⛓ Supported Chains

Expand Down Expand Up @@ -73,6 +73,7 @@ You can check the integration with the showroom app [for EVM Chains](https://sho
<DocCardList />

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)
Expand Down
2 changes: 1 addition & 1 deletion docs/get-started/supported-chains/radix/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 3 additions & 5 deletions docs/get-started/supported-chains/radix/rust-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -67,7 +67,7 @@ mod price_adapter {
}
```

## Using the *RedStone Rust SDK*
## Using the _RedStone Rust SDK_

### Payload processing

Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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
Expand Down

0 comments on commit 6720b8e

Please sign in to comment.