Releases: 0xProject/wdk-protocol-swidge-0x
Releases · 0xProject/wdk-protocol-swidge-0x
Release list
v0.1.0
Initial release of @0x/wdk-protocol-swidge-0x — a WDK swidge protocol module for EVM token swaps via the 0x Swap API v2.
Added
ZeroExProtocolextendingSwidgeProtocolfrom@tetherto/wdk-wallet.quoteSwidge: indicative price via the 0x Swap API v2 AllowanceHolder/priceendpoint.swidge: swap execution via/quote, automatic ERC-20 approval, and transaction submission.getSwidgeStatus: on-chain receipt polling via the bound wallet account.getSupportedChains: 20 0x-supported EVM chains.getSupportedTokens: throwsNotImplementedError(0x accepts any liquid ERC-20 by address).- Fee mapping:
totalNetworkFee→network,zeroExFee→protocol,integratorFee→affiliate. maxNetworkFeeBpsandmaxProtocolFeeBpsfee caps at both protocol and per-call level.- Full unit test coverage for all public methods and error paths.
- Apache 2.0 license.
Published to npm with provenance attestation.