Spawned Wallet-Connect Guide: Integrating User Authentication
This guide explains how to integrate wallet connection for your token's dApp built on Spawned. We cover the technical process, available libraries, and how the platform's 0.30% creator and holder fees interact with authenticated user sessions. Proper integration is required for tracking holder rewards.
Try It NowKey Benefits
The Problem
Traditional solutions are complex, time-consuming, and often require technical expertise.
The Solution
Spawned provides an AI-powered platform that makes building fast, simple, and accessible to everyone.
Verdict: Use Solana Wallet Adapter for Spawned dApps
The right connection method directly impacts your token's financial mechanics.
For any token dApp launched on Spawned, the @solana/wallet-adapter library is the recommended standard. It supports Phantom, Solflare, Backpack, and other major wallets out of the box. This integration is not optional—it's the mechanism that enables the platform's core benefits: tracking trades for the 0.30% creator fee, identifying holders for the 0.30% holder reward stream, and managing the post-graduation 1% fee structure. Skipping proper wallet auth means missing out on revenue and community incentives.
How Wallet Connection Powers Spawned's Model
Wallet connection is more than a login button. On Spawned, it's the data layer for the revenue model. When a user connects their wallet and makes a trade, the system attributes that volume to your token. This triggers the 0.30% fee that goes to you, the creator. Simultaneously, if that wallet holds your token, it becomes eligible for the ongoing 0.30% holder rewards distributed from transaction fees. Post-graduation, when your token moves to the 1% perpetual fee model via Token-2022, this authenticated session data ensures fees are correctly routed. A weak integration can lead to inaccurate tracking and lost income.
Integration Steps for Your dApp
A practical walkthrough for developers.
Follow these steps to add wallet connection to your Spawned token's website or application. If you used the Spawned AI website builder, a basic connection component may already be included.
Wallet Connection Method Comparison
Choosing the wrong method can complicate fee collection.
While @solana/wallet-adapter is the standard, other methods exist. Here’s how they compare for a Spawned project.
| Method | Pros for Spawned Tokens | Cons / Considerations |
|---|---|---|
| @solana/wallet-adapter | Official, widely supported. Automatically works with Spawned's fee tracking. | Requires React/JS framework. |
| Custom RPC Calls | Full control. | You must manually emit transaction events for Spawned's 0.30% fees to be calculated. High risk of error. |
| Third-Party Kits | Can be faster. | May not integrate cleanly with Spawned's backend for holder reward calculations. |
| Spawned AI Builder Component | Pre-built, no code. Included, saving $29-99/month on dev tools. | May need customization for advanced dApp features. |
The adapter method ensures compatibility and maximizes your revenue capture.
Troubleshooting Connection Problems
Quick fixes for the most frequent problems.
If users report connection issues, check these areas first. Problems here can block holder rewards.
- Wallet Not Appearing: Ensure the wallet (e.g., Phantom) is installed. The adapter only detects installed wallets.
- Wrong Network: Confirm the user's wallet is set to Solana Mainnet, not Devnet. Trades on Devnet don't generate the 0.30% fees.
- Transaction Not Signing: This can be an RPC issue. Switch your
ConnectionProviderendpoint. A failed trade means no creator fee. - Holder Rewards Not Showing: Verify the connected wallet address holds your token. Rewards are distributed periodically, not instantly.
- Post-Graduation Confusion: After moving to Token-2022, the 1% fee is automatic, but users must still connect to interact with your dApp. For persistent issues, review the Solana documentation or Spawned's developer resources.
Next Steps After Successful Integration
Connection is the starting line, not the finish.
Once wallet connection is live, focus on these actions to grow your token.
- Promote Holder Benefits: Clearly communicate the 0.30% ongoing reward to attract long-term holders.
- Analyze Dashboard: Use your Spawned creator dashboard to track fee income from connected user activity.
- Plan for Graduation: Understand the path to Token-2022 and the 1% perpetual fee model for sustained revenue.
- Explore Other Guides: Like how to launch a gaming token on Solana for niche strategies.
- Engage Your Community: Use the dApp interaction data from connected wallets to inform community decisions.
Ready to Connect Your Community?
Integrating wallet connection is a critical technical step that activates the financial model of your Spawned token. The 0.30% creator fee, 0.30% holder rewards, and future 1% fees all depend on this foundation.
If you haven't launched your token yet, start with a 0.1 SOL launch on Spawned and use the included AI website builder to get a connected dApp running faster. If you're an existing creator, audit your current integration against this guide to ensure you're capturing all eligible revenue.
Launch or audit your integration today to build a token that rewards both you and your holders.
Related Topics
Frequently Asked Questions
Yes, for any interactive dApp or website. While your token exists on-chain without it, the Spawned model's benefits require user interaction. The 0.30% creator fee is taken from trades, which your dApp facilitates. The 0.30% holder rewards are distributed to addresses that interact via your frontend. No connection means you cannot reliably offer these features or collect fees efficiently.
Yes. One of the advantages of using Spawned's AI builder is that it generates a website with a pre-configured wallet connection component. This saves you the development time and potential cost ($29-99/month for similar builder tools) of implementing it from scratch. You may still need to customize it for advanced functionality.
Rewards are distributed automatically by the Spawned platform's smart contracts. When a wallet holding your token is connected and a trade occurs (generating the 0.30% creator fee), a portion of that fee is allocated to the reward pool. Periodically, rewards are distributed to all eligible holder addresses that have been active. The connection is how the system identifies 'active' holders of your specific token.
The connection remains essential. Post-graduation, your token operates with a 1% perpetual fee on transactions. Your dApp, with its wallet connection, is the primary interface for users. The fee mechanism is handled at the program level (Token-2022), but user authentication via wallet connection is still required for them to use your dApp's features, trade, and contribute to the fee volume.
While the generic term 'wallet connect' is used, on Solana, the @solana/wallet-adapter is the standard. The WalletConnect protocol is more common in the Ethereum ecosystem. For a Solana-based Spawned token, focus on the Solana wallet adapter. It supports all major Solana wallets natively and is built for the Solana transaction flow, which is necessary for the platform's fee mechanics.
The direct cost is development time. The libraries are free and open-source. If you build your site manually, you bear the time cost. Using the Spawned AI website builder includes this component at no extra charge, which can represent a saving compared to other website builders that charge a monthly fee. The 0.1 SOL launch fee on Spawned is unrelated to the connection integration.
Yes. Wallets like Phantom and Solflare have mobile apps that support in-app browser connections. The @solana/wallet-adapter detects these mobile wallets when users visit your dApp from their phone's browser. Ensure your dApp's UI is responsive. A smooth mobile connection experience is vital for capturing the 0.30% fees from a broader audience.
Deploy your dApp to a test URL. Connect using a wallet on Solana Devnet with test tokens. Simulate a 'trade' (a transfer) and check your Spawned test dashboard to see if the activity is logged. While the 0.30% fees aren't charged on Devnet, the tracking should appear. Also, test disconnection and reconnection flows. A full guide on pre-launch testing is recommended.
Ready to get started?
Join thousands of users who are already building with Spawned. Start your project today - no credit card required.