Skip to content

Commit

Permalink
Merge pull request #171 from gnosischain/main
Browse files Browse the repository at this point in the history
v0.4.3
  • Loading branch information
alebanzas authored Oct 3, 2022
2 parents 40ef081 + f8df452 commit 333ddf1
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 36 deletions.
30 changes: 20 additions & 10 deletions docs/about/networks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,24 @@

# Networks Summary

| Network Name | Gnosis (mainnet) | Chiado (testnet) |
|--------------------|-----------------------------------|---------------------------------------------|
| Native (fee) token | xDAI | Chiado xDAI |
| Chain ID | 100 | 100100 |
| EL RPC | https://rpc.gnosischain.com/ | https://rpc-chiado.gnosistestnet.com |
| EL Explorer | https://gnosisscan.io/ | https://blockscout-chiado.gnosistestnet.com |
| CL Explorer | https://gnosisscan.io/ | https://beacon-chiado.gnosistestnet.com |
| Fork monitor | | https://forkmon-chiado.gnosistestnet.com |
| EthStats | https://dai-netstat.poa.network/ | https://ethstats-chiado.gnosistestnet.com |
| Faucet | https://gnosisfaucet.com | https://gnosisfaucet.com |
| Network Name | Gnosis (mainnet) | Chiado (testnet) |
|--------------------|-----------------------------------|-------------------------------------------|
| Native (fee) token | xDAI | Chiado xDAI |
| Chain ID | 100 | 10200 |
| EL RPC | https://rpc.gnosischain.com/ | https://rpc.chiadochain.net |
| EL Explorer | https://gnosisscan.io/ | https://blockscout.chiadochain.net |
| CL Explorer | https://gnosisscan.io/ | https://beacon.chiadochain.net/ |
| Fork monitor | | TBA |
| EthStats | https://dai-netstat.poa.network/ | TBA |
| Faucet | https://gnosisfaucet.com | https://gnosisfaucet.com |

## Chiado reset

:::warning
Chiado testnet was rebooted with a new chain id, explorer and RPC endpoints.
:::

If you are developing on Chiado:
- Re-synchronize your nodes
- Point your app to the new RPC endpoint
- Get help on [discord](https://discord.gg/VQb3WzsywU)
23 changes: 9 additions & 14 deletions docs/about/networks/chiado.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,35 +21,30 @@ Name: `Gnosis Token`

Ticker: `GNO`

Chiado Contract Address: [0x7f3e7cDf43E543c6D08bEf131f94aB99b091D2A2](https://blockscout-chiado.gnosistestnet.com/address/0x7f3e7cDf43E543c6D08bEf131f94aB99b091D2A2)
Chiado Contract Address: [0xf907903Be10FC3a885d331C4E225794436a34c9f](https://blockscout.chiadochain.net/address/0xf907903Be10FC3a885d331C4E225794436a34c9f)


## Contracts

SBCTokenProxy = [0x6bE2df1956282d2d1936fCB06B9C3361986a0DEe](https://blockscout-chiado.gnosistestnet.com/address/0x6bE2df1956282d2d1936fCB06B9C3361986a0DEe)
mGNO (SBCTokenProxy): [0xe68d8cD2b90bFd08d2Bcf5047A2d9850DA2deFDc](https://blockscout.chiadochain.net/address/0x0)

SBCWrapper = [0x7449F31859a7064eb4B1C3635fD38a8f53fFE8a2](https://blockscout-chiado.gnosistestnet.com/address/0x7449F31859a7064eb4B1C3635fD38a8f53fFE8a2)

SBCWrapperProxy = [0x6DD45A261782EAAC28B5c165CABD38a9e1389129](https://blockscout-chiado.gnosistestnet.com/address/0x6DD45A261782EAAC28B5c165CABD38a9e1389129)

SBCDepositContract = [0x0693208ef36eb70308FcaE7b7338664f9E5f2246](https://blockscout-chiado.gnosistestnet.com/address/0x0693208ef36eb70308FcaE7b7338664f9E5f2246)

[Deposit Contract address](https://github.com/gnosischain/consensus-deployment-ansible/blob/master/chiado/custom_config_data/config.yaml#L21): [0x2DCa72Dcf9fd65c806726a3F76aC51f3CEf778dc](https://blockscout-chiado.gnosistestnet.com/address/0x2DCa72Dcf9fd65c806726a3F76aC51f3CEf778dc)
[Deposit Contract address](https://github.com/gnosischain/consensus-deployment-ansible/blob/master/chiado/custom_config_data/config.yaml#L21) (SBCDepositContractProxy): [0xcD0904AcBF79F228E2c0d6D749cC72019D411995](https://blockscout.chiadochain.net/address/0xcD0904AcBF79F228E2c0d6D749cC72019D411995)

SBCWrapper = [0x5159F5ef48310EBdb7daD09A97f4376Bb207A7FE](https://blockscout.chiadochain.net/address/0x5159F5ef48310EBdb7daD09A97f4376Bb207A7FE)

## Bridges with Goerli

# AMB Bridges TokenBridge ARBITRARY_MESSAGE

[Home] Chiado: 0x2f018c1118B0DC28E395d054e80fE44c61904892 at block 190695
[Home] Chiado: 0x0 at block 0

[Foreign] Goerli: 0x5816D9EdC3D30F501A098bC26A313Ae8BeB7B8ad at block 7409708
[Foreign] Goerli: 0x0 at block 0

## OmniBridge AMB:

[Home] Chiado Bridge Mediator: 0x27D23dd2Ef62D9b92f8f743c9A29a9d327381900
[Home] Chiado Bridge Mediator: 0x0

[Foreign] Goerli Bridge Mediator: 0xe18e081f5448aE92E2D66aBBA6b9AbE3f61ea8B0
[Foreign] Goerli Bridge Mediator: 0x0

-> Claim Token

Expand All @@ -58,7 +53,7 @@ SBCDepositContract = [0x0693208ef36eb70308FcaE7b7338664f9E5f2246](https://blocks

Go to:[ https://abi.hashex.org/](https://abi.hashex.org/)

Copy the ABI from [https://etherscan.io/address/0x8eb3b7d8498a6716904577b2579e1c313d48e347#code](https://etherscan.io/address/0x8eb3b7d8498a6716904577b2579e1c313d48e347#code)
Copy the ABI from [https://etherscan.io/address/0x0#code](https://etherscan.io/address/0x0#code)


## Config Files
Expand Down
2 changes: 1 addition & 1 deletion docs/developers/interact/web3-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ When using web3.js, the default chain for signing transactions locally will be E
<TabItem value="chiado" label="Chiado Testnet">

```javascript
web3.eth.defaultCommon = {customChain: {name: 'Chiado Testnet', chainId: 100100, networkId: 100100}};
web3.eth.defaultCommon = {customChain: {name: 'Chiado Testnet', chainId: 10200, networkId: 10200}};
```
</TabItem>
<TabItem value="gnosis" label="Gnosis Mainnet">
Expand Down
6 changes: 3 additions & 3 deletions docs/developers/smart-contracts/foundry.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Because Solidity files may contain multiple contracts, ```:<YourContract>``` (Se
<TabItem value="chiado" label="Chiado Testnet">

```bash
forge create --rpc-url https://rpc-chiado.gnosistestnet.com --private-key <your_private_key> src/<YourContract>.sol:<YourContract>
forge create --rpc-url https://rpc.chiadochain.net --private-key <your_private_key> src/<YourContract>.sol:<YourContract>
```
</TabItem>
<TabItem value="gnosis" label="Gnosis Mainnet">
Expand All @@ -58,7 +58,7 @@ Use the ```--constructor-args``` flag to pass arguments to the constructor:
<TabItem value="chiado" label="Chiado Testnet">

```bash
forge create --rpc-url https://rpc-chiado.gnosistestnet.com \
forge create --rpc-url https://rpc.chiadochain.net \
--constructor-args <argument-1> <argument-2...>\
--private-key <your_private_key> src/<YourToken>.sol:<YourToken> \
```
Expand All @@ -83,7 +83,7 @@ forge create --rpc-url https://rpc.gnosischain.com \
<TabItem value="chiado" label="Chiado Testnet">

```bash
forge create --rpc-url https://rpc-chiado.gnosistestnet.com \
forge create --rpc-url https://rpc.chiadochain.net \
--private-key <your_private_key> src/<YourToken>.sol:<YourToken> \
--etherscan-api-key <your_etherscan_api_key> \
--verify
Expand Down
2 changes: 1 addition & 1 deletion docs/developers/smart-contracts/hardhat.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const defaultNetwork = 'gnosis';
},
},
chiado: {
url: 'https://rpc-chiado.gnosistestnet.com',
url: 'https://rpc.chiadochain.net',
gasPrice: 1000000000,
accounts: {
mnemonic: Mnemonic,
Expand Down
4 changes: 2 additions & 2 deletions docs/developers/smart-contracts/truffle.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ module.exports = {
provider: function() {
return new HDWalletProvider(
process.env.MNEMONIC,
"https://rpc-chiado.gnosistestnet.com")
"https://rpc.chiadochain.net")
},
network_id: 100100,
network_id: 10200,
gas: 500000,
gasPrice: 1000000000
},
Expand Down
2 changes: 1 addition & 1 deletion docs/tools/rpc/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ https://rpc.gnosischain.com/
```

```jsx title="Chiado Testnet"
https://rpc-chiado.gnosistestnet.com
https://rpc.chiadochain.net
```
:::info Testnet
Chiado is the official testnet, check the [specifications and information](/about/networks/chiado).
Expand Down
8 changes: 4 additions & 4 deletions docs/tools/wallets/metamask/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ After the installation, MetaMask require a configuration to work with Gnosis, fo
<Tabs>
<TabItem value="chainlist" label="Chain List">Use <a href="https://chainlist.org/?search=gnosis">ChainList</a> for a one-click configuration and follow the instructions.</TabItem>
<TabItem value="deeplink-gnosis" label="Deeplink (Gnosis Mainnet)">Click on <a href="https://shanejonas.github.io/metamask-link/deep?method=wallet_addEthereumChain&params[0][chainId]=0x64&params[0][chainName]=Gnosis&params[0][rpcUrls][0]=https://rpc.gnosischain.com&params[0][nativeCurrency][name]=xDAI&params[0][nativeCurrency][symbol]=xDAI&params[0][nativeCurrency][decimals]=18&params[0][blockExplorerUrls][0]=https://blockscout.com/xdai/mainnet">this deeplink</a> to auto-configure Gnosis in MetaMask and follow the instructions.</TabItem>
<TabItem value="deeplink-chiado" label="Deeplink (Chiado Testnet)">Click on <a href="https://shanejonas.github.io/metamask-link/deep?method=wallet_addEthereumChain&params[0][chainId]=0x18704&params[0][chainName]=Chiado&params[0][rpcUrls][0]=https://rpc-chiado.gnosistestnet.com&params[0][nativeCurrency][name]=Chiado xDAI&params[0][nativeCurrency][symbol]=xDAI&params[0][nativeCurrency][decimals]=18&params[0][blockExplorerUrls][0]=https://blockscout-chiado.gnosistestnet.com">this deeplink</a> to auto-configure Chiado Testnet in MetaMask and follow the instructions.</TabItem>
<TabItem value="deeplink-chiado" label="Deeplink (Chiado Testnet)">Click on <a href="https://shanejonas.github.io/metamask-link/deep?method=wallet_addEthereumChain&params[0][chainId]=0x18704&params[0][chainName]=Chiado&params[0][rpcUrls][0]=https://rpc.chiadochain.net&params[0][nativeCurrency][name]=Chiado xDAI&params[0][nativeCurrency][symbol]=xDAI&params[0][nativeCurrency][decimals]=18&params[0][blockExplorerUrls][0]=https://blockscout.chiadochain.net">this deeplink</a> to auto-configure Chiado Testnet in MetaMask and follow the instructions.</TabItem>
</Tabs>

### B. Manual Configuration
Expand Down Expand Up @@ -65,19 +65,19 @@ Chiado
```

```jsx title="New RPC URL"
https://rpc-chiado.gnosistestnet.com
https://rpc.chiadochain.net
```

```jsx title="Chain ID"
100100
10200
```

```jsx title="Symbol"
Chiado xDai
```

```jsx title="Block Explorer URL"
https://blockscout-chiado.gnosistestnet.com
https://blockscout.chiadochain.net
```


Expand Down

0 comments on commit 333ddf1

Please sign in to comment.