0.0.3 • Published 3 years ago

@b0dhidharma/stealth-txs v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Bonded Stealth TX

name is not final, all suggestions are welcome

How does it work

  • keeper calls bond with msg.value
  • keeper calls contract with a random _stealthHash
  • contract uses validateStealthTx modifier to validateHash with msg.sender, hash and penalty
    • if valid (no one reported it) execution continues.
    • if invalid (hash was reported) msg.sender loses it's bond and execution stops.

Improvements:

  • update README (how does it work)

  • tests

  • check remaining gas on validate hash to avoid gasLimit-error exploit to avoid getting penalized

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago