17 releases

0.1.48 Feb 28, 2025
0.1.25 Aug 10, 2024
0.1.24 Apr 10, 2024
0.1.23 Mar 28, 2024
0.1.21 Nov 20, 2023

#153 in #decentralized

Download history 17/week @ 2025-06-25 7/week @ 2025-07-02 3/week @ 2025-07-09 7/week @ 2025-07-16 13/week @ 2025-07-23 4/week @ 2025-08-06 26/week @ 2025-08-20 9/week @ 2025-08-27 19/week @ 2025-09-03 13/week @ 2025-09-10 20/week @ 2025-09-17 25/week @ 2025-09-24 23/week @ 2025-10-01 3/week @ 2025-10-08

74 downloads per month
Used in 6 crates

MIT license

440KB
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

~59–81MB
~1.5M SLoC