Skip to content

Commit 05d6cbf

Browse files
authored
Merge pull request #333 from availproject/staging
Removing outdated goldberg references and updating them to Turing
2 parents 8984c60 + fd7cee4 commit 05d6cbf

File tree

14 files changed

+4152
-120
lines changed

14 files changed

+4152
-120
lines changed

CONTRIBUTING.md

+41-62
Original file line numberDiff line numberDiff line change
@@ -2,48 +2,8 @@
22

33
The Documentation team at Avail are the primary maintainers of the Avail Documentation and will review all issues and pull requests created in this repository.
44

5-
<!-- TOC -->
6-
7-
- [Contribution Guidelines](#contribution-guidelines)
8-
- [Ways to Contribute to the Avail Documentation](#ways-to-contribute-to-the-avail-documentation)
9-
- [How to Contribute Changes via the Avail Documentation Website](#how-to-contribute-changes-via-the-avail-documentation-website)
10-
- [How to Locally Run the Avail Documentation](#how-to-locally-run-the-avail-documentation)
11-
- [Quick Run](#quick-run)
12-
- [Setup Steps](#setup-steps)
13-
- [License](#license)
14-
<!--/ TOC -->
15-
16-
## Ways to Contribute to the Avail Documentation
17-
18-
If you spot typos or grammar mistakes, please go ahead and submit a pull request with the fixes. For more significant changes, it's advisable to start with a GitHub issue to discuss it with the maintainers. We generally prefer pull requests over issues for suggesting changes to the Docs.
19-
20-
| ❗ We are in the process of setting guidelines to ensure all new contributions continue to improve the Docs without compromising its quality. Please stay tuned. |
21-
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
22-
23-
Before making a contribution, please consult any existing issues or initiate a new discussion to ensure alignment with the documentation's objectives.
24-
Your contributions can significantly enrich the Docs in the following ways:
25-
26-
1. **General Overviews**: Introductory articles that provide a comprehensive understanding of Avail's data availability layer and modular approach to blockchains.
27-
28-
2. **Technical Deep Dives**: Detailed explorations into specific components of Avail's architecture, such as its data availability layer, modularity, and consensus algorithms.
29-
30-
3. **Use-Case Scenarios**: Articles that showcase real-world applications of Avail in solutions like validiums, appchains, and sovereign rollups.
31-
32-
4. **Tooling**: Documentation or guides on tools that facilitate development, testing, or deployment on Avail. This could include IDE plugins, testing frameworks, or monitoring tools.
33-
34-
5. **Third-Party Services and Deployments**: Information on external services, deployments, and implementations that integrate with Avail. This could include oracles, data analytics platforms, liquidity providers, as well as infrastructure solutions that provide Avail-based infrastructure.
35-
36-
6. **Community Contributions**: Lists of active Avail communities, educational resources, or upcoming events that enrich the ecosystem.
37-
38-
7. **Governance & Economics**: Insights into the governance model and tokenomics that underpin Avail's network.
39-
40-
8. **Security Practices**: Guidelines and resources for ensuring the security and integrity of applications, smart contracts, and general infrastructure on Avail.
41-
42-
9. **Troubleshooting Guides**: Solutions to common challenges, FAQs, and other resources that assist both newcomers and experienced users.
43-
44-
10. **Emerging Technologies**: Articles on upcoming features, advancements, or experimental technologies in the Avail pipeline. For instance, contributions could explore the impact of "Dank Sharding" on Avail's scalability, transaction costs, and its enablement of new decentralized applications.
45-
46-
> Note: This is a general overview and the actual repository may contain additional files and folders for specific functionalities.
5+
> ℹ️ Please make sure to create an issue outlining your feedback/content request for the docs before creating a PR.
6+
> PRs created without approval will be closed. We are open to technical articles on a wide variety of topics related to Avail and Web3 in general. If you have something in mind, please feel free to jump in with an issue on the repo.
477
488
## How to Contribute Changes via the Avail Documentation Website
499

@@ -56,61 +16,56 @@ Contributing to the Avail Documentation is simple. You'll need a GitHub account
5616
5. **Initiate Pull Request**: Scroll to the bottom and click on **Create pull request**.
5717
6. **Title Your PR**: Give your pull request a descriptive title. For example, if you're editing the "Getting Started" page, you could title it _Update /docs/getting-started.md_.
5818
7. **Describe Changes**: In the pull request description, specify the issue your changes resolve.
19+
5920
> See [GitHub Docs on Linking a Pull Request to an Issue](https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) for guidance.
21+
6022
8. **Additional Information**: Provide a concise summary of the changes you've made. Include screenshots or references if applicable.
6123
9. **Submit**: Click **Propose changes** to finalize your pull request. This will create a new branch in your fork.
6224

6325
## How to Locally Run the Avail Documentation
6426

65-
### Quick Run
66-
67-
For those who want to quickly install and start the Avail Documentation locally, you can follow these steps:
68-
69-
```bash
70-
yarn
71-
yarn start
72-
```
73-
74-
### Setup Steps
75-
7627
> **Prerequisites**:
7728
>
7829
> - [Node.js](https://nodejs.org/en/download/) (version >= 16.14.1)
7930
> - [pnpm](https://pnpm.io/installation)
8031
> **Note for macOS Users**: Xcode and Command Line Tools are required.
8132
82-
1. **Fork the Repository**
33+
1. **Fork the repository**
8334

8435
> See [GitHub Docs: Fork a repo](https://help.github.com/en/articles/fork-a-repo) for guidance.
8536
86-
2. **Clone Your Fork**
37+
2. **Clone your fork**
8738

8839
```bash
89-
git clone [email protected]:availproject/availproject.github.io.git
40+
git clone https://github.com/Genesis3800/docs.git
9041
```
9142

43+
This will create a repo named `docs` in your current directory.
44+
9245
3. **Navigate to the Repository**
9346

9447
```bash
95-
cd availproject.github.io
48+
cd docs
9649
```
9750

9851
4. **Add Upstream Remote**
9952

10053
> Refer to [GitHub Docs: Configuring a remote for a fork](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/configuring-a-remote-for-a-fork).
10154
10255
```bash
103-
git remote add upstream https://github.com/availproject/availproject.github.io
56+
git remote add upstream https://github.com/availproject/docs
10457
```
10558

59+
> ℹ️ You can check if the upstream was added correctly by running `git remote -v`
60+
10661
5. **Sync Your Fork**
10762

10863
> See [GitHub Docs: Syncing a fork](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/syncing-a-fork).
10964
11065
```bash
111-
git checkout master
66+
git checkout main
11267
git fetch upstream
113-
git merge upstream/master
68+
git merge upstream/main
11469
```
11570

11671
6. **Install Dependencies**
@@ -127,8 +82,32 @@ yarn start
12782
pnpm run dev
12883
```
12984

130-
This will start a local dev derver at `http://localhost:3000` on your machine.
85+
This will start a local dev derver at `http://localhost:3000` on your machine.
86+
87+
## Push changes and create PR
88+
89+
Once you are done with all the changes, save all you files and run:
90+
91+
1. ```bash
92+
git add .
93+
```
94+
95+
to stage all the changes.
96+
97+
2. ```bash
98+
git commit -m "Your commit message"
99+
```
100+
101+
to commit the changes with ann appropriate commit message.
102+
103+
3. Once you have committed all the changes, push the changes to your forked repository by running:
104+
105+
```bash
106+
git push origin main
107+
```
108+
109+
Now you can use the Github UI to create a PR from your forked repository to the `staging` branch of the upstream repository.
131110

132111
## License
133112

134-
The Avail Project Developer Documentation is licensed under the [MIT License](./LICENSE) free software license.### How to Contribute Changes via the Avail Documentation Website
113+
The Avail Project Developer Documentation is licensed under the [MIT License](./LICENSE) free software license.### How to Contribute Changes via the Avail Documentation Website.

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Avail Project Documentation
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

pages/docs/end-user-guide/accounts.mdx

+6-6
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ NEVER EVER share your seed phrase with anyone and keep it in a secure location.
3232

3333
## Creating an Account on Avail DA
3434

35-
In this guide, we will walk you through two different ways of creating an account on the Goldberg testnet of Avail DA.
35+
In this guide, we will walk you through two different ways of creating an account on Avail DA.
3636

37-
1. **Using a compatible wallet**: You can create an account on the Goldberg testnet by using wallets like
37+
1. **Using a compatible wallet**: You can create an account by using wallets like
3838
[SubWallet](https://www.subwallet.app/), [Talisman](https://www.talisman.xyz/), [PolkadotJS](https://polkadot.js.org/) and others.
3939
This guide will be using Subwallet as an example.
4040

41-
2. **Using the Goldberg Testnet Explorer**: Advanced users can also create an account on the Goldberg testnet straight from the explorer.
41+
2. **Using the Explorer**: Advanced users can also create an account straight from the explorer.
4242

4343
<Tabs items={['Using Subwallet', 'Using PolkadotJS or Talisman' , 'Using Klever Wallet', 'Using the explorer' ]}>
4444

@@ -71,12 +71,12 @@ Make sure to store it in a safe place as it is the only way to recover your acco
7171
<br/>
7272
<img src="/img/subwallet/subwallet_5.jpeg" width="100%" height="100%" />
7373

74-
6. Search for the Goldberg testnet either by name or by token symbol. Make sure the network is toggled on.
74+
6. Search for Avail testnets either by name or by token symbol. Make sure the network is toggled on.
7575
<br/>
7676
<img src="/img/subwallet/subwallet_6.jpeg" width="100%" height="100%" />
7777

7878
7. Next go to your extension's homepage and click on the `Get address` button.
79-
Again, search for the Goldberg testnet by name or token symbol, and click on the `copy address` button.
79+
Again, search for Avail testnets by name or token symbol, and click on the `copy address` button.
8080
<br/>
8181
<img src="/img/subwallet/subwallet_7.jpeg" width="100%" height="100%" />
8282
<br/>
@@ -184,4 +184,4 @@ Always keep your JSON file in a secure and offline location. Losing this file an
184184

185185
Congratulations on successfully creating and managing your Avail account! Remember to always safeguard your account details, JSON file, and seed phrase to ensure the security of your assets.
186186

187-
Ready to explore further? Navigate to the next guide to learn [<ins>how to use the Goldberg Testnet Explorer</ins>](/docs/end-user-guide/explorer) and get hands-on experience with the network.
187+
Ready to explore further? Navigate to the next guide to learn [<ins>how to use the Avail Explorer</ins>](/docs/end-user-guide/explorer) and get hands-on experience with the network.

pages/docs/end-user-guide/balance-transfers.mdx

+2-17
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
id: balance-transfers
33
title: How to Perform Balance Transfers on Avail
44
sidebar_label: Balance Transfers
5-
description: 'Learn how to perform balance transfers on the Goldberg testnet.'
5+
description: 'Learn how to perform balance transfers on the Avail Network.'
66
keywords:
77
- docs
88
- avail
@@ -22,21 +22,6 @@ import { Callout } from 'nextra/components'
2222

2323
Balance transfers are a method for transferring funds from one account to another. This guide will walk you through the process using [<ins>Avail-JS UI</ins>](https://explorer.avail.so/). Before you begin, ensure you have [<ins>created an account</ins>](/docs/end-user-guide/accounts) and have [<ins>funds available</ins>](/docs/end-user-guide/faucet) for transfer.
2424

25-
<Callout type="info">
26-
CLASH OF NODES<br/>
27-
In the balance transfer challenge part of Clash of Nodes, participants must follow these guidelines:
28-
29-
1. **Token Acquisition**: To participate in balance transfers, tokens must be acquired through the designated [<ins>faucet</ins>](/docs/end-user-guide/faucet).
30-
2. **Faucet Transfer Limit**: Participants can obtain tokens from the [<ins>faucet</ins>](/docs/end-user-guide/faucet) only once per day.
31-
3. **Regular Engagement**: Participants are encouraged to engage with the challenge daily. The daily acquisition of tokens from the faucet and subsequent transfers cultivate consistent participation.
32-
</Callout>
33-
34-
<Callout>
35-
USING SUBWALLET<br/>
36-
[<ins>SubWallet</ins>](https://www.subwallet.app/) currently supports the Goldberg testnet and can be used for balance transfers.
37-
38-
Please view the third-party content disclaimer [<ins>here</ins>](https://github.com/availproject/availproject.github.io/blob/main/CONTENT_DISCLAIMER.md).
39-
</Callout>
4025

4126
## Transferring Funds Using Avail-JS
4227

@@ -48,7 +33,7 @@ Please view the third-party content disclaimer [<ins>here</ins>](https://github.
4833

4934
<Callout type="info">
5035
MINIMUM BALANCE<br/>
51-
On Avail, similar to other Substrate-based chains, an account must hold a minimum balance to stay active. This minimum, known as the Existential Deposit (ED), is set at **0.00001 AVAIL on the Goldberg testnet**. The ED helps prevent blockchain bloat from accounts with tiny or zero balances, thereby maintaining network efficiency and low fees. If an account's balance falls below this threshold, it gets deactivated, and the remaining balance is removed. Reactivating the account requires a deposit larger than the ED, but this won't restore the lost funds.
36+
On Avail, similar to other Substrate-based chains, an account must hold a minimum balance to stay active. This minimum, known as the Existential Deposit (ED), is set at **0.000001 AVAIL on the Avail Network**. The ED helps prevent blockchain bloat from accounts with tiny or zero balances, thereby maintaining network efficiency and low fees. If an account's balance falls below this threshold, it gets deactivated, and the remaining balance is removed. Reactivating the account requires a deposit larger than the ED, but this won't restore the lost funds.
5237
</Callout>
5338

5439
4. When you are ready to execute your transaction, enter your password and click on the "Sign and Submit" button.

pages/docs/end-user-guide/explorer.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
id: explorer
3-
title: How to Use the Goldberg Testnet Explorer
3+
title: How to Use the Avail Explorer
44
sidebar_label: Use the Explorer
55
description: A comprehensive guide on using the Avail Explorer to interact with the Avail network.
66
keywords:
@@ -12,11 +12,11 @@ image: https://docs.availproject.org/img/avail/AvailDocs.png
1212
---
1313
import { Callout } from 'nextra/components'
1414

15-
# How to Use the Goldberg Testnet Explorer
15+
# How to Use the Avail Explorer
1616

1717
## Introduction
1818

19-
The [<ins>Goldberg Testnet Explorer</ins>](https://explorer.avail.so/) serves as a powerful interface for interacting with the Avail network. Whether you're a developer, a validator, or an end-user, the explorer provides you with the tools to inspect network activities, manage accounts, and participate in governance. This guide will walk you through its key features.
19+
The [<ins>Avail Explorer</ins>](https://explorer.avail.so/) serves as a powerful interface for interacting with the Avail network. Whether you're a developer, a validator, or an end-user, the explorer provides you with the tools to inspect network activities, manage accounts, and participate in governance. This guide will walk you through its key features.
2020

2121
### Quick Navigation
2222

pages/docs/end-user-guide/identity.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
id: identity
33
title: How to Set an On-Chain Identity
44
sidebar_label: Set Your Identity
5-
description: 'Learn how to set an on-chain identity on the Goldberg testnet.'
5+
description: 'Learn how to set an on-chain identity on the Avail Network.'
66
keywords:
77
- docs
88
- avail
@@ -15,13 +15,13 @@ image: https://docs.availproject.org/img/avail/AvailDocs.png
1515

1616
## Introduction
1717

18-
This guide will walk you through the process of setting an on-chain identity on the Goldberg testnet.
18+
This guide will walk you through the process of setting an on-chain identity on the Avail network.
1919

2020
## Reserve Funds for Identity Bonding
2121

2222
To store personal information on-chain, users are required to lock a specific amount of funds as a bond. This bond is refundable upon the clearance of the identity.
2323

24-
Retrieve the necessary bond amounts by querying the [<ins>Chain state constants</ins>](https://explorer.avail.so/#/chainstate) on the [<ins>Goldberg Explorer</ins>](/docs/end-user-guide/explorer).
24+
Retrieve the necessary bond amounts by querying the [<ins>Chain state constants</ins>](https://explorer.avail.so/#/chainstate) on the [<ins>Avail Explorer</ins>](/docs/end-user-guide/explorer).
2525

2626
### Accessing Chain State Constants
2727

0 commit comments

Comments
 (0)