Skip to content

About

Standalone structs and interfaces related to Seaport

Resources

Stars

12 stars

Watchers

6 watching

Forks

Repository files navigation

seaport-types

npm

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.

Install

With npm:

npm install seaport-types

Then import from seaport-types/src/....

As a Foundry submodule:

forge install ProjectOpenSea/seaport-types

Then add the remapping seaport-types/=lib/seaport-types/.

Development

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 hook

scripts/install-tools.sh downloads each tool from its GitHub release and checks it against a pinned SHA-256, so linting needs nothing from npm.

Related repositories

  • seaport: tests, docs, and the deployed Seaport wrapper
  • 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

About

Standalone structs and interfaces related to Seaport

Resources

Stars

12 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages