Doma Marketplace
Last updated
Last updated
Doma Marketplace is provided to simplify trading of tokenized names on-chain. It has following components:
for on-chain trading using .
for marketplace-related events.
Marketplace-related data (listings, offers) in .
Syndicated listings and offers from external marketplaces (OpenSea).
to simplify integrations of Doma Marketplace.
It's highly recommended to use to interact with , since it abstracts underlying complexities of working with Seaport Protocol, granting on-chain approvals, and computing fees.
When not using , library is recommended (which is used by SDK under the hood).
Doma Orderbook API enforces inclusion of following fees into consideration items:
Doma Protocol Fee
Receiver Address: TBD
Percentage: TBD
Name Token Royalties. Can be fetched by calling method on an .
OpenSea Fee (only when creating a listing/offer on OpenSea orderbook). Collection fee value can be fetched using (required fee values from response should be included).
Since OpenSea API will also include royalty items, they should be filtered out to prevent double inclusion into considerations.
Currently, following currencies are supported on Doma Marketplace:
Mainnets:
TBD
Testnets:
Sepolia:
Gas Token (ETH)
USDC: 0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238
Base Sepolia:
Gas Token (ETH)
USDC: 0x036CbD53842c5426634e7929541eC2318f3dCF7e
Supported currencies can be fetched programmatically using Currency API (TBD, in development).
Since SeaPort doesn't support making offers in ETH (as it's a native gas token, not an ERC-20), ETH should be wrapped to wETH using a wrapper contract.
Supported wETH contract addresses:
Mainnets:
TBD
Testnets:
Sepolia: 0x7b79995e5f793a07bc00c21412e50ecae098e7f9
Base Sepolia: 0x4200000000000000000000000000000000000006
To simplify fees calculation, Fee API is provided (TBD, in development). When using , fees are calculated automatically.
When using , wrapping is performed automatically.