chaindexing / chaindexing-rs Goto Github PK
View Code? Open in Web Editor NEWIndex any EVM chain and query in SQL
License: Apache License 2.0
Index any EVM chain and query in SQL
License: Apache License 2.0
The engine should be able to intelligently prune processed and stale events.
Currently, we make blocking RPC calls to fetch blocks for ingested events. This could be a performance bottleneck for DApps that do not require block_timestamp
values. It would be better to have an opt-out configuration to allow drastic latency reduction in such DApps.
Currently, this library uses tokio-postgres
and diesel
as the RDBMS clients. We need to pick one for obvious reasons.
ANALYSIS (WIP)
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
This repository currently has no open or pending branches.
chaindexing-tests/Cargo.toml
ethers 2.0
futures-util 0.3
dotenvy 0.15
diesel 2
rand 0.8.5
tokio 1.37
chaindexing/Cargo.toml
async-trait 0.1
bb8 0.8
derive_more 0.99
chrono 0.4
diesel 2
diesel-async 0.4
pin-project-lite 0.2.14
ethers 2.0
serde 1.0
serde_json 1
tokio-postgres 0.7
tokio 1
uuid 1
futures-core 0.3
futures-util 0.3
docker-compose.yml
postgres 16
.github/workflows/ci.yml
actions/checkout v4
actions/checkout v4
actions/checkout v4
Swatinem/rust-cache v2
actions/checkout v4
Action: Investigate tokio-postgres
.
Analysis: Timestamp fields should be encoded as serde::Value::String("\"<value>\"")
-- the inner extra quotes are essential for serde
to reach an agreement with chrono
when deserializing. However, it seems tokio-postgres
somehow gets rid of those extra quotes when converting a Row
to its equivalent serde::Value
.
Currently, blocks are fetched for the logs in a blocking fashion. It will greatly improve the ingestion performance if we fetched them concurrently instead.
This will help guide users when they have written an invalid SQL syntax. To stay language agnostic, it must be runtime-based. Eventually, after most libraries have been built, we can expose an extra macro, or even sqlx
's parser, to be used at compile time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.