0.1.6 • Published 3 years ago

@mc3-aether/upi-connect v0.1.6

Weekly downloads
-
License
(Apache-2.0 OR MI...
Repository
gitlab
Last release
3 years ago

UPI-Connect

UPI Connect Image

UPI-Connect is a UPI account management service run in an iframe. It allows you to authenicate, manage, and permission UPI keys to applications. Used by default in aether-js. identity-wallet-js handles most operations and the parent window (application) communicates with iframe service over RPC layer as defined by 3ID JSON-RPC

Right now you authenticate and link ethereum accounts to mange UPIs, in the future other keypairs, blockchain accounts, and authentication methods can be added.

UPI-Connect Ceramic

The next verion of UPI-Connect is being developed on Ceramic and identity-wallet-js V2. It is being developed in parallel with the current version.

Structure

  • /src - Core logic and consumable interfaces for clients and iframe
    • /upiConnect.js - Application interface (RPC client) to load iframe and return UPI provider.
    • /upiConnectService.js - Identity wallet instance and RPC 'server' to handle requests
    • /upiProviderProxy.js - UPI provider interface that relays request through RPC layer
  • /iframe - all html, css, js, design assets for iframe and flow
  • /public - build assets deployed for iframe

Development

Clone and install dependencies

Run Locally

Will serve iframe locally on port 30001

$ npm run start

Build

$ npm run build

Deploy

Will deploy app (currently Netlify)

$ npm run deploy
0.1.6

3 years ago

0.1.4

3 years ago

0.1.5

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

1.0.0-alpha.5

3 years ago