How To Link Permission

Goal

Link a permission to an action of a contract

Before you begin

  • Install the currently supported version of arisecli
  • Understand the following:
  • What is an account
  • What is permission level
  • What is an action

Steps

Link a permission level permlvl to the action transfer of contract hodlcontract

arisecli set action permission alice hodlcontract transfer permlvl