Files
Spencer StockandGitHub 3e96c7152d Add dataSuffix to pay() with input validation (#254)
* Add dataSuffix support to pay() and attribution validation

- Add optional `dataSuffix` field to `PaymentOptions` type (0x-prefixed hex)
- Thread dataSuffix through pay() -> executePaymentWithSDK -> createEphemeralSDK
- Set attribution.dataSuffix on SDK preference when dataSuffix is provided
- Add validateDataSuffix() to both sdkManager and base-account utils
- Remove fixed 16-byte length constraint from makeDataSuffix
- Update README and payment README with dataSuffix usage examples
- Add test coverage for dataSuffix passthrough and validation

Made-with: Cursor

* chore: apply formatter fix to pay.ts destructuring

Made-with: Cursor

* chore: remove 16-byte dataSuffix reference from testapp SDKConfig

Made-with: Cursor

* format

* unify type to viem Hex
2026-03-04 03:11:37 -07:00
..
2025-07-10 09:07:33 -07:00
2024-12-10 12:27:22 -07:00