diff --git a/pages/dev-ecosystem-providers/indexers/goldrush.mdx b/pages/dev-ecosystem-providers/indexers/goldrush.mdx new file mode 100644 index 00000000..58c115fa --- /dev/null +++ b/pages/dev-ecosystem-providers/indexers/goldrush.mdx @@ -0,0 +1,95 @@ +import {ImageWithCaption} from '../../../components'; + +import imgWalletUiComponent from "../../../public/assets/ecosystem/resources/goldrush/wallet_ui_component.png"; + +# GoldRush - powered by Covalent + +[GoldRush](https://goldrush.dev/?utm_source=sei&utm_medium=partner-docs) is a set foundational multichain data APIs and toolkits for easy web3 development across [100+ supported blockchains](https://goldrush.dev/docs/networks/?utm_source=sei&utm_medium=partner-docs), including Sei mainnet (EVM only). GoldRush offers structured onchain data, including token balances, transactions and event logs through powerful APIs, SDKs and UI Kits for building dapps. + + +> [Sign up to start building on Sei](https://goldrush.dev/platform/?utm_source=sei&utm_medium=partner-docs) + +## APIs + +The GoldRush APIs enable developers to quickly and easily access structured onchain data. This means consistent response schemas that are blockchain agnostic. Available APIs and corresponding use cases include: + +### Wallet API + +- **Features:** All token balances (ERC20, 721, 1155, native), token transfers and prices (spot and +historical) for a wallet. +- **Use cases:** [Wallets, portfolio trackers](https://goldrush-wallet-portfolio-ui.vercel.app/?utm_source=sei&utm_medium=partner-docs), token gating, airdrop snapshots. + +### 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=sei&utm_medium=partner-docs). + +### 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/0x6d68A318D0632f7B9Ce9d6757Dea0e9dE19D7CCA/?utm_source=sei&utm_medium=partner-docs). + +### Security API + +- **Features:** NFT and ERC20 token allowances, including value-at-risk. +- **Use cases:** [Revoke features](https://goldrush-revokehub.vercel.app/?utm_source=sei&utm_medium=partner-docs) in wallets, security applications. + +### Blockchain API + +- **Features:** Block details, log events by contract address or topic hash, gas prices, token prices and holders. +- **Use cases:** [Custom block explorers](https://goldrush-block-explorer-ui.vercel.app/?utm_source=sei&utm_medium=partner-docs). + +## Developer Tools + +There are 4 primary developer tools for using the APIs: + +1. [GoldRush APIs](https://goldrush.dev/docs/api) - enteprise-grade REST APIs to use with any programming language. Switch blockchains with one path parameter. + + ```sh + curl -X GET https://api.covalenthq.com/v1/sei-mainnet/address/0x6d68A318D0632f7B9Ce9d6757Dea0e9dE19D7CCA/balances_v2/ \ + -H 'Content-Type: application/json' \ + -u YOUR_API_KEY: + ``` + +2. [GoldRush SDKs](https://goldrush.mintlify.app/docs/goldrush-sdks?utm_source=sei&utm_medium=partner-docs) - official client libraries including TypeScript and Python. + ```sh + npm install @covalenthq/client-sdk + ``` + + + ```ts + import { GoldRushClient } from "@covalenthq/client-sdk"; + + (async () => { + try { + const client = new GoldRushClient("YOUR_API_KEY"); + const transactions = client.TransactionService.getAllTransactionsForAddress("sei-mainnet", "0x6d68A318D0632f7B9Ce9d6757Dea0e9dE19D7CCA"); + + for await (const tx of transactions) { + console.log("tx", tx); + } + } catch (error) { + console.log(error.message); + } + })(); + ``` + +3. [GoldRush UI Kit](https://github.com/covalenthq/goldrush-kit/?utm_source=sei&utm_medium=partner-docs) - beautifully designed React components for your dApp frontend. + + + +4. [GoldRush Decoder](https://github.com/covalenthq/goldrush-decoder/?utm_source=sei&utm_medium=partner-docs) - decode any raw event logs into human-readable structured data. + + +## Get started + +- [API Key](https://goldrush.dev/platform/auth/register/?utm_source=sei&utm_medium=partner-docs) - sign up for free +- [Docs](https://goldrush.dev/docs/?utm_source=sei&utm_medium=partner-docs) - comprehensive knowledge base for all things GoldRush including a quickstart +- [Sei Network Details](https://goldrush.dev/chains/sei/?utm_source=sei&utm_medium=partner-docs) - setup details and supported APIs for Sei +- [Guides](https://goldrush.dev/guides/?utm_source=sei&utm_medium=partner-docs) - learn how to build for various use cases and expand your onchain knowledge diff --git a/public/assets/ecosystem/resources/goldrush/wallet_ui_component.png b/public/assets/ecosystem/resources/goldrush/wallet_ui_component.png new file mode 100644 index 00000000..96553cf1 Binary files /dev/null and b/public/assets/ecosystem/resources/goldrush/wallet_ui_component.png differ