
Security News
Official Go SDK for MCP in Development, Stable Release Expected in August
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
API Calls are now included in the dune free tier, which makes this library obsolete.
You should rather follow the dune documentation to make programmatic calls to the Dune API.
Unofficial Dune Analytics Typescript Client.
Dune Analytics is a great tool for querying blockchain data. However, it is currently only browser based which is not very developer friendly. An official API is being developed but is only opened in private beta. This library aims to provide an alternative way to integrate Dune Analytics into your Typescript projects.
pnpm add dune-ts
yarn add dune-ts
npm install dune-ts
Define DUNE_PASSWORD
and DUNE_USERNAME
environment variables.
Alternatively, you can pass the credentials to the Dune
constructor.
Setup: npm run setup
Check available scripts: nps
Fetch Query Results: nps "query -q <query-id> -u <username> -p <password>"
Dune.query
requires a queryId
(can be looked up in the URL of the query https://dune.com/queries/<queryId>
) and accepts an optional array describing your query parameters (that you defined in the online query editor).
{ key: 'parameterName', value: '123', type: 'number' }
{ key: 'parameterName', value: '123', type: 'text' }
{ key: 'parameterName', value: new Date(), type: 'datetime' }
import { Dune } from 'dune-ts'
const dune = new Dune({ password, username })
const { columns, data } = await dune.query(queryId, [
{ key: 'key', value: 'value', type: 'text' },
])
This is an experimental library. It'll break as soon as Dune Analytics change their graphql endpoints (URL or parameters).
This isn't free of bugs either. Contributions are welcome!
Based on itzmestar/duneanalytics
FAQs
Unofficial Dune Analytics Typescript Client
The npm package dune-ts receives a total of 7 weekly downloads. As such, dune-ts popularity was classified as not popular.
We found that dune-ts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.