Obsidion Bridge
Obsidion Bridge serves as the secure communication layer between decentralized applications (dApps) and Obsidion Wallet. It enables end-to-end encrypted communication for transaction signing, account connection and other wallet operations.
Communication Flow
The dapp initiates the connection using. "sdk.connect("obsidion"). The bridge creates a connection string contrainsing an ECDH (Elliptic Curve Diffie Helman) public key.
the wallet extracts the public key from the connection string. Computes the shared secret using ECDH and establishes a secure channel with the dapp that is end-to-end encrypted.
Transaction Signing Flow
- Transaction Request
- The dapp sends transaction data via Obsidion Bridge, the request is queued in the ObsidionRPCService.
- User Approval
- In the pop-up modal in the dapp. The wallet displays the transaction details for the user to approve or reject.
- Signing and Submission
- After approval, the transaction is signed and submitted to the network.
- The result is sent back to the dApp via the bridge.