Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dhealthdapps/bridge

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dhealthdapps/bridge

Unidirectional Bridge for ERC20-DHP (Ethereum) to native DHP (dHealth)

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

dHealth Wallet Plugin: Bridge UI

npm-badge dl-badge License

Bridge is a distributed bridge for ERC20 Tokens with dHealth Network Mosaics. This software defines a Unidirectional Bridge for ERC20-DHP (Ethereum) to native DHP (dHealth).

Sequence diagram

            CUSTOMER                      BRIDGE                  CUSTOMER                  BRIDGE 
    |-----------------------|         |-------------|    |------------------------|    |-------------|
 ---| dHealth Wallet (nDHP) |         | Bridge eDHP |    | Ethereum Wallet (eDHP) |    | Bridge nDHP |
 |  |-----------------------|         |-------------|    |------------------------|    |-------------|
 |                                           |                       |                        |
 |                                           |                       |                        |
 |  (1)   |----------------------|    |--------------|               |                        |
 |------->|   Configure Swap     |----| eDHP Account |---------------|                        |
 |        |----------------------|    |--------------|               |                        |
 |                                                                   |                        |
 |        |--------------------|                                     |                        |
 |  (2)   | TRANSFER to BRIDGE |                                     |                        |
 |------->| Amount: 0 < x eDHP |--------------->---------------------|                        |
 |        | Signer: Customer   |                                                              |
 |        |--------------------|                                                              |
 |                                                                                            |
 |                                                  |----------------------|                  |
 |  (3)                                             | TRANSFER to CUSTOMER |                  |
 |<------------------------<------------------------| Amount: 0 < x nDHP   |--------<---------|
                                                    | Signer: Bridge 2of3  |
                                                    |----------------------|

Components found here

Following components are defined and exported with this library:

ClassDescription
BridgeHomeMixin that displays a dashboard for the bridge.

License

Copyright 2021-present Using Blockchain Ltd, All rights reserved.

Licensed under the LGPL v3.0

FAQs

Package last updated on 26 Mar 2022

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