2 releases

0.1.48 Feb 28, 2025
0.1.46 Feb 24, 2025

#4 in #reputation

Download history 87/week @ 2025-02-18 200/week @ 2025-02-25 32/week @ 2025-03-04 6/week @ 2025-03-11 9/week @ 2025-03-18

334 downloads per month
Used in 10 crates (9 directly)

MIT license

450KB
10K SLoC

Redgold

License: MIT Dev

Website | Contributing | Dev Setup | Whitepaper | Run A Node | Security Procedures

Redgold is a crypto portfolio contract platform designed around data lake transforms and executors. Uses multiparty native contracts for asset management. Primary use case is ETFs & Portfolio target models (expressing a desired portfolio allocation as a function and having validators automatically fulfill it,) but the platform is designed to be general purpose as a decentralized data lake and relational algebra compute engine for crypto related contracts.

Heavily inspired by Spark and pandas/polars like data transformations on conventional parquet data lakes, with the key distinguishing factor being the ability to support multi-tenant compute with arbitrary secure UDFs compiled by anyone. WASM executors are used for secure remote code execution to chain together transforms operating on SQL-like data loading functions as inputs. Protobuf is used for relational algebra descriptors and for raw signature operations and requests. Arrow is used as a cross-memory format for WASM invocations, with sqlite tables for frequent access and parquet tables for long-lived data indexes. All operations are translated to work with Kademlia distances. ACCEPT consensus protocol is the most similar to the demonstrated primary optimization technique. For a full technical description and motivation of this project please refer above to the whitepaper.

  • This project is still in experimental development but has a live mainnet.

Dependencies

~24–40MB
~617K SLoC