Building distributed applications on the EOS blockchain presents several challenges including transaction speed, transaction fees, account delegation, and upgrading smart contracts. The document discusses how EOS aims to address these challenges through features like its transaction speed, low transaction fees, and ability to delegate accounts and upgrade contracts. It also covers best practices for using EOS, such as separating accounts from private keys and understanding how RAM works for decentralized applications.
9. 9
Account != Private Key
#cleos set action permission @ACCOUNT @CONTRACT ACTION_NAME PERMISSION_NAME
#Link a `voteproducer` action to the 'vote' permissions
cleos set action permission sandwichfarm eosio.system voteproducer voting -
p sandwichfarm@voting
#Now can execute the transaction with the previously set permissions.
cleos system voteproducer approve sandwichfarm someproducer -p
sandwichfarm@voting