Hi All,
I am looking for some help with a question about writing a smart contract function.
If I create a basic withdraw function, anyone would be able to call this - so how could I go about allowing users to call this function from within the dapp and having the smart contract only allow calls from within the dapp, which would allow users to withdraw a set amount from the contract and the set amount being set in a database