onflow/fcl-dev-wallet

Add FCLCrypto contract on init

Opened this issue · 0 comments

Deploy FCLCrypto contract when dev-wallet is run

Dev wallet currently deploys FCL contract to deal with accounts on init.
It also relies on FCLCrypto contract for account-proof service and user-signing but currently this needs to be deployed manually.
If it not deployed FCL will error when attempting to verify generated account-proof or user-signature.

We should deploy this contract on startup as well, removing the need for manually adding the contract or adding as core contract in emulator.