Structs, enums, interfaces, errors, and constants for Seaport 1.6. seaport-core compiles them into the deployed Seaport contract, and other Seaport repos and integrations import them.
The source in src/ matches the deployed Seaport 1.6 bytecode and does not change.
With npm:
npm install seaport-typesThen import from seaport-types/src/....
As a Foundry submodule:
forge install ProjectOpenSea/seaport-typesThen add the remapping seaport-types/=lib/seaport-types/.
Install Foundry v1.9.0, then:
forge build
scripts/install-tools.sh # once: pinned lint tools into .tools/bin
scripts/lint.sh check # or fix
.tools/bin/lefthook install # optional pre-commit hookscripts/install-tools.sh downloads each tool from its GitHub release and checks it against a pinned SHA-256, so linting needs nothing from npm.
- seaport: tests, docs, and the deployed
Seaportwrapper - seaport-core: the core Seaport 1.6 contracts
- seaport-js: TypeScript library for Seaport
- seaport-sol: Solidity helpers for building Seaport orders in Forge scripts and tests