Open source libraries

Most of the code has been released as open source. Since there are several implementations, a quick overview of the architecture is helpful. See the presentation below, and then each module.

To implement an oAuth2 authentication from your backend app into SIWW, you can make use of the relevant passport strategy.

passport-wallet: a simple passport extension to deal with authenticating a user based on information retrieved from a wallet

A full NodeJS sample implementation, making use of the above passport-wallet strategy, is provided as an example.

NodeJS sample app: a complete sample app to demo the connection to SIWW and the complete implementation of an oAuth2 authentication.

A wallet connect library has been provided too. It has a generic implementation, and a specific extension for managing Cardano-based wallet plugins. This library could later evolve to support other wallets on other blockchains.

SIWW wallet connect library: this wallet connection JS library comes with a generic implementation, and a first specific extension to support Cardano wallet browser plugins.

The full wallet connection and authentication/authorization UI/UX is open-sourced too. It is developed as a React App, which is making use of the SIWW wallet connect client library, and is integrating into the SIWW backend.

Authentication React App: connects with the SIWW backend to provide the full oAuth2 authentication.

Last updated