<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Cradicle Explorer</title>
    <link href="/css/bootstrap/bootstrap.min.css" rel="stylesheet">
    <style>
      .form-control-dark::placeholder {
          color: #aaa;
          opacity: 1;
      }
    </style>
    <link rel="stylesheet" href="/assets/fontawesome/css/all.min.css">
    <link rel="icon" type="image/png" href="/favicon.png">


                <link href="/css/dashboard.css" rel="stylesheet">
                </head>
                <body>
                <header class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0 shadow">
                  <a class="navbar-brand col-md-3 col-lg-2 me-0 px-3 fs-6" href="/">Cradicle Explorer</a>
                  <button class="navbar-toggler position-absolute d-md-none collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#sidebarMenu" aria-controls="sidebarMenu" aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                  </button>
                  <form method="get" action="/cgi-bin/main" style="width:100%;"><input class="form-control form-control-dark w-100 rounded-0 border-0" type="text" name="q" placeholder="Search repos" aria-label="Search"></form>
                  <div class="navbar-nav flex-row">
                    <div class="nav-item text-nowrap">
                      <a class="nav-link px-3 active" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp">airbyte-custom-connector</a>
                    </div>
                  </div>
                </header>
                <div class="container-fluid">
                  <div class="row">
                    <nav id="sidebarMenu" class="col-md-3 col-lg-2 d-md-block bg-dark sidebar collapse">
                      <div class="position-sticky pt-3 sidebar-sticky">
                        <ul class="nav flex-column">
                          <li class="nav-item">
                            <a class="nav-link" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp">
                              <i class="align-text-bottom fa-solid fa-info"></i>
                              Info
                            </a>
                          </li>
                          <li class="nav-item">
                            <a class="nav-link" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&issue=list">
                              <i class="align-text-bottom fa-solid fa-layer-group"></i>
                              Issues
                            </a>
                          </li>
                          <li class="nav-item">
                            <a class="nav-link" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&patch=list">
                              <i class="align-text-bottom fa-solid fa-vest-patches"></i>
                              Patches
                            </a>
                          </li>
                          <li class="nav-item">
                            <a class="nav-link" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&wallet=list">
                              <i class="align-text-bottom fa-solid fa-wallet"></i>
                              Wallets
                            </a>
                          </li>
                          <li class="nav-item">
                            <a class="nav-link active" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=.">
                              <i class="align-text-bottom fa-solid fa-code"></i>
                              Source
                            </a>
                          </li>
                        <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted text-uppercase">
                          <span></span>
                        </h6>
                        <ul class="nav flex-column mb-2">
                        
    <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-1 mb-1 text-muted text-uppercase">
      <span>Source</span>
    </h6>
    <li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=.github"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> .github</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-alchemy-fetcher"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source-alchemy-fetcher</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-app-store"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source-app-store</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-basic-api-fetcher"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source-basic-api-fetcher</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-bitcoin-explorer"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source-bitcoin-explorer</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-blockchain-explorer"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source-blockchain-explorer</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-bluesky-fetcher"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source-bluesky-fetcher</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-crypto-market-extractor"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source-crypto-market-extractor</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-custom-bamboo-hr"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source-custom-bamboo-hr</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-custom-rss-feed"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source-custom-rss-feed</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-discord-fetcher"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source-discord-fetcher</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-discourse-fetcher"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source-discourse-fetcher</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-etherscan"><i class="fa-solid fa-folder-open" style="color:#f0c040;"></i> source-etherscan</a></li><li><a class="nav-link py-0" style="padding-left:32px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-etherscan%2Fsample_files"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> sample_files</a></li><li><a class="nav-link py-0" style="padding-left:32px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-etherscan%2Fsource_etherscan"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source_etherscan</a></li><li><a class="nav-link py-0" style="padding-left:32px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&file=source-etherscan%2FDockerfile"><i class="fa-solid fa-file" style="color:#888;"></i> Dockerfile</a></li><li><a class="nav-link py-0 active" style="padding-left:32px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&file=source-etherscan%2FREADME.md"><i class="fa-solid fa-file" style="color:#888;"></i> README.md</a></li><li><a class="nav-link py-0" style="padding-left:32px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&file=source-etherscan%2Facceptance-test-config.yml"><i class="fa-solid fa-file" style="color:#888;"></i> acceptance-test-config.yml</a></li><li><a class="nav-link py-0" style="padding-left:32px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&file=source-etherscan%2Fmain.py"><i class="fa-solid fa-file" style="color:#888;"></i> main.py</a></li><li><a class="nav-link py-0" style="padding-left:32px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&file=source-etherscan%2Fmetadata.yaml"><i class="fa-solid fa-file" style="color:#888;"></i> metadata.yaml</a></li><li><a class="nav-link py-0" style="padding-left:32px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&file=source-etherscan%2Fpoetry.lock"><i class="fa-solid fa-file" style="color:#888;"></i> poetry.lock</a></li><li><a class="nav-link py-0" style="padding-left:32px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&file=source-etherscan%2Fpyproject.toml"><i class="fa-solid fa-file" style="color:#888;"></i> pyproject.toml</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-google-store"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source-google-store</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-luma-fetcher"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source-luma-fetcher</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-mastodon-fetcher"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source-mastodon-fetcher</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-reddit-fetcher"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source-reddit-fetcher</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-simplecast-fecther"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source-simplecast-fecther</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-telegram-fetcher"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source-telegram-fetcher</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-twitter-ads"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source-twitter-ads</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-twitter-fetcher"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source-twitter-fetcher</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-youtube-fetcher"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> source-youtube-fetcher</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&file=.editorconfig"><i class="fa-solid fa-file" style="color:#888;"></i> .editorconfig</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&file=.gitignore"><i class="fa-solid fa-file" style="color:#888;"></i> .gitignore</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&file=Jenkinsfile"><i class="fa-solid fa-file" style="color:#888;"></i> Jenkinsfile</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&file=README.md"><i class="fa-solid fa-file" style="color:#888;"></i> README.md</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&file=flake.nix"><i class="fa-solid fa-file" style="color:#888;"></i> flake.nix</a></li>
    
                        </ul>
                      </div>
                    </nav>
                <main class="col-md-9 ms-sm-auto col-lg-10">
                  <div class="container px-1 py-3">
        
<div class="mb-2" style="font-size:1.1rem;"><a href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=.">/</a> <a href="/cgi-bin/repo?id=z3NChsyDiwxer2uEABxFrLHuuqYdp&source=source-etherscan">source-etherscan</a> / README.md</div>
        <div class="list-group">
        <div class="list-group-item">
        <div class="mb-2" style="font-weight:bold;"><i class="fa-solid fa-file"></i> README.md</div>
        <pre style="margin:0; font-size:0.85rem; overflow-x:auto; color:#fafafa;"><span style="color:#666; user-select:none;"> 1</span>  # Etherscan Source
<span style="color:#666; user-select:none;"> 2</span>  
<span style="color:#666; user-select:none;"> 3</span>  ## Usage
<span style="color:#666; user-select:none;"> 4</span>  
<span style="color:#666; user-select:none;"> 5</span>  This Airbyte connector extracts data from the Etherscan API.
<span style="color:#666; user-select:none;"> 6</span>  
<span style="color:#666; user-select:none;"> 7</span>  - `WalletTransactions` -  Etherscan **Transactions** tab
<span style="color:#666; user-select:none;"> 8</span>  - `WalletInternalTransactions` - Etherscan **Internal Transactions** tab
<span style="color:#666; user-select:none;"> 9</span>  - `WalletTokenTransactions` - Etherscan **Token Transfers (ERC-20)** tab
<span style="color:#666; user-select:none;">10</span>  - `MinedBlocks` - Etherscan **Beacon Chain &gt; Produced Blocks** tab
<span style="color:#666; user-select:none;">11</span>  - `BeaconWithdrawals` - Etherscan **Beacon Chain &gt; Withdrawals** tab
<span style="color:#666; user-select:none;">12</span>  - `NativeBalance` - `ETH` balance as in the **Overview**
<span style="color:#666; user-select:none;">13</span>  - `TokenBalance` - ERC-20 token balance as in **TOKEN HOLDINGS**
<span style="color:#666; user-select:none;">14</span>  
<span style="color:#666; user-select:none;">15</span>  ## Data Backfill
<span style="color:#666; user-select:none;">16</span>  
<span style="color:#666; user-select:none;">17</span>  To fetch all of the transactions and beacon chain data from the beginning, you must:
<span style="color:#666; user-select:none;">18</span>  
<span style="color:#666; user-select:none;">19</span>  1. Set the `backfill` config variable to `True`
<span style="color:#666; user-select:none;">20</span>  2. Delete / drop the Airbyte tables and schema (**Optional**)
<span style="color:#666; user-select:none;">21</span>  3. Make sure that the Sync mode is `Full refresh | Append` mode, instead of `Full refresh | Overwrite`. **Overwrite** will cause the streams to run in parallel instead of sequentially.
<span style="color:#666; user-select:none;">22</span>  
<span style="color:#666; user-select:none;">23</span>  ## Local development
<span style="color:#666; user-select:none;">24</span>  
<span style="color:#666; user-select:none;">25</span>  ### Prerequisites
<span style="color:#666; user-select:none;">26</span>  
<span style="color:#666; user-select:none;">27</span>  From this connector directory, create a virtual environment:
<span style="color:#666; user-select:none;">28</span>  ```
<span style="color:#666; user-select:none;">29</span>  python -m venv .venv
<span style="color:#666; user-select:none;">30</span>  source .venv/bin/activate
<span style="color:#666; user-select:none;">31</span>  pip install -r requirements.txt
<span style="color:#666; user-select:none;">32</span>  ```
<span style="color:#666; user-select:none;">33</span>  
<span style="color:#666; user-select:none;">34</span>  ### Locally running the connector
<span style="color:#666; user-select:none;">35</span>  ```bash
<span style="color:#666; user-select:none;">36</span>  poetry run source-etherscan spec
<span style="color:#666; user-select:none;">37</span>  poetry run source-etherscan check --config secrets/config.json
<span style="color:#666; user-select:none;">38</span>  poetry run source-etherscan discover --config secrets/config.json
<span style="color:#666; user-select:none;">39</span>  poetry run source-etherscan read --config secrets/config.json --catalog sample_files/configured_catalog.json
<span style="color:#666; user-select:none;">40</span>  ```
<span style="color:#666; user-select:none;">41</span>  
<span style="color:#666; user-select:none;">42</span>  ### Locally running the connector docker image
<span style="color:#666; user-select:none;">43</span>  
<span style="color:#666; user-select:none;">44</span>  ```bash
<span style="color:#666; user-select:none;">45</span>  docker build -t airbyte/source-etherscan:dev .
<span style="color:#666; user-select:none;">46</span>  # Running the spec command against your patched connector
<span style="color:#666; user-select:none;">47</span>  docker run airbyte/source-etherscan:dev spec
<span style="color:#666; user-select:none;">48</span>  ```
<span style="color:#666; user-select:none;">49</span>  
<span style="color:#666; user-select:none;">50</span>  #### Run
<span style="color:#666; user-select:none;">51</span>  Then run any of the connector commands as follows:
<span style="color:#666; user-select:none;">52</span>  ```bash
<span style="color:#666; user-select:none;">53</span>  docker run --rm airbyte/source-etherscan:dev spec
<span style="color:#666; user-select:none;">54</span>  docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-etherscan:dev check --config /secrets/config.json
<span style="color:#666; user-select:none;">55</span>  docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-etherscan:dev discover --config /secrets/config.json
<span style="color:#666; user-select:none;">56</span>  docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/sample_files:/sample_files airbyte/source-etherscan:dev read --config /secrets/config.json --catalog /sample_files/configured_catalog.json
<span style="color:#666; user-select:none;">57</span>  ```
</pre>
        </div>
        </div>

</div>
</main>
</div>
</div>


</body>
</html>

