You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Lucid is not capable to init without passing a provider, this is problematic when you just want to select a wallet and signing a transaction from an api.
At the same time the side effects from having an undefined expression is problematic as well, therefore Lucid must be converted to Effect type so we can have a better error control
Somewhat related, I created a selectWallet.fromRandom method that creates a random wallet so I get the provider functions and all the other functions don't fail when I don't need address and UTXOs. It's quite simple in that it generates a random seed phrase, derives the address, then passes in the address and empty UTXO array into selectWallet.fromAddress
Currently Lucid is not capable to init without passing a provider, this is problematic when you just want to select a wallet and signing a transaction from an api.
The ideal workflow should be as follows.
At the same time the side effects from having an undefined expression is problematic as well, therefore Lucid must be converted to Effect type so we can have a better error control
lucid-evolution/packages/lucid/src/lucid-evolution/LucidEvolution.ts
Lines 71 to 74 in 85bfd54
The text was updated successfully, but these errors were encountered: