Home

Awesome

dbt_datawaves

What does this dbt package do?

This dbt package creates models on top of Datawaves Decoded Projects Data that:

Abstractions

The pre-built abstractions data models can be divided into two categories. The project abstractions are project-level models built on top of the Decoded Projects Data in Datawaves. And the sector abstractions combine models from multiple projects into one table representing a domain, e.g., NFT.

Project Models

ProjectModelsdescriptionSupported Chains
ensens_registrationsEach record represents a registration on ENSEthereum
ensens_reverse_registrarsEach record represents a reverse registrar on ENSEthereum
openseaopensea_tradesEach record represents a trade in OpenSeas, enriched with USD price of the trade.Ethereum
cryptopunkscryptopunks_tradesEach record represents a trade in CryptoPunksMarket, enriched with USD price of the trade.Ethereum

Sector Models

SectorModelsdescriptionSupported Chains
nftnft_tradesEach record represents a trade, enriched with USD price of the trade.Ethereum
nftnft_mintsEach record represents an ERC721/ERC1155 token that has been minted.Ethereum
erc20erc20_ethereum_transfersEach record represents an ERC20 token transfer event.Ethereum
erc721erc721_ethereum_transfersEach record represents an ERC721 token transfer event.Ethereum
erc1155erc1155_ethereum_transfersEach record represents an ERC1155 token transfer event.Ethereum

Project using this package

How do I use this dbt package?

Prerequisites

To use this dbt project, you must have the following:

Install the package

Include in your packages.yml:

packages:
  - git: "https://github.com/datawaves-xyz/dbt_datawaves"
    revision: "0.0.1"

Contribute

Additional contributions to this package are very welcome! Please create issues or open PRs against main.

Database support

This package has been tested on Databricks.