Skip to content

Tutorial: DApp Connector API — Connecting a Browser dApp to Midnight (Bounty #309)#526

Open
a918124259a wants to merge 1 commit into
midnightntwrk:mainfrom
a918124259a:tutorial/dapp-connector-api
Open

Tutorial: DApp Connector API — Connecting a Browser dApp to Midnight (Bounty #309)#526
a918124259a wants to merge 1 commit into
midnightntwrk:mainfrom
a918124259a:tutorial/dapp-connector-api

Conversation

@a918124259a
Copy link
Copy Markdown

Summary

This tutorial demonstrates connecting a browser-based React dApp to Midnight using the DApp Connector API. Includes:

  • Full React + TypeScript setup with wallet integration
  • Wallet connect/disconnect with Midnight Context provider
  • Real-time balance display with 30s polling
  • Token transfer form with transaction status tracking
  • Transaction history from contract events
  • Error handling for all common scenarios
  • Best practices for production dApps

Closes #309

@a918124259a a918124259a requested a review from a team as a code owner May 22, 2026 14:32
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

[Tutorial] DApp Connector API: Connecting a Browser dApp to Midnight Wallets

2 participants