5afe / contract-proxy-kit

Enable batched transactions and contract account interactions using a unique deterministic Gnosis Safe.
103 stars 38 forks source link

Enable usage of the package on CLI node applications #139

Closed eboadom closed 3 years ago

eboadom commented 3 years ago

Currently, when trying to instantiate the CPK class via for example

const cpk = await CPK.create({ ethLibAdapter });

it instantiates here a non-optional SafeAppsSdkConnector which depends on having access to the window object . It could be cool being able to have this as optional, in order to use the package in non-browser environments, like on CLI Node applications