Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 1.07 KB

README.md

File metadata and controls

14 lines (8 loc) · 1.07 KB

Purescript interface to Cardano Wallets over CIP-30

Implements PureScript FFI wrappers to the CIP-30 wallet interface.

CIP-30 defines an interface for the cardano object that is injected into the browser window.

Note that it takes some time for wallet extensions to inject the object so it might be beneficial to add a small delay before your first function invocation to interact with the wallet.

There is a more involved PureScript wrapper available, that forces the developer to handle known CIP-30 errors as well: purescript-cip30-typesafe.

Use this library in pair with cardano-serialisation-lib (use to_hex/from_hex methods). PureScript wrapper is also available here.

This repo is a fork of the library originally written by Anton Kholomiov.