diff --git a/docs/about/networks/_category_.json b/docs/about/networks/_category_.json index 0d619415..b45a1b72 100644 --- a/docs/about/networks/_category_.json +++ b/docs/about/networks/_category_.json @@ -2,7 +2,7 @@ "position": 1, "label": "Networks Overview", "collapsible": true, - "collapsed": false, + "collapsed": true, "link": { "type": "generated-index" } diff --git a/docs/about/specs/_category_.json b/docs/about/specs/_category_.json index 2d12e0f6..63a8e74e 100644 --- a/docs/about/specs/_category_.json +++ b/docs/about/specs/_category_.json @@ -1,5 +1,5 @@ { - "position": 2, + "position": 3, "label": "Chain Specifications", "collapsible": true, "collapsed": true, diff --git a/docs/about/networks/tokens/README.md b/docs/about/tokens/README.md similarity index 97% rename from docs/about/networks/tokens/README.md rename to docs/about/tokens/README.md index 0d110b20..c9920cde 100644 --- a/docs/about/networks/tokens/README.md +++ b/docs/about/tokens/README.md @@ -1,5 +1,5 @@ --- -sidebar_position: 2 +sidebar_position: 3 description: Gnosis uses a unique dual-token model, xdai for fees, gno for consensus keywords: [gnosis tokens, gnosis gno, gno token, xdai token, fee token, gno validation] --- diff --git a/docs/about/tokens/_category_.json b/docs/about/tokens/_category_.json new file mode 100644 index 00000000..45ce5958 --- /dev/null +++ b/docs/about/tokens/_category_.json @@ -0,0 +1,9 @@ +{ + "position": 2, + "label": "Token", + "collapsible": true, + "collapsed": true, + "link": { + "type": "generated-index" + } + } \ No newline at end of file diff --git a/docs/about/networks/tokens/gno.md b/docs/about/tokens/gno.md similarity index 100% rename from docs/about/networks/tokens/gno.md rename to docs/about/tokens/gno.md diff --git a/docs/about/networks/tokens/xdai.md b/docs/about/tokens/xdai.md similarity index 96% rename from docs/about/networks/tokens/xdai.md rename to docs/about/tokens/xdai.md index fc278b68..9130d60d 100644 --- a/docs/about/networks/tokens/xdai.md +++ b/docs/about/tokens/xdai.md @@ -12,7 +12,7 @@ xDai tokens are native tokens on Gnosis and also used to pay for execution of sm ### Bridge -Convert DAI from Ethereum to xDai using the [xDai Bridge](/bridges/tokenbridge/xdai-bridge). +Convert DAI from Ethereum to xDai using the [Unified Gnosis Bridge App](/bridges/usebridges). ### Buy xDAI diff --git a/docs/bridges/Bridge Explorer.md b/docs/bridges/Bridge Explorer.md index 62ebab66..d5af7c5c 100644 --- a/docs/bridges/Bridge Explorer.md +++ b/docs/bridges/Bridge Explorer.md @@ -36,7 +36,7 @@ https://bridge-explorer.gnosischain.com/bridge-explorer/latest-transactions **Direction** 1. Gnosis > Mainnet: The transaction is initiated from Gnosis Chain, and bridged to Ethereum mainnet, user need to claim the transaction on Ethereum mainnet. -2. Mainnet > Gnosis: The transaction is initiated from Ethereum mainnet, and bridged to Gnossi Chain. +2. Mainnet > Gnosis: The transaction is initiated from Ethereum mainnet, and bridged to Gnosis Chain. **Signed by** @@ -70,7 +70,7 @@ This section shows insight of bridge limit and is reset every `Daily limit reset - Ethereum -> Gnosis Chain: Maximum amount of DAI/token that bridge validators can execute and bridge from Gnosis to Ethereum in a day. - Gnosis Chain -> Ethereum: Maximum amount of XDAI/token that bridge validators can execute and bridge from Ethereum to Gnosis in a day. 3. **Min. per transaction**: Minimum amount of token that users can bridge in a single transaction. -4. **Max. per transaction**: Maximum amount of DAI that users can bridge in a single transaction. +4. **Max. per transaction**: Maximum amount of token that users can bridge in a single transaction. 5. **Execution max. per transaction**: Maximum amount of token that validators can execute in a single transaction. 6. **Daily limit reset**: In how many hours will the daily limit get reset to zero. 7. **Token address**: Token address of corresponding token, native token(xDAI) don't have an address. diff --git a/docs/bridges/Build with Bridges/using-xdai-bridge/README.md b/docs/bridges/Build with Bridges/using-xdai-bridge/README.md index c0feb62d..5c3b7ac1 100644 --- a/docs/bridges/Build with Bridges/using-xdai-bridge/README.md +++ b/docs/bridges/Build with Bridges/using-xdai-bridge/README.md @@ -12,7 +12,8 @@ keywords: [xdai bridge, token bridge, ethereum, gnosis, gnosis bridge] You will need some Dai to transfer AND some ETH for gas (transaction fees). [Bridge minimum/maximum amounts](../../tokenbridge/xdai-bridge.md#fees--daily-limits) are set by the [bridge governors](../../tokenbridge/xdai-bridge.md#bridge-governance). Bridge may take some time to update chain stats, try refreshing or waiting a minute if you receive any errors. You can also select a [different RPC](#custom-rpc) in the Settings dropdown. ::: -1. Go to the [Gnosis Bridge UI](https://bridge.gnosischain.com/) and connect your 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. If you change the dropdown on the page (ETH Mainnet) but not in MetaMask, the interface will update but your wallet will not auto-connect to the chain. _Switching chains in MetaMask_ however will automatically update the interface. + +1. Go to the [Legacy xDai Bridge UI](https://bridge.legacy.gnosischain.com/) and connect your 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. If you change the dropdown on the page (ETH Mainnet) but not in MetaMask, the interface will update but your wallet will not auto-connect to the chain. _Switching chains in MetaMask_ however will automatically update the interface. 2. Enter the amount of Dai you would like to transfer to Gnosis, and click the Transfer button. 3. The web3 wallet window will open with transaction details. The default gas price is fine, if you would like a faster transaction you can increase. Click Submit or Confirm (depending on wallet) to initiate the transaction. 4. Wait for the transaction confirmation (this can take some time if the network is super congested). The transaction is considered finalized after 8 blocks. To check on a pending transaction, click on the tx in the UI. diff --git a/docs/technicalguides/account-abstraction/README.md b/docs/technicalguides/account-abstraction/README.md index 5babf42f..92428445 100644 --- a/docs/technicalguides/account-abstraction/README.md +++ b/docs/technicalguides/account-abstraction/README.md @@ -62,7 +62,9 @@ For more information on Gelato , visit the [Gelato documentation](https://docs.g For more details, refer to the [Safe documentation](https://docs.safe.global/). -## Choosing the Right Option +:::info +AA with ZeroDev (coming up soon) +::: +--- -When deciding on an AA solution for your project on Gnosis Chain, consider the specific needs of your application, such as the level of security required, the desired user experience, and the technical capabilities of your team. Each option offers unique features and benefits, so it's important to evaluate them in the context of your project's requirements. diff --git a/docs/tools/Data Indexing/covalent.md b/docs/tools/Data Indexing/covalent.md new file mode 100644 index 00000000..57bb05ec --- /dev/null +++ b/docs/tools/Data Indexing/covalent.md @@ -0,0 +1,121 @@ +# Covalent + +[Covalent](https://www.covalenthq.com/?utm_source=gnosis-chain&utm_medium=partner-docs) is a hosted blockchain data solution providing access to historical and current onchain data for [200+ supported blockchains](https://www.covalenthq.com/docs/networks/?utm_source=gnosis-chain&utm_medium=partner-docs), including Gnosis Chain. + +Covalent maintains a full replica of every supported blockchain, meaning you have access to: + +- Current and historical account balances +- Full transaction histories +- Every contract log event +- All NFTs including assets and metadata + +**Use Covalent if you need:** + +- Wallet, Transactions, NFT, DEX, Staking or core blockchain data (log events, blocks) +- Normalized, aggregated and enhanced multichain data, well beyond what you get from RPC providers +- Enterprise-grade performance + +> **[Sign up to start building on Gnosis Chain](https://www.covalenthq.com/platform/?utm_source=gnosis-chain&utm_medium=partner-docs)** + +# APIs + +The Covalent APIs enables developers to quickly and easily access structured onchain data. This means consistent response schemas regardless of the blockchain. Available APIs and corresponding use cases include: + +### Wallet API + +- **Features:** All token balances (ERC20, 721, 1155, native), token transfers and prices (spot & historical) for a wallet. +- **Use cases:** [Wallets, portfolio trackers](https://goldrush-wallet-portfolio-ui.vercel.app/?utm_source=gnosis-chain&utm_medium=partner-docs), token gating, airdrop snapshots. + +### NFT API + +- **Features:** Media assets, metadata, sales, owners, trait & attribute filters, thumbnails & previews. +- **Use cases:** [NFT galleries & marketplaces](https://goldrush-nft-gallery-ui.vercel.app/?utm_source=gnosis-chain&utm_medium=partner-docs), real world asset (RWA) tracking, token gating. + +### DEX API + +- **Features:** Positions, rewards, pool and token details for major DEX protocols. +- **Use cases:** [Analytics dashboards](https://goldrush-uniswap-dex-dashboard.vercel.app/?utm_source=gnosis-chain&utm_medium=partner-docs), leaderboards, reward calculators. + +### Cross-Chain Activity API + +- **Features:** Single API call to fetch a list of active chains and the latest transaction date on each for an address. +- **Use cases:** [App onboarding](https://goldrush-wallet-portfolio-ui.vercel.app/activity/0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de/?utm_source=gnosis-chain&utm_medium=partner-docs). + +### Transactions API + +- **Features:** All historical transactions with human-readable log events. Includes gas usage/spend summaries. +- **Use cases:** [Accounting and tax tools](https://bit.ly/crypto-tax-tool), branded in-app [transaction receipts](https://goldrush-dfk-tx-receipt-ui.vercel.app/tx/defi-kingdoms-mainnet/0x4e5c0af28b2cea27d06677fae1f573572e0ff863c43ae42d2959ca67b90c4390/?utm_source=gnosis-chain&utm_medium=partner-docs). + +### Security API + +- **Features:** NFT and ERC20 token allowances, including value-at-risk. +- **Use cases:** Revoke features in wallets, security applications. + +### Blockchain API + +- **Features:** Block details, log events by contract address or topic hash, gas prices. +- **Use cases:** Custom block explorers. + +## Developer Tools + +There are 3 primary developer tools for using the APIs: + +1. [**Unified API**](https://www.covalenthq.com/docs/api/?utm_source=gnosis-chain&utm_medium=partner-docs) - enterprise-grade endpoints to use with any programming language. Switch blockchains with one path parameter. + + ```bash + curl -X GET https://api.covalenthq.com/v1/gnosis-mainnet/address/0x2C6900b24221dE2B4A45c8c89482fFF96FFB7E55/balances_v2/ \ + -H 'Content-Type: application/json' \ + -u YOUR_API_KEY: + ``` + +2. [**Client SDKs**](https://www.covalenthq.com/docs/unified-api/sdk/?utm_source=gnosis-chain&utm_medium=partner-docs) - official client libraries including TypeScript, Go and Python. + ```jsx + npm install @covalenthq/client-sdk + ``` + + + ```jsx + import { CovalentClient } from "@covalenthq/client-sdk"; + + (async () => { + try { + const client = new CovalentClient("YOUR_API_KEY"); + const transactions = client.TransactionService.getAllTransactionsForAddress("gnosis-mainnet", "0x2C6900b24221dE2B4A45c8c89482fFF96FFB7E55"); + + for await (const tx of transactions) { + console.log("tx", tx); + } + } catch (error) { + console.log(error.message); + } + })(); + ``` + +3. [**GoldRush Kit**](https://github.com/covalenthq/goldrush-kit/?utm_source=gnosis-chain&utm_medium=partner-docs) - beautifully designed React components for your dApp frontend + [![GoldRush Component Example](https://www.datocms-assets.com/86369/1711147954-goldrush_wallet_ui_example.png)](https://goldrush-wallet-portfolio-ui.vercel.app/dashboard/balance/0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de/transfers/eth-mainnet/0xf8c3527cc04340b208c854e985240c02f7b7793f) + +## Get started + +- **[API Key](https://www.covalenthq.com/platform/auth/register/?utm_source=gnosis-chain&utm_medium=partner-docs)** - sign up for free +- [**Docs**](https://www.covalenthq.com/docs/unified-api/?utm_source=gnosis-chain&utm_medium=partner-docs) - comprehensive knowledge base for all things Covalent +- **[Guides](https://www.covalenthq.com/docs/unified-api/guides/?utm_source=gnosis-chain&utm_medium=partner-docs)** - learn how to build for various use cases and expand your onchain knowledge + +  +# Increment +[![example-increment-chart](https://www.datocms-assets.com/86369/1684974544-increment-example-partner-docs.png)](https://www.covalenthq.com/platform/increment/#/?utm_source=gnosis-chain&utm_medium=partner-docs) + +Increment is a novel no-code charting and reporting tool powered by Covalent. *Simply type SQL, get charts.* + +## Use cases +Increment can be used for: + +- [Analyzing Blockchain Networks](https://www.covalenthq.com/docs/increment/data-models/chain-gdp/?utm_source=gnosis-chain&utm_medium=partner-docs) +- [Analyzing DEXs](https://www.covalenthq.com/docs/increment/data-models/swap-land/?utm_source=gnosis-chain&utm_medium=partner-docs) +- [Analyzing NFT Marketplaces](https://www.covalenthq.com/docs/increment/data-models/jpeg-analysis/?utm_source=gnosis-chain&utm_medium=partner-docs) + + +## Get started + +- [Increment](https://www.covalenthq.com/platform/increment/#/?utm_source=gnosis-chain&utm_medium=partner-docs) - login via the Covalent Platform +- [Docs](https://www.covalenthq.com/docs/increment/?utm_source=gnosis-chain&utm_medium=partner-docs) - learn how to use Increment to build dynamic, custom charts +- [Data Models Demo](https://www.covalenthq.com/docs/increment/data-models/model-intro/?utm_source=gnosis-chain&utm_medium=partner-docs) - build analytics in 3 clicks diff --git a/docs/tools/oracles/api3.md b/docs/tools/Oracle Providers/api3.md similarity index 100% rename from docs/tools/oracles/api3.md rename to docs/tools/Oracle Providers/api3.md diff --git a/docs/tools/oracles/chainlink.md b/docs/tools/Oracle Providers/chainlink.md similarity index 100% rename from docs/tools/oracles/chainlink.md rename to docs/tools/Oracle Providers/chainlink.md diff --git a/docs/tools/oracles/gas-price.md b/docs/tools/Oracle Providers/gas-price.md similarity index 100% rename from docs/tools/oracles/gas-price.md rename to docs/tools/Oracle Providers/gas-price.md diff --git a/docs/tools/oracles/supraoracles/README.md b/docs/tools/Oracle Providers/supraoracles/README.md similarity index 100% rename from docs/tools/oracles/supraoracles/README.md rename to docs/tools/Oracle Providers/supraoracles/README.md diff --git a/docs/tools/oracles/supraoracles/vrf.md b/docs/tools/Oracle Providers/supraoracles/vrf.md similarity index 100% rename from docs/tools/oracles/supraoracles/vrf.md rename to docs/tools/Oracle Providers/supraoracles/vrf.md diff --git a/docs/tools/oracles/tellor.md b/docs/tools/Oracle Providers/tellor.md similarity index 100% rename from docs/tools/oracles/tellor.md rename to docs/tools/Oracle Providers/tellor.md diff --git a/docusaurus.config.js b/docusaurus.config.js index 04b3a777..fb629d98 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -268,7 +268,6 @@ const config = { to: "/about/communication", from: "/developers/communication" } - ], }, ], diff --git a/updates/2024/04-10-core-devs-call.md b/updates/2024/04-10-core-devs-call.md new file mode 100644 index 00000000..8fd06420 --- /dev/null +++ b/updates/2024/04-10-core-devs-call.md @@ -0,0 +1,97 @@ +--- +title: Core Devs Call - 2024/04/10 +authors: [dapplion, armaganercan, filoozom] +tags: [CoreDevsCall, Gnosis Chain] +--- + +# Gnosis Core Devs Call Notes + +Welcome to the Gnosis Core Devs weekly gathering. Every Wednesday, key members from the Gnosis team, contributors, and various team representatives convene to discuss, collaborate, and update one another on the Gnosis ecosystem's progression. + +Participants represent teams: + +Erigon, Gateway, Nethermind, Geth, Gnosis DevOps, Gnosis Core Devs, Gnosis Comms team. + +With a diverse set of voices present, our discussions are rich, multifaceted, and aim to foster innovation within the community. + +Missed the meeting? Catch the [full recording on Gnosis Chain YouTube channel.](https://youtu.be/b6OEAy3mccg) + +April 10, 2024 + +# Client Team Updates +## EL + +* **Nethermind**: + * Nothing new + * Working on Pectra and half-path / snap sync server + +* **Erigon**: + * Working on Pectra and Erigon 3 + +* **Geth**: + * Issue when the first blob was included in a block + * Currently less than 2 weeks behind head + * Then will test snap sync with a new geth node + +# Chain Infra + +* **Gateway** + * No updates + +# Innovation + +* Shutter + * The first Shutter transaction was included! + * Transaction submitted to sequencer contract and included in a block + * However, keypers are mocked for now, so the keys are hard coded + * Because the keypers are still using the BN curve rather than BLS + * Will require some changes from Shutter and then some testing + * No ETA yet + * The libp2p issue hasn’t been resolved yet, so the connection breaks after around half a hour + +* Verkle Tree Integration + * Gnosis Chain has less time per block to do the transition + * What’s the upper bound for time we can take to do the transition? + * One issue is that snap sync is not entirely figured out for the transition yet, so syncing could be a bit more difficult (but at most nodes would have to sync 2 months worth of blocks, which on Gnosis Chain is not that huge of an issue, and it likely doesn’t change anything for Erigon at least) + * Ethereum is targeting 2 weeks, on Gnosis Chain with identical parameters it would take 4x longer, so 2 months (mental math, to be checked) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +