The optimism-sdk is on maintainance mode. It's not listed in their Npm, but it is on their github readme. They recommend going for op-viem.
This works fine for us because we use viem, however, op-viem requires viem 2.x and we use viem 1.x... and we can't upgrade to that version because that breaks RainboxKit 1.x. We need for the publish of Rainbox Kit 2.x to upgrade viem and wagmi to 2.x and then replace the SDK for the new library
The optimism-sdk is on maintainance mode. It's not listed in their Npm, but it is on their github readme. They recommend going for op-viem.
This works fine for us because we use
viem
, however,op-viem
requiresviem 2.x
and we useviem 1.x
... and we can't upgrade to that version because that breaksRainboxKit 1.x
. We need for the publish ofRainbox Kit 2.x
to upgradeviem
andwagmi
to2.x
and then replace the SDK for the new librarySteps
RainbowKit
,Viem
andWagmi
to2.x
https://github.com/BVM-priv/ui-monorepo/pull/106optimism-sdk
withop-viem
. We may need an equivalent to op-wagmi or develop our own wrappersBlocked until rainbox kit v2 is published