Step 1. Create custom permission
cleos set account permission YOURACCOUNT claim CLAIM_PUBLIC_KEY active -p YOURACCOUNT@active
Step 2. Link action to permission
cleos set action permission YOURACCOUNT eosio claimrewards claim -p YOURACCOUNT@active
Claiming the rewards
cleos system claimrewards YOURACCOUNT -p YOURACCOUNT@claim
Removing the permission
cleos set account permission YOURACCOUNT claim NULL active -p YOURACCOUNT@active
cleos set action permission YOURACCOUNT eosio claimrewards NULL -p YOURACCOUNT@active
Congratulations @eluzgin! You have received a personal award!
1 Year on Steemit
Click on the badge to view your Board of Honor.
Do not miss the last post from @steemitboard:
SteemitBoard World Cup Contest - The results, the winners and the prizes
Thanks for this guide, very helpful. I am trying to set up a permission to just for voting purpose. But i am struggle to get it to work.
Here's what i did
cleos set account permission ACCOUNT_NAME voter PUBLIC_KEY active -p ACCOUNT_NAME@active
cleos set action permission ACCOUNT_NAME eosio voteproducer voter -p ACCOUNT_NAME@active
I then try to vote with this command:
cleos system voteproducer prods ACCOUNT_NAME eosauthority -p ACCOUNT_NAME@voter
I keep getting a response as:
transaction declares authority '{"actor":"ACCOUNT_NAME","permission":"active"}', but does not have signatures for it.
what am i doing wrong here? any help would be much appreciated.
@tinh did you ever figure it out? I'm having the same issue as well after following the instructions above.