0x
Configuration
Use the zeroX factory since JavaScript identifiers cannot start with a number.
import { createConfig, zeroX } from "@spandex/core";
export const config = createConfig({
providers: [
zeroX({
// required!
apiKey: "YOUR_0X_API_KEY",
// If you have negotiated surplus sharing with 0x, override negotiatedOptions
// negotiatedFeatures: ["integratorSurplus"],
}),
// ...
],
});