How to set special claim keys for Block Producer

in #eos6 years ago

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

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 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.

Coin Marketplace

STEEM 0.26
TRX 0.11
JST 0.032
BTC 64799.61
ETH 3102.94
USDT 1.00
SBD 3.83