Viem has examples for many clients in their public repo - https://github.com/wevm/viem/blob/main/src/clients/createTestClient.ts - https://github.com/wevm/viem/blob/main/src/clients/createWalletClient.ts - https://github.com/wevm/viem/blob/main/src/clients/createPublicClient.ts Which seem to compile without the `as unknown` patch that we do https://github.com/yeagerai/genlayer-js/blob/95ae405ab75cb57200401588f373c04e3538a90f/src/client/client.ts#L21-L38 We should follow a similar approach so that we have better TypeScript usage
Viem has examples for many clients in their public repo
Which seem to compile without the
as unknownpatch that we dohttps://github.com/yeagerai/genlayer-js/blob/95ae405ab75cb57200401588f373c04e3538a90f/src/client/client.ts#L21-L38
We should follow a similar approach so that we have better TypeScript usage