iotaledger / iota-core

Apache License 2.0
59 stars 12 forks source link

Evil Accounts spammer #206

Closed karimodm closed 8 months ago

daria305 commented 9 months ago

TODO:

Evil spammer fixes:

Fix issues regarding REST API:

daria305 commented 8 months ago

Example of planned script usage

./evil-spammergo \
accounts \
create --alias A --amount 1000 --noBIF true \ # noBIF - creates account that is not able to issue
create --alias B --amount 500 --implicit true \
convert --alias B \  # transition to account from implicit
allot --from A --to B --amount 100 \ # if no from then get mana from faucet output, from can be alias of existing account
update --alias B --bik hexkey --addmana 1000 --addtoken 1000 --expiryslot 15 \
destroy --alias A --expirySlot 15 \ # if no expiry then use soonest possible
...
delegate --amount 100 --to A --from B \# we dont keep track of non account outputs
stake  --alias A --amount 100 --fixedcost 100 --startepoch 100 --endepoch 120  \ # if no startepoch start sonnest possible epoch, no endEPoch then stake infinitely,

or togheter with evil spammer functionality

./evil-spammergo accounts \
create --alias A --amount 1000 --noBIF true \ # noBIF - creates account that is not able to issue
create --alias B --amount 500 --implicit true \
# use created above accounts
./evil-spammer basic  -spammer tx -rate 1 -duration 10s -account A
./evil-spammer basic  -spammer tx -rate 1 -duration 10s -account B