Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.63 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.63 KB

tig-algorithms

A Rust crate that hosts algorithm submissions made by Innovators in TIG.

Each submissions is committed to their own branch with the naming pattern:

<challenge_name>\<algorithm_name>

Getting Started with Innovating

See the guide

Downloading an Algorithm

WASM blobs for an algorithm are stored in the wasm subfolder and can be downloaded via:

https://raw.githubusercontent.com/tig-foundation/tig-monorepo/<branch_name>/tig-algorithms/wasm/<branch_name>.wasm

Algorithm Submission Flow

  1. New submissions get their branch pushed to a private version of this repository
  2. CI will compile submissions into WASM
  3. A new submission made during round X will have its branch pushed to the public version of this repository at the start of round X + 2
  4. At the start of round X + 4, the submission becomes active, where benchmarkers can use the algorithm for benchmarking
  5. Every block, algorithms with at least 25% adoption earn rewards and a merge point
  6. At the end of a round, a algorithm from each challenge with the most merge points, meeting the minimum threshold of 5040, gets merged to the main branch
    • Merged algorithms receive rewards every block where their adoption is greater than 0%

License

Each algorithm submission will have 5 versions, each under a specific license:

  • commercial.rs will be under TIG commercial license
  • open_data.rs will be under TIG open data license
  • benchmarker_outbound.rs will be under TIG benchmarker outbound license
  • innovator_outbound.rs will be under TIG innovator outbound license
  • inbound.rs will be under TIG inbound license