14 releases

new 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.0.1 Jun 15, 2022

#367 in Magic Beans

MIT and LGPL-2.0-or-later

13MB
63K SLoC

Rust 53K SLoC // 0.2% comments Python 8K SLoC // 0.1% comments Shell 607 SLoC // 0.2% comments JavaScript 448 SLoC // 0.2% comments Vue 228 SLoC // 0.3% comments SQL 187 SLoC TypeScript 107 SLoC // 0.1% comments INI 76 SLoC // 0.9% comments Solidity 54 SLoC // 0.2% comments

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

~255MB
~4.5M SLoC