Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor dApp <> Wallet bridge #134

Merged
merged 21 commits into from
Jun 1, 2024
Merged

Refactor dApp <> Wallet bridge #134

merged 21 commits into from
Jun 1, 2024

Conversation

arobsn
Copy link
Member

@arobsn arobsn commented May 28, 2024

Refactor extension bridge

Protocol

  • Add and configure webext-bridge package
  • Convert injector.js and injected.js to TypeScript and pass through bundler
  • Add async messaging protocol

ergoConnector - Auth API

  • connect
  • isConnected
  • disconnect
  • getContext

ergo - Context API

  • get_utxos
  • get_balance
  • get_used_addresses
  • get_unused_addresses
  • get_change_address
  • sign_tx
  • sign_tx_inputs
  • sign_data
  • auth
  • get_current_height
  • submit_tx

Events

  • ergo_wallet_disconnected

Legacy Auth functions

  • ergo_request_read_access
  • ergo_check_read_access

Other

  • Fix GraphQL host updating

@arobsn arobsn marked this pull request as ready for review May 31, 2024 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant