3 releases

0.1.48 Feb 28, 2025
0.1.46 Feb 23, 2025
0.1.45 Feb 23, 2025

#191 in #decentralized

Download history 41/week @ 2025-09-11 40/week @ 2025-09-18 68/week @ 2025-09-25 34/week @ 2025-10-02 17/week @ 2025-10-09 48/week @ 2025-10-16 36/week @ 2025-10-23 16/week @ 2025-10-30 13/week @ 2025-11-06 32/week @ 2025-11-13 27/week @ 2025-11-20 23/week @ 2025-11-27 19/week @ 2025-12-04 20/week @ 2025-12-11 25/week @ 2025-12-18 19/week @ 2025-12-25

87 downloads per month
Used in 12 crates (7 directly)

MIT license

410KB
9K 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

~27–47MB
~648K SLoC