7.2 Executing the Contract
After deployment:
Click restrictedAction
If called using the same wallet that deployed the contract → success
If using another wallet → transaction fails
This demonstrates how access control is enforced.
Success message from wallet interaction

Previous7.1 Writing and Deploying
Next8. Smart contract Example: Payment Contract (Sending and Receiving FreCx)
Last updated