Upgrade VeChain Kit from 1.x to 2.x
In 2.0 we replaced connex with sdk.
useConnex()
is not exported anymore, in favour of useThor() and the signer object can be used to sign transactions following the SDK patterns.
It might require to rm -rf node_modules yarn.lock && yarn
useCallClause
hook now provides type safe contract call clause with return types.
The following hooks were also removed in order to improve permeances.
Where you using any of those hooks? Please reach us on Github to add them back
Last updated
Was this helpful?