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.
Click “Add Policy” on the “My Policies” page or from the 'Policies Library" page.
Select the "EOA Only" policy option.
Set Policy Configuration: Select the EOA Only policy, the network, and the contracts you want to protect.
Confirm and deploy the policy, then Sign and wait for the confirmation that the policy has been activated:
Once activated, you will see the EOA Policy active in the “My Policies” page:
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.
Last updated