Which would the best way for a contract to manage access to my public functions (entrypoints) on my smart contract?
I have this entrypoint but I want only the "admin" to be able to access it.
public stateful entrypoint add_string_to_list(my_element:string) =
put(state{my_list=my_element::state.my_list})
First thing came to my mind was to manage a list of allowed addresses and add address parameter but still it won't ensure that who is calling is who I want.