Socket
Socket
Sign inDemoInstall

3id-connect

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

3id-connect

Account management for 3Box


Version published
Weekly downloads
135
increased by10.66%
Maintainers
1
Weekly downloads
 
Created
Source

Discord Twitter Follow

3ID-Connect

3ID Connect Image

3ID-Connect is a 3ID account management service run in an iframe. It allows you to authenicate, manage, and permission your 3ID keys to applications. Used by default in 3box-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 your 3ID, in the future other keypairs, blockchain accounts, and authentication methods can be added.

Structure

  • /src - Core logic and consumable interfaces for clients and iframe
    • /threeIdConnect.js - Application interface (RPC client) to load iframe and return 3ID provider.
    • /threeIdConnectService.js - Identity wallet instance and RPC 'server' to handle requests
    • /threeIdProviderProxy.js - 3ID 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

FAQs

Package last updated on 30 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc