celo-org / developer-tooling

🛠️ SDKs and CLI for interacting with Celo
Apache License 2.0
10 stars 6 forks source link

replace web3v1 with modern equivalent in ck / cli / etc #312

Open aaronmgdr opened 1 month ago

aaronmgdr commented 1 month ago

actual work for #64

At the end of this the developer tooling repo will have zero uses of web3@1.x

The after #303 we will have a better understanding of exactly what will be done. at that point we will create other tasks

aaronmgdr commented 1 month ago

the estimate went down because #318 now accounts for a portion of the work

aaronmgdr commented 1 month ago

for wrappers here are 2 options

  1. go for near 1 to 1 interface / capability with current Wrappers. use getContract from viem to get base class and add on from there

  2. only provide functions when there was a lot of complexity going on behind the function call before. for calls where we just forwarded to contract it is easy for people to do this themselves. provided they have the ABI and the contractAddress.