Skip to content

Commit

Permalink
add Startale RPC; minor updates (#474)
Browse files Browse the repository at this point in the history
* remove use/user-guides

* address manage assets capitalization

* update homepage link to User Guides

* Update transak.md

* add main section overviews, and subsection cards

* fix discord and other broken links

* update Flatten function

was a plugin -> now built-in to context menu

* normalize folder structure and fix missing images

* small fixes while we are here

* Update docs-integration-request.md

* fix replit codeblock

* update tokenomics page image links

* Update docs-integration-request.md

* add Startale Node info; update rust version

* Update docs-integration-request.md

* Update startale-labs.md

---------

Co-authored-by: Gregory Luneau <gregory.luneau@gmail.com>
Co-authored-by: Gregory Luneau <greg@astar.network>
  • Loading branch information
3 people committed Oct 20, 2023
1 parent c32d2e1 commit 6470e74
Show file tree
Hide file tree
Showing 7 changed files with 102 additions and 28 deletions.
37 changes: 26 additions & 11 deletions docs-integration-request.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Docs Integration Request Form
title: Your Project Title
---

# Your Project Name
Expand All @@ -10,28 +10,43 @@ To learn how to set up a local Docusaurus install to view this the way it was in

- Create a new branch of astar-docs for your update/addition.

- Within the new branch, copy and rename this file to something meaningful (ie: *projectname-oracle.md* or *widgetzyx-nft-api.md.* **Do not use spaces**) and move it to the most appropriate section of Astar docs. If you're unsure about where that might be in the end, please submit a PR anyways; we will find a home for it prior to merging.
- ***This file can be used as a template for your submission.*** Within the new branch, copy and rename this file to something meaningful (ie: *projectname-oracle.md* or *widgetzyx-nft-api.md.* **Do not use spaces**) and move it to the most appropriate section of Astar docs. If you're unsure about where that might be in the end, please submit a PR anyways; we will find a home for it prior to merging.

- If your tutorial includes images or screenshots, which are **highly encouraged**, please add them to a new or existing `img` folder located within the same folder as your .md file. Do not use `[!](https://dont.link.images.like.this.com)` to include each image. Instead, link to them using the following:

- If your tutorial includes images or screenshots, which are **highly encouraged**, please add them to a new or existing `img` folder located within the same folder as your .md file.

- **Do not use `[!](https://dont.link.images.like.this.com)` or `[!](./some/relative/path/image.jpg)` to link images.** Instead, use the following method, with absolute paths:

At the top of the .md file add:

```r
import image01 from "./img/image01.png"
import image02 from "./img/image02.png"
import image03 from "./img/image03.png"
import cody from "/docs/learn/defi/img/codytrading.png"
import trades from "/docs/learn/defi/img/trades.png"
import downbad from "/docs/learn/defi/img/onlyup.png"
import ...
```

and to reference each image, as one example:
And in the body in reference to each image, as one example:

```r
<div style={{textAlign: 'center'}}>
<img src={image01} style={{width: 600}} />
<img src={trades} style={{width: 600}} />
</div>
```

Here's another example with an image caption:

```r
<div style={{textAlign: 'center'}}>
<figure>
<img src={cody} style={{width: 600}} />
<figcaption>This is Cody McCodeface, Degen</figcaption>
</figure>
</div>
```

- When your document or tutorial is finished, submit a pull request to the [astar-docs](https://github.com/AstarNetwork/astar-docs) repo on Github. Thank you!
- When your document or tutorial is finished, submit a pull request to the [astar-docs](https://github.com/AstarNetwork/astar-docs) repo on Github and tag it with the `documentation` label. Thank you!

:::

Expand All @@ -40,9 +55,9 @@ To learn how to set up a local Docusaurus install to view this the way it was in
Write a short description in just a few paragraphs about your solution and how Astar developers can leverage it.

#### Example:
GraphQL is a query language for APIs and a runtime for executing those queries with your existing data. It provides an efficient and powerful alternative to REST and offers significant advantages when dealing with complex data models.
BlockAppleQL is a query language for APPLECHAINS and a runtime for validating those apple transactions within your existing fruit ledger. It offers a cryptographically secure and transparent alternative to traditional fruit databases, and excels when dealing with complex decentralized orchards.

GraphQL allows clients to define the structure of the responses they receive. This means that instead of receiving a fixed data structure from a server, clients can request specific data they need, leading to more efficient data loading and a reduction in data over-fetching.
BlockAppleQL allows users to define the ripeness of the apples they transact. Instead of receiving a generic apple from the global orchard, users can request specific ripeness levels, leading to more consistent fruit experiences and a reduction in unripe or overripe transactions.

## Prerequisites

Expand Down
16 changes: 16 additions & 0 deletions docs/build/environment/endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ To meet the demands of a production dApp you can run an [archive node](/docs/bui

</TabItem>



<TabItem value="shibuya" label="Shibuya Network" default>

| | Public endpoint Shibuya |
Expand All @@ -90,5 +92,19 @@ To meet the demands of a production dApp you can run an [archive node](/docs/bui
| chainID | 81 |
| Symbol | SBY |

</TabItem>

<TabItem value="zKatana" label="zKatana Network" default>

| | Public endpoint zKatana |
| --- | --- |
| Network | zKatana (zkEVM testnet) |
| Parent chain | Sepolia |
| ChainID | 1261120 |
| HTTPS | Startale Labs: https://rpc.startale.com/zkatana |
| | Gelato: https://rpc.zkatana.gelato.digital |
| Websocket | Gelato: wss://ws.zkatana.gelato.digital |
| Symbol | ETH |

</TabItem>
</Tabs>
2 changes: 1 addition & 1 deletion docs/build/environment/ink_environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ in the root of your project directory with following values.

```toml
[toolchain]
channel = "nightly-2023-02-07"
channel = "1.69.0"
components = [ "rustfmt", "rust-src" ]
targets = [ "wasm32-unknown-unknown" ]
profile = "minimal"
Expand Down
33 changes: 33 additions & 0 deletions docs/build/zkEVM/integrations/node-providers/startale-labs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: Startale Labs
---

# Startale Web3 Service

## Introduction

[Startale Labs](https://sws.startale.com) is a web3 tech company developing multi-chain applications and infrastructure in collaboration with Astar Foundation and large enterprises. The company also conducts R&D and incubation based on industry experience and connections developed in collaboration with Astar Network.

Startale Web3 Service (SWS) provides an Astar EVM/zkEVM Node RPC Endpoint, a powerful tool designed to enhance the Web3 experience that is now available for developers to utilize.


### About Our Service

Startale provides a standardized Blockchain API service that encompasses all facets of web3 development infrastructure. With respect to Astar EVM/zkEVM, users can create endpoints that grant access to the majority of RPC methods necessary for dApp development and interaction with the blockchain.

Users of Startale Web3 Service have the ability to utilize the API for free within certain constraints. When more advanced features are required, paid subscription plans are available, or you can reach out to us to establish a customized plan that better suits your requirements.

## Public Endpoint

Startale provides a Public Endpoint for Astar zkEVM. Users can utilize the API for free within certain limitations.

`https://rpc.startale.com/zkatana`

## Getting started

Here you should provide a step-by-step tutorial about how developers can use your solution on Astar.

1. Visit the [Landing Page](https://sws.startale.com).
2. Fill out the [Google form](https://forms.gle/7bfjxj1qpEW8gFxk7) and provide the required information.
3. Receive your API Key by email.
4. Check out the [technical docs](https://docs.startale.com/docs).
Binary file added docs/learn/img/inflation_1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/learn/img/tokenomics_1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 26 additions & 16 deletions docs/learn/tokenomics.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,37 @@
---
sidebar_position: 10
title: Tokenomics
---
# Tokenomics

import tokenomics from '/docs/learn/img/tokenomics_1.png'
import inflation from '/docs/learn/img/inflation_1.png'

[Astar Network]: https://astar.network/

:::note
This section includes advanced content.
This section includes content for advanced users.
:::

:::tip
Astar and Shiden share the same economic model, however some configuration differences are possible.
Following chapters only focus on Astar and ASTR but also apply to Shiden and its SDN token.
Astar and Shiden share the same economic model, though there were differences in their initial supply configurations.
The following chapters focus on Astar and ASTR, however, this information also applies to Shiden and SDN token.
:::

[Astar Network]: https://astar.network/
## Overview

[Astar Network] tokenomics model is built around supporting developers via dApp staking. At its core, ASTR token has multiple roles:
In previous chapters we defined the initial ASTR token distribution. However, Astar uses an inflationary tokenomics model (unbound supply) where tokens are issued each time a new block is produced. These tokens power the dApp staking system and are used to reward stakers and collators.

[Astar Network] tokenomics model is built around supporting developers via dApp staking. At its core, ASTR token has a number of utilities:

1. Payment for transaction fees
2. Staking dApps
3. dApp staking rewards & collator rewards

## Inflation Model

### Overview

Previous chapters defined initial ASTR token distribution. However, Astar uses an inflationary tokenomics model (unbound supply) where tokens are issued each time a new block is produced. These tokens drive the dApp staking system and are used to reward stakers and collators.
### Inflation Model

For each produced block, Astar issues a fixed number of tokens. Initially, these numbers were picked to achieve approximate 10% inflation of the initial supply.
For each block produced, Astar issues a fixed number of tokens. Initially, these numbers were chosen to generate approximately 10% inflation, based on the initial supply.

Since January 2023, Astar inflation has been reduced by 5% to ~665,000,000 ASTR yearly.
Since January 2023, ASTR inflation has been reduced by 5% to ~665,000,000 ASTR yearly.

| Network | Issued Per Block | Issued Per Era* |
| ------- | ---------------- | -------------- |
Expand Down Expand Up @@ -62,7 +65,9 @@ Treasury receives a variable portion of block reward. It is then allocated to a

Part of it is dedicated for supporting dApp developers while another part goes towards stakers who locked their ASTR to *stake* or *vote* for a dApp.

![inflation_graphic] (img/inflation_1.png)
<div style={{textAlign: 'center'}}>
<img src={inflation} style={{width: 600}} />
</div>

### Model Overview

Expand Down Expand Up @@ -141,6 +146,11 @@ The following graph is a visualization of the described model.
* blue line is total staker inflation $total_{staker}$
* red line is inflation adjusted interest rate $i_{adjusted}$

![tokenomics_model_visualization] (img/tokenomics_1.png)
<div style={{textAlign: 'center'}}>
<figure>
<img src={tokenomics} style={{width: 600}} />
<figcaption>Model Visualization</figcaption>
</figure>
</div>

You can check the model and configure if yourself [here] (https://www.desmos.com/calculator/cjjkt6smk5).
You can check this model and configure parameters yourself [here](https://www.desmos.com/calculator/cjjkt6smk5).

0 comments on commit 6470e74

Please sign in to comment.