x402 icon indicating copy to clipboard operation
x402 copied to clipboard

Question about wagmi dependency with non-commercial @walletconnect/ethereum-provider license

Open jldec opened this issue 2 months ago • 1 comments

I raised this in the wagmi repo (see below), but since it may impact x402 users, am posting the same issue here.

This x402 package currently depends on wagmi which includes @walletconnect/ethereum-provider.

Here's the PR from Aug 20 with the license change https://github.com/WalletConnect/walletconnect-monorepo/pull/6867


From https://github.com/wevm/wagmi/issues/4835

I noticed that the license for the @walletconnect/ethereum-provider is non-commercial.

This provider is bundled as a dependency of @wagmi/connectors which is MIT licensed.

Would it make sense to distribute this provider as a separate package?

jldec avatar Oct 24 '25 12:10 jldec

Fwiw, the version of @reown/appkit at 1.7.8 which Wagmi depends on contains a permissive Apache license, not the updated non-commercial license. We (wagmi contributors) are working with them on revising the license for versions post-1.8.0.

jxom avatar Oct 29 '25 05:10 jxom

Thanks for the clarification @jxom, that makes sense.

Here's the current dependency tree and github release links in case anyone else wants to check this.

x402 0.7.1
└─┬ wagmi 2.19.2
  └─┬ @wagmi/connectors 6.1.3
    └─┬ @walletconnect/ethereum-provider 2.21.1
      └── @reown/appkit 1.7.8

jldec avatar Nov 08 '25 11:11 jldec