<!-- Canonical: https://docs.linea.build/stack/how-to/forced-transactions -->

> For the complete Linea documentation index, see [llms.txt](/llms.txt).
> Agents can fetch this page as Markdown at [https://docs.linea.build/stack/how-to/forced-transactions.md](https://docs.linea.build/stack/how-to/forced-transactions.md).

# Enable forced transactions

Status

🚧 Forced transactions are not yet live. This documentation describes the intended design.

## Enable forced transactions

Support for [forced transaction](/protocol/forced-transactions) submission is not enabled by default. To enable forced transaction submission for smart contracts on your Linea instance, you need to:

1.  Deploy the [`AddressFilter`](https://github.com/Consensys/linea-monorepo/blob/feat/tx-gateway/docs/forced-transactions-architecture.md#3-addressfilter) contract. It maintains a list of addresses that cannot participate in forced transactions. This is used for various purposes, including filtering EVM precompiles as destination addresses and ensuring compliance with regulatory obligations such as anti-money laundering (AML) and know-your-customer (KYC) requirements.
2.  Deploy the [`ForcedTransactionGateway`](https://github.com/Consensys/linea-monorepo/blob/feat/tx-gateway/docs/forced-transactions-architecture.md#1-forcedtransactiongateway) contract. It is the user-facing contract that validates and submits forced transactions.
3.  Have the `DEFAULT_ADMIN_ROLE` on the Linea Rollup contract, or access to the administrator account that can grant or configure it.

tip

Note that the `AddressFilter` contract is required to [initiate your Linea instance](/stack/how-it-works/core-components#onchain-system-contracts), so this dependency should already be met.

Once both contracts are deployed, the user who has the `DEFAULT_ADMIN_ROLE` on the smart contract that performs the Linea Rollup and L1 Message Service access control operations must grant the relevant `FORCED_TRANSACTION_SENDER_ROLE` to the `ForcedTransactionGateway` contract, allowing the submission of forced transactions.

## Next steps

-   Learn more about [forced transactions](/protocol/forced-transactions).
-   Learn how to [submit forced transactions](/protocol/how-to/forced-transactions) on Linea Public Mainnet.
