EOA Only policy

This policy is designed to restrict smart contract interactions exclusively to Externally Owned Accounts (EOAs), controlled by private keys and not by contract code. This is particularly beneficial for protocols that are primarily designed for direct user interaction. The policy allows inter-contract interactions but limits initiation access only to EOAs, thus securing your contracts against unauthorized executions by other contracts.

Deploy EOA Only policy:

Go to “Firewall” in the side Menu on the left to access the Firewall page.

Policies dashboard, empty

Click “Add Policy” on the “My Policies” page or from the 'Policies Library" page.

Policies library

Select the "EOA Only" policy option.

Add Policy => Policy configuration window

Set Policy Configuration: Select the EOA Only policy, the network, and the contracts you want to protect.

EOA config filled in

Confirm and deploy the policy, then Sign and wait for the confirmation that the policy has been activated:

EOA policy signature

Once activated, you will see the EOA Policy active in the “My Policies” page:

My policies , with active EOA visible

Expand the policy to see the policy on-chain address, the networks, and the assets it's protecting. You can also remove the policy or edit it if needed. Use the toggle to deactivate or activate the policy.

EOA policy edit button, and active toggle

Last updated