Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bringing main to dev #7

Merged
merged 37 commits into from
Jul 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
628f619
Merge pull request #2 from gnosischain/dev
giacomolicari Jun 13, 2022
02a3652
initial configuration
alebanzas Jun 14, 2022
de67419
Remove CACHE rules on Staging deployments
giacomolicari Jun 16, 2022
fcad35c
add ignore
alebanzas Jun 17, 2022
2934bb5
adding gnosis beacon chain documentation
alebanzas Jun 17, 2022
852f3a8
removing unused files
alebanzas Jun 17, 2022
29946b2
starting quick start and home pages
alebanzas Jun 17, 2022
326cd72
Merge branch 'main' of https://github.com/gnosischain/developers-portal
alebanzas Jun 17, 2022
c98fba8
upgrading dependencies + removing package lock
alebanzas Jun 17, 2022
e82e5ca
upgrading node version
alebanzas Jun 17, 2022
afdc3d5
docusaurus version
alebanzas Jun 17, 2022
a6571a1
fix broken link
alebanzas Jun 17, 2022
f8d04ac
staging url
alebanzas Jun 17, 2022
b2e3568
updating docusaurus to last version
alebanzas Jun 18, 2022
a002d9c
node version 16.14.2
alebanzas Jun 18, 2022
6fe10db
fixing deploy
alebanzas Jun 18, 2022
8802dea
re-arrange info section
alebanzas Jun 20, 2022
1759b70
fixing internal links
alebanzas Jun 20, 2022
a874723
gnosis logo + colors
alebanzas Jun 20, 2022
411c149
governance, hard forks, consensus, specs
alebanzas Jun 26, 2022
55c0152
bridge specs + fixes
alebanzas Jun 27, 2022
95af898
image links
alebanzas Jun 27, 2022
1718713
renaming
alebanzas Jun 27, 2022
030bea2
bridges initial commit
alebanzas Jun 28, 2022
e8c47ed
highlights
alebanzas Jun 28, 2022
7b45be7
bridge docs reorg + link fixing
alebanzas Jun 29, 2022
a3c4e23
network naming
alebanzas Jun 29, 2022
acd9172
fixing links
alebanzas Jun 29, 2022
44b3b91
link fixing
alebanzas Jun 30, 2022
00c45af
images in lowercase
alebanzas Jun 30, 2022
6afd4e3
images in lowercase
alebanzas Jun 30, 2022
793ccf9
images in lowercase
alebanzas Jun 30, 2022
decfe1f
reorg links
alebanzas Jul 1, 2022
4e2f0df
tabs functionality
alebanzas Jul 11, 2022
58d425b
youtube link
alebanzas Jul 11, 2022
ad4fa02
url changes + youtube embeded
alebanzas Jul 11, 2022
0fde95a
xdai bridge
alebanzas Jul 13, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16.14.2

- name: Install
run: |
Expand All @@ -64,7 +64,7 @@ jobs:
- name: 'Deploy to S3: Staging'
if: github.ref == 'refs/heads/main'
run: |
aws s3 sync build/ s3://${{ secrets.BUCKET_NAME }}/staging/current --exclude "*.html" --cache-control max-age=31536000,public
aws s3 sync build/ s3://${{ secrets.BUCKET_NAME }}/staging/current --exclude "*.html" --cache-control max-age=0,no-cache,no-store,public
aws s3 sync build/ s3://${{ secrets.BUCKET_NAME }}/staging/current --exclude "*" --include "*.html" --cache-control max-age=0,no-cache,no-store,must-revalidate --content-type text/html
# Script to package release files
- name: 'Package release version'
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
node_modules
.docusaurus
.DS_Store
package-lock.json
build
yarn.lock
12 changes: 0 additions & 12 deletions blog/2019-05-28-first-blog-post.md

This file was deleted.

44 changes: 0 additions & 44 deletions blog/2019-05-29-long-blog-post.md

This file was deleted.

20 changes: 0 additions & 20 deletions blog/2021-08-01-mdx-blog-post.mdx

This file was deleted.

Binary file not shown.
25 changes: 0 additions & 25 deletions blog/2021-08-26-welcome/index.md

This file was deleted.

17 changes: 0 additions & 17 deletions blog/authors.yml

This file was deleted.

4 changes: 4 additions & 0 deletions docs/bridges/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
---

# Bridge
48 changes: 48 additions & 0 deletions docs/bridges/xdai/moving-dai-to-xdai.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
description: Transfer Dai to xDai through the simple UI
---

# Moving Dai to xDai

{@youtube: oKdh2cOOqUs}

:::info
Notes: You will need some Dai to transfer (minimum of 0.005 Dai) AND some ETH for gas (transaction fees).

Bridge may take some time to update chain stats, try refreshing or waiting a minute if you receive any errors. You can also use a different RPC from the Settings dropdown.
:::

1\) Go to [https://bridge.gnosischain.com/](https://bridge.gnosischain.com/). [Connect your web3 wallet](../../wallets/metamask/metamask-setup.md) (MetaMask, Nifty Wallet) to the **Ethereum Mainnet**. Once connected, you will see your address populated in the header, and your DAI and xDai balance displayed on the page.

_Note: If you change the dropdown on the page (ETH Mainnet) but not in MetaMask, the interface will shift but your wallet will not auto-connect to the chain. Switching chains in MM will automatically shift the interface._

2\) Enter the amount of Dai you would like to transfer to xDai, and click the **Transfer** button.

3\) The web3 wallet window will open with transaction details. Default gas price is fine, if you would like a faster transaction you can increase. Click **Submit or Confirm** (depending on wallet) to process the transaction.

![](/img/bridges/xdai/confirm.png)

4\) Wait for the transaction confirmation (time depends on gas price and network throughput). The transaction is considered finalized after 8 blocks. To check on a pending transaction, click on the tx in the UI.

![](/img/bridges/xdai/etherscan1.png)

![](/img/bridges/xdai/etherscan2.png)

:::info
If TX is taking longer than 10 minutes (usually due to rapid gas fluctuation on Ethereum), you may want to try speeding it up. Press the **speed up button** in MetaMask and pay additional gas to help prioritize your tx for miners. This may result in a Dropped and Replaced status with a new tx hash. If you prefer to wait, the tx should resolve eventually, but in extreme cases can take up to 24 hours.
:::

5\) Once the initial transaction is successful, you will see consecutive Transfer Pending notifications with:

1. 8 of 8 block confirmations.....
2. Countdown with continue until 1 block confirmation is left.
3. Waiting for execution on xDai Chain side.
4. Transfer Complete.

![](/img/bridges/xdai/tx-order.png)

6\) Click on View on BlockScout to see details about the transaction. If you scroll down you will see the address (your address where the xdai was sent), value (amount sent in wei), and transactionHash, which will match the hash from the initial transaction.

:::info
If you are interested in converting Dai to xDai without the UI see [How to use xDai Bridge without UI](/specs/bridges/xdai/use/without-ui)
:::
49 changes: 49 additions & 0 deletions docs/bridges/xdai/moving-xdai-to-dai.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
description: Convert xDai to Dai in the UI
---

# Moving xDai to Dai

{@youtube: oKdh2cOOqUs,start=105}

:::info
We recommend using Chrome + Metamask + No Ad Blockers to complete the process.

You will need a **small additional amount of xDai** to process the first transaction, and an **additional amount of Eth** to process the claim transaction on Ethereum.
:::

1\) Go to [https://bridge.gnosischain.com/](https://bridge.gnosischain.com/). [Connect your web3 wallet](../../wallets/metamask/metamask-setup.md) (MetaMask, Nifty Wallet) to the **Gnosis Chain**. Once connected, you will see your address populated in the header, and your xDai and Dai balance displayed on the page.

_Note: If you change the dropdown on the page (Gnosis Chain) but not in MetaMask, the interface will shift but your wallet will not auto-connect to the chain. Switching chains in MM will automatically shift the interface._

![](/img/bridges/xdai/xdai-to-mainnet.png)

2\) Enter the amount of xDai you would like to transfer to Dai, and click the **Request** button. Note the **minimum amount is 10 xDai.**

3\) Confirm that you will need to perform 2 transactions, and will need xDai and Eth to complete the transfer.

![](/img/bridges/xdai/xdai-to-mainnet-2.png)

4\) The web3 wallet window will open with transaction details. Click **Confirm** to process the transaction on xDai.

![](/img/bridges/xdai/xdaidai3.png)

5\) Wait for 8 block confirmations. You will see several popups with block confirmation info.

![](/img/bridges/xdai/xdai4.png)

6\) You will see a modal instructing you switch networks in your MetaMask (or other web3) to the Ethereum Network.

![](/img/bridges/xdai/xdai5.png)

7\) After you switch networks the **Claim** button will appear. Press to proceed.

![](/img/bridges/xdai/xdai6.png)

8\) **Confirm** the second claim transaction in MetaMask (you will need some Eth for gas fees). Once processed, the Dai should be available in your wallet.

![](/img/bridges/xdai/xdai7.png)

:::info
If you are interested in converting Dai to xDai without the UI see [How to use xDai Bridge without UI](/specs/bridges/xdai/use/without-ui)
:::
13 changes: 13 additions & 0 deletions docs/governance/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
description: Community signaling with forum posting and Snapshot signaling
---

# Governance

Gnosis Chain features several governance processes depending on the purpose and requirements.

* [Community Governance](/governance/community): As a community-driven chain, GNO holders within the community play a prominent role in determining the direction and goals of the Gnosis Chain. Community members can advance improvement proposals and engage in discussion on the Gnosis Forum.
* [Bridge Governance](/governance/bridge): The native bridges connecting Gnosis Chain to Ethereum (and other chains) provide vital infrastructure for the chain. Decisions and power must be distributed to increase security and decentralization, but also must be handled by those with expertise, and at times must be made in an expedited fashion. The bridge governing board is composed of projects with experience and a strong interest in continuing the success of the Gnosis Chain.



Loading