We want to create a new package offering an opinionated formula and a user-friendly experience for developers. We would like to offer an experience where we implement a top-level function createSafeClient(options) to interact with Safe. This new package will use the other kits internally, and it should be the primary package that most developers should use, leaving the other kits for more advanced implementations or core features.
Using the package should be similar to this code snippet:
The send() method will wrap the typical operations for creatingTransaction, signTransaction and executeTransaction making the developer experience better. The transaction signing would take place based on the provided signer
Context / issue
We want to create a new package offering an opinionated formula and a user-friendly experience for developers. We would like to offer an experience where we implement a top-level function
createSafeClient(options)
to interact with Safe. This new package will use the other kits internally, and it should be the primary package that most developers should use, leaving the other kits for more advanced implementations or core features.Using the package should be similar to this code snippet:
The
send()
method will wrap the typical operations forcreatingTransaction
,signTransaction
andexecuteTransaction
making the developer experience better. The transaction signing would take place based on the providedsigner
Proposed solution
We should create tests for this new package
Additional context
Research document
Related tickets
Create Package Implement createSafeClient and send Add Multisig Add testing