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

Add goldrush content #174

Merged
merged 3 commits into from
Nov 22, 2024
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
95 changes: 95 additions & 0 deletions pages/dev-ecosystem-providers/indexers/goldrush.mdx
Original file line number Diff line number Diff line change
@@ -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.

<ImageWithCaption
img={imgWalletUiComponent}
alt="GoldRush UI Kit Wallet Component"
caption="Example of a Wallet Component using the GoldRush UI Kit"
/>

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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading