Files
Matt Hess aa716113f5 Add STAKE transaction creation and fix CLSAG verification
STAKE transactions:
  - Add buildStakeTransaction() for creating stake transactions
  - Add createStakeTransaction() wallet API for staking SAL/SAL1
  - Extend serializeTxPrefix() with Salvium-specific fields (txType,
    amount_burnt, asset types, return address, protocol_tx_data)
  - Support STAKE_LOCK_PERIOD from network config (21600 mainnet, 20 testnet)

  CLSAG fixes:
  - Fix challenge hash to include full ring data matching C++ implementation
  - Update both signing and verification to use consistent hash format
2026-01-22 03:10:40 +00:00

30 lines
953 B
Plaintext

Salvium JS
Copyright © 2026 Matt Hess
This product includes software developed as part of the Salvium project.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Trademarks:
Salvium™ and related names, logos, and branding are trademarks of the
Salvium project and are not licensed under the Apache License.
Third-Party Components:
This project includes or depends on third-party software components:
@noble/ed25519 - Optimized Ed25519 elliptic curve operations
Copyright (c) 2019 Paul Miller (https://paulmillr.com)
Licensed under the MIT License
https://github.com/paulmillr/noble-ed25519
RandomX - Proof-of-work algorithm
Licensed under its respective license
Such licenses are provided in the relevant source files or documentation.
Disclaimer:
This software is provided "AS IS", without warranty of any kind, express
or implied. Use at your own risk.