# Protocol-Coupled Domain Logic

> Domain logic written directly against a specific protocol, so changing the protocol means rewriting the core.

Record: `lexicon:protocol-coupled-domain-logic`
Kind: anti-pattern
Layer: [Resource Core](https://banes-lab.com/records/layer/resource-core.md)
Canonical: https://banes-lab.com/ontology/lexicon#lexicon-protocol-coupled-domain-logic

Listed in [Lexicon terms](https://banes-lab.com/api/records/lexicon.md), after [Protocol Swap](https://banes-lab.com/records/lexicon/protocol-swap.md) and before [Protocol-Specific Features](https://banes-lab.com/records/lexicon/protocol-specific-features.md).

## Category

- [Portability / Infrastructure / Deployment](https://banes-lab.com/records/lexicon-category/portability-infrastructure-deployment.md)

## Negated by

- [Protocol Independence](https://banes-lab.com/records/architecture/protocol-independence.md)

## Linked from

- [Portability / Infrastructure / Deployment](https://banes-lab.com/ontology/principles/architecture-category-portability-infrastructure-deployment.md)
