Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/about/specs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ keywords: [gnosis specs, gnosis specifications, gnosis block size, block speed,
| - | - |
| Block Size | 30M gas units |
| Block Speed | 5 seconds |
| Gas price | check [gas price oracle](/tools/oracles/gas-price) |
| Gas price | check [gas price oracle](/tools/Oracle%20Providers/gas-price) |
| Patchset | Cancun |
| Fee Token | [xDai](/concepts/tokens/xdai) |
| Consensus Token | [GNO](/concepts/tokens/gno) |
| Fee Token | [xDai](/about/tokens/xdai) |
| Consensus Token | [GNO](/about/tokens/gno) |
| Chain ID (Gnosis) | 100 (hexa 0x64) |
| Chain ID (Chiado Testnet) | 10200 (hexa 0x27D8) |

Expand Down
2 changes: 1 addition & 1 deletion docs/about/specs/consensus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ You can read more on the Ethereum merge here: [https://ethereum.org/en/upgrades/

### Users

You do not need to do anything. Your funds remain as-is during the transition. There were NOT any new token issued before, during or after the Merge. The [$GNO token](/concepts/tokens/gno) continues to be used for staking, while the [$xDai token](/concepts/tokens/xdai) is used as the native gas token.
You do not need to do anything. Your funds remain as-is during the transition. There were NOT any new token issued before, during or after the Merge. The [$GNO token](/about/tokens/gno) continues to be used for staking, while the [$xDai token](/about/tokens/xdai) is used as the native gas token.

:::danger scammer alert
Please be vigilant of scammers who may use this occasion to launch scam tokens, or phish for seed phrases.
Expand Down
2 changes: 1 addition & 1 deletion docs/about/tokens/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ keywords: [gnosis tokens, gnosis gno, gno token, xdai token, fee token, gno vali

# Tokens

Gnosis is a stable payments EVM (Ethereum Virtual Machine) blockchain designed for fast and inexpensive transactions. The chain uses a unique dual-token model; [xDai](/concepts/tokens/xdai/) is a stable token used for transactions, payments, and fees, and Proof of Stake protection will be provided by [GNO](/concepts/tokens/gno/) with the consensus-layer Gnosis Beacon Chain.
Gnosis is a stable payments EVM (Ethereum Virtual Machine) blockchain designed for fast and inexpensive transactions. The chain uses a unique dual-token model; [xDai](/about/tokens/xdai/) is a stable token used for transactions, payments, and fees, and Proof of Stake protection will be provided by [GNO](/about/tokens/gno/) with the consensus-layer Gnosis Beacon Chain.

| | xDai ⚔ | GNO 🦸 |
| -- | ------- | ------ |
Expand Down
2 changes: 1 addition & 1 deletion docs/bridges/About Token Bridges/xdai-bridge.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Daily Limit is reset according to the following logic: the smart contract stores

![](/img/bridges/diagrams/dai-bridge-01.png)

The [xDai token](/concepts/tokens/xdai) is minted when Dai\*\* is transferred from Ethereum to Gnosis using the xDai Bridge. During the transfer process, a block reward contract is invoked to mint xDai to a user's account. Because contract calls are made from the consensus engine to create xDai tokens, balance updates are more difficult to trace than simple value transfers.
The [xDai token](/about/tokens/xdai) is minted when Dai\*\* is transferred from Ethereum to Gnosis using the xDai Bridge. During the transfer process, a block reward contract is invoked to mint xDai to a user's account. Because contract calls are made from the consensus engine to create xDai tokens, balance updates are more difficult to trace than simple value transfers.

:::danger

Expand Down
8 changes: 4 additions & 4 deletions docs/developers/Build contracts on gnosis/nft.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ NFTs are not necessarily ERC-721 tokens, they can also be [ERC-1155](https://eip
If you're looking for a way to create NFTs without coding, check out [Nifty.Ink](https://nifty.ink/explore)
:::

For this walk through, we're going to be using [Hardhat](https://hardhat.org/) ([configure it with Gnosis](../dev-environment/hardhat.md/#config-hardhat-for-gnosis)).
For this walk through, we're going to be using [Hardhat](https://hardhat.org/) ([configure it with Gnosis](../dev-environment/hardhat/#config-hardhat-for-gnosis)).

## Prerequisites
To follow along, it's recommended to review and be familiar with the [documentation on deploying a contract](/developers/building/first-contract).
To follow along, it's recommended to review and be familiar with the [documentation on deploying a contract](/category/deploy-contracts-on-gnosis).
You will also need to have a working Node.js >=16.0 installation and [a small amount of xDai for gas](/tools/faucets).


Expand All @@ -61,7 +61,7 @@ Now, install the `hardhat-toolbox` plugin:
npm install --save-dev @nomicfoundation/hardhat-toolbox
```

Configure [hardhat with Gnosis](../smart-contracts/hardhat.md).
Configure [hardhat with Gnosis](../dev-environment/hardhat/#config-hardhat-for-gnosis).

## Step 2: Host NFT Art on IPFS

Expand Down Expand Up @@ -159,7 +159,7 @@ contract gnosisNft is Ownable, ERC721("GnosisNft", "GNOT") {

}
```
3. Now that you've got that all coded up, it's time to compile and deploy. You can also [see here](/developers/smart-contracts/hardhat) for more deployment info. Run from project root:
3. Now that you've got that all coded up, it's time to compile and deploy. Run from project root:
```bash
npx hardhat compile
```
Expand Down
6 changes: 3 additions & 3 deletions docs/developers/Build contracts on gnosis/token.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ event Approval(address indexed _owner, address indexed _spender, uint256 _value)
For this tutorial, we are going to be using [Hardhat](https://hardhat.org/).

## Prerequisites
To follow along, it's recommended to review and be familiar with the [documentation on deploying a contract](/developers/building/first-contract). This will also follow a lot of the same steps as the [Launching an NFT on Gnosis tutorial](/developers/building/nft).
To follow along, it's recommended to review and be familiar with the [documentation on deploying a contract](/category/deploy-contracts-on-gnosis). This will also follow a lot of the same steps as the [Launching an NFT on Gnosis tutorial](/developers/Build%20contracts%20on%20gnosis/nft).
You will also need to have a working Node.js >=16.0 installation and [a small amount of xDai for gas](/tools/faucets).

Also, take a look at [these important points to consider](https://forum.openzeppelin.com/t/points-to-consider-when-creating-a-fungible-token-erc20-erc777/2915) before creating your token.
Expand All @@ -44,7 +44,7 @@ Then run:
```bash
npm install --save-dev @nomicfoundation/hardhat-toolbox
```
Configure [hardhat with Gnosis](../dev-environment/hardhat.md#config-hardhat-for-gnosis).
Configure [hardhat with Gnosis](../dev-environment/hardhat#config-hardhat-for-gnosis).

## Step 2: Add Contract Code
We're going to import and use OpenZeppelin's ERC-20 contract implementation.
Expand Down Expand Up @@ -77,7 +77,7 @@ contract OwlToken is ERC20 {
}
}
```
Now, you are ready to deploy your token contract. Be sure to properly store your mnemonic/private key! The deploy script will be the same [as when we deployed the NFT](/developers/building/nft#step-3-implement-the-erc-721-token-contract). Also, [see here for more info on deploying contracts with Hardhat](/developers/smart-contracts/hardhat).
Now, you are ready to deploy your token contract. Be sure to properly store your mnemonic/private key! The deploy script will be the same [as when we deployed the NFT](/developers/Build%20contracts%20on%20gnosis/nft). Also, [see here for more info on deploying contracts with Hardhat](/developers/dev-environment/hardhat).

## Step 3: Add the token to your wallet to view your balance
To view your new tokens you have just minted, you'll have to add the ERC-20 contract address of the token to the wallet that you deployed from (the `msg.sender` address). If you are using MetaMask, scroll to the bottom of the wallet window and you will see an option to "Import Tokens"
Expand Down
4 changes: 2 additions & 2 deletions docs/developers/Interact on Gnosis/web3-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ keywords: [web3.js, library, web3, javascript, package]

# Using Web3.js

[web3.js](https://web3js.readthedocs.io/en/v1.7.5/web3.html) is a collection of libraries that allow you to interact with a local or remote Ethereum node using HTTP, IPC or WebSocket. Since Gnosis and Ethereum are very similar, web3.js can also be used in the same way. This page will go over some of the basics to get started. The web3.js docs have a lot more on the full features and functionality of the library and can be found [here](https://web3js.readthedocs.io/en/v1.7.5/). You can view RPCs to connect to [here](/tools/rpc/).
[web3.js](https://web3js.readthedocs.io/en/v1.7.5/web3.html) is a collection of libraries that allow you to interact with a local or remote Ethereum node using HTTP, IPC or WebSocket. Since Gnosis and Ethereum are very similar, web3.js can also be used in the same way. This page will go over some of the basics to get started. The web3.js docs have a lot more on the full features and functionality of the library and can be found [here](https://web3js.readthedocs.io/en/v1.7.5/). You can view RPCs to connect to [here](/tools/RPC%20Providers/).

## Adding web3.js to your Project

Expand Down Expand Up @@ -63,4 +63,4 @@ web3.eth.defaultCommon = {customChain: {name: 'Chiado Testnet', chainId: 10200,
web3.eth.defaultCommon = {customChain: {name: 'Gnosis', chainId: 100, networkId: 100}};
```
</TabItem>
</Tabs>
</Tabs>
8 changes: 4 additions & 4 deletions docs/developers/Overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title: Overview
<p>Fast transaction times (5 seconds) & low transaction fees (500 tx for $0.01)</p>
</FeatureCard>
<FeatureCard imgUrl="/img/feature-card-icons/right-left-large.svg">
<p>A <a href="/concepts/tokens/xdai">stable token for transactions</a> & gas fees</p>
<p>A <a href="/about/tokens/xdai">stable token for transactions</a> & gas fees</p>
</FeatureCard>
<FeatureCard imgUrl="/img/feature-card-icons/file-contract.svg">
<p>Smart Contract, DApp & [toolset](/tools) compatibility with other Ethereum-based chains like Ethereum, Ethereum Classic, BSC and others.</p>
Expand All @@ -25,7 +25,7 @@ title: Overview
<p>Growing ecosystem designed to support stable person-to-person transactions, micro transactions, conference currencies, community currencies, DeFi, NFTs, DAOs, games and more.</p>
</FeatureCard>
<FeatureCard imgUrl="/img/feature-card-icons/comments-question.svg">
<p>Wide-ranging [Community Support](/developers/communication).</p>
<p>Wide-ranging [Community Support](/about/communication).</p>
</FeatureCard>
<outlineCard
subtitle="Deploy your first ever contract on Gnosis Chain using a simple HelloWorld.sol on Remix IDE."
Expand All @@ -52,12 +52,12 @@ Welcome to the Developers section! This section gives an extensive overview on h
<Card
title=" 📺 Development Environments"
subtitle="Deploy smart contracts with development environment."
url="/developers/category/deploy-contracts-on-gnosis"
url="/category/deploy-contracts-on-gnosis"
/>
<Card
title=" 🎮 Interact with Smart Contracts"
subtitle="Interact with smart contracts using library of your choice!"
url="/developers/category/interact-with-contracts-on-gnosis"
url="/category/interact-with-contracts-on-gnosis"
/>
<Card
title=" 🧩 Verify Smart Contracts on Gnosis Chain"
Expand Down
6 changes: 3 additions & 3 deletions docs/developers/dev-environment/hardhat.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ npx hardhat run scripts/deploy.js --network chiado
</TabItem>
</Tabs>

View your deployed contract on any of the [explorers](/tools/explorers).
View your deployed contract on any of the [explorers](/tools/Blockchain%20Explorers).

Visit our [Tools page](/tools) for other support.

Expand All @@ -207,8 +207,8 @@ npx hardhat verify --network gnosis <deployed contract address>
</TabItem>
</Tabs>

Visit our [Contract Verification Page](/developers/verify/) for more documentation on verification tools.
Visit our [Contract Verification Page](/developers/Verify%20Smart%20Contracts/) for more documentation on verification tools.

## Additional Hardhat Documentation

- Additional Hardhat deployment documentation is located [here](https://hardhat.org/hardhat-runner/docs/guides/deploying).
- Additional Hardhat deployment documentation is located [here](https://hardhat.org/hardhat-runner/docs/guides/deploying).
2 changes: 1 addition & 1 deletion docs/developers/dev-environment/truffle.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Visit our [Tools page](/tools) for other support.

Verify with Truffle by using [Truffle Plugin Verify](https://trufflesuite.com/docs/truffle/reference/truffle-commands/#deploy)

Visit our [Contract Verification Page](/developers/verify/) for more documentation on verification tools.
Visit our [Contract Verification Page](/developers/Verify%20Smart%20Contracts/) for more documentation on verification tools.

## Additional Truffle Documentation

Expand Down
4 changes: 2 additions & 2 deletions docs/tools/Faucets.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ keywords: [faucet, xdai faucet, xdai token, token faucet, erc20 token]

# Faucets

A faucet is a service that provides small amounts of [xDai tokens](/concepts/tokens/xdai) to users who are experimenting with Gnosis. Here is a list of the available faucets.
A faucet is a service that provides small amounts of [xDai tokens](/about/tokens/xdai) to users who are experimenting with Gnosis. Here is a list of the available faucets.

:::note
If the faucet is not functioning properly, feel free to seek assistance on the [Gnosis Chain Discord channel](https://discord.gg/gnosis).
Expand All @@ -20,4 +20,4 @@ If the faucet is not functioning properly, feel free to seek assistance on the [

- [Stakely](https://stakely.io/en/faucet/gnosis-chain-xdai)
- [dRPC](https://drpc.org/faucet/gnosis)
- [Tenderly](https://docs.tenderly.co/virtual-testnets/unlimited-faucet?mtm_campaign=ext-docs&mtm_kwd=gnosis)
- [Tenderly](https://docs.tenderly.co/virtual-testnets/unlimited-faucet?mtm_campaign=ext-docs&mtm_kwd=gnosis)
2 changes: 1 addition & 1 deletion docs/tools/RPC Providers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RPC Providers implement the JSON RPC API that Dapps and developers can interact

- [JSON RPC API reference](https://ethereum.org/en/developers/docs/apis/json-rpc/)
- [JSON RPC Postman](https://documenter.getpostman.com/view/4117254/ethereum-json-rpc/RVu7CT5J?version=latest)
- [Start developing in Gnosis](/developers)
- [Start developing in Gnosis](/developers/overview)

## Gateway

Expand Down