Skip to content

v0.23.0 - Integrator attribution

Choose a tag to compare

@johnrjj johnrjj released this 21 Apr 01:52
· 36 commits to main since this release

Adds support for integrator attribution, so integrator fill volume can show up in dune dashboards

Opt-in by default, of course

Uses the 256bit nonce, divides it into a [128bit attribution][128bit random nonce for order], and that will be the canonical 0x v4 standard schema for nonces.

To add an app identifier to your app, instantiate the sdk with an appId that is an unique positive integer (up to 2**126 -1)

const nftSwapSdk = new NftSwapV4(
  provider,
  signer,
  chainId,
  { appId: '69420' },
)