🦆
BlockDuck
  • BlockDuck
    • Introduce
    • Why BlockDuck
  • Getting Started
    • Quickstart
    • How to build
    • Try your first query
    • Supported Blockchains
  • Functionality
    • Basic EVM structure table function
      • Blocks
      • Transactions
      • Logs
      • Traces
      • Traces v2
      • Latest Block Number
    • Customized EVM contact table function
      • Contract Events
      • Contract view function
    • Bitcoin table function
      • Blocks
      • Transactions
      • Outputs
      • Inputs
    • Parameter Setting
      • Verbose logging
      • Configs setting
  • Types
    • Types Mapping between DuckDB and EVM
  • Examples
    • Python examples
      • Hourly ERC20 transfer volumn monitor page
Powered by GitBook
On this page
  • Install DuckDB
  • Install BlockDuck
  1. Getting Started

Quickstart

PreviousWhy BlockDuckNextHow to build

Last updated 3 months ago

Install DuckDB

First, you need to install DuckDB first, it is pretty easy, you can check this: .

DuckDB is an in-process database system and offers client APIs for several languages: .

The compatibility between BlockDuck and BlockDB varies across versions. Refer to the list below to identify the correct BlockDB version compatible with your chosen BlockDuck.

Version of BlockDuck
Version of DuckDB

v0.5.0

v1.1.3

v0.6.0

v1.2.0

Install BlockDuck

BlockDuck is one of available DuckDB community , so we can use INSTALLand LOAD to install it easily.

INSTALL blockduck FROM community;
LOAD blockduck;

Next, we can verify whether the installation was successful by querying the version.

D select * from blockduck_version();
┌─────────┐
│ version │
│ varchar │
├─────────┤
│ v0.6.0  │
└─────────┘

duckdb
clients api overview
extensions