How to set special claim keys for Block Producer

in #eos3 years ago

Step 1. Create custom permission

cleos set account permission YOURACCOUNT claim CLAIM_PUBLIC_KEY active -p [email protected]

Step 2. Link action to permission

cleos set action permission YOURACCOUNT eosio claimrewards claim -p [email protected]

Claiming the rewards

cleos system claimrewards YOURACCOUNT -p [email protected]

Removing the permission

cleos set account permission YOURACCOUNT claim NULL active -p [email protected]
cleos set action permission YOURACCOUNT eosio claimrewards NULL -p [email protected]

Credits to Igor at EOS Rio for providing these instructions: https://steemit.com/@eosrio
Sort:  

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

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

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 [email protected]

cleos set action permission ACCOUNT_NAME eosio voteproducer voter -p [email protected]

I then try to vote with this command:
cleos system voteproducer prods ACCOUNT_NAME eosauthority -p [email protected]

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.

Coin Marketplace

STEEM 0.49
TRX 0.07
JST 0.055
BTC 38825.76
ETH 2764.23
USDT 1.00
SBD 6.99