Files
salvium-rs/CONTRIBUTING.md
Matt Hess 714721874e Add RandomX proof-of-work implementation with WASM acceleration
- Full RandomX implementation (light mode + full mode)
   - WASM-accelerated Argon2d cache init (37x faster than pure JS)
   - WASM-accelerated SuperscalarHash with SIMD support
   - Parallel dataset generation using worker threads (8 workers)
   - Light mode: ~4s init, Full mode: ~8min init
   - Mining utilities (difficulty calculation, block construction)
   - Progress callbacks for long-running operations

   Performance targets 2023+ platforms (WASM SIMD: Chrome 91+,
   Firefox 89+, Safari 16.4+, Node 16.4+)
2026-01-15 19:19:27 +00:00

1.3 KiB

Contributing to salvium-js

Thank you for your interest in contributing to salvium-js.

This project is dual-licensed:

  • Open Source: Apache License, Version 2.0
  • Commercial: Available under separate commercial terms

Contribution License Agreement

By submitting a contribution (including code, documentation, or other materials), you agree to the following:

  1. You grant the Salvium project and its maintainers a perpetual, worldwide, irrevocable, royalty-free license to use, reproduce, modify, distribute, and relicense your contribution as part of the project.

  2. Your contribution is licensed under the Apache License, Version 2.0.

  3. You acknowledge and agree that your contribution may also be relicensed by the project maintainers under alternative terms, including commercial licenses.

  4. You represent that you have the legal right to submit the contribution and that it does not infringe on the rights of any third party.

No Trademark Grant

Contributing to this project does not grant permission to use the Salvium name, logo, or trademarks.

Code Style and Scope

  • Keep changes focused and minimal
  • Avoid introducing unnecessary dependencies
  • Cryptographic and consensus-related changes may require additional review

By submitting a pull request, you acknowledge that you have read and agree to these terms.