🎉 The Polkadot Builder Party hackathon is now open for project submissions!
For developers participating in the hackathon, if you want to build Dapps on Polkadot, you can try using the Luno wallet tool, which has reportedly received funding from the Web3 Foundation👀
It can help you manage all wallet connections, account management, network synchronization,
and even provide you with a plug-and-play front-end UI.
Basically, one tool to manage all @Polkadot wallets.
Then you can complete the integration in about 10 minutes. Assuming you want to create a @Polkadot Network decentralized voting dApp for this hackathon, the front end will need users to connect their wallets, read account addresses, send transactions, etc. The process using LunoKit might be:
1. Install the package: npm i @luno-kit/react @luno-kit/ui @tanstack/react-query
2. Set up the configuration: specify the chains to support (like polkadot, kusama), specify the wallet connectors to support (like polkadotjsConnector(), subwalletConnector())
3. Wrap your application: wrap the root component with <LunoKitProvider config={...}>
4. Use components like <ConnectButton /> directly in the interface to let users connect their wallets
5. In your business logic, use the hooks/API provided by LunoKit to get the current account, signer, and perform on-chain operations
6. Utilize LunoKit's state management, caching mechanism, and subscription system to synchronize account changes, network changes, wallet disconnections, and reconnections
This way, you won't have to develop and maintain a lot of underlying code for these basic capabilities, allowing you to validate, iterate, and launch products more quickly.
Try it here: lunolab.xyz