dApp Connector#
The Yoroi's dapp connector example code is the best staring point for now, Nautilus and SAFEW implements the same API as Yoroi (EIP-12)
Specifically with Nautilus, to avoid conflicts, you can call ergoConnector.nautilus.connect()
in place of window.ergo_request_read_access()
and ergoConnector.nautilus.isConnected()
in place of window.ergo_check_read_access()