0.3.1 • Published 3 years ago

@lbertenasco/bonded-stealth-tx v0.3.1

Weekly downloads
2
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.3.1

3 years ago

0.3.0

3 years ago

0.0.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago