--unlock "{address},{address}"
option which takes a comma-separated list of accounts (in hex or index) as an argument so you can unlock the accounts programmatically for one session. This is useful if you want to use your account from dApps via RPC. --unlock
will unlock the first account in the list. This is useful when you created your account programmatically, you do not need to know the actual account to unlock it.ken
, it can be helpful to store commonly used functions to be called later.checkAllBalances()
function definition to a file on your computer. For example, /Users/username/klayload.js
. Then load the file from the interactive console: