A revolutionary mobile gaming marketplace built on the Stellar blockchain, featuring Passkey authentication, play-to-earn mechanics, and decentralized gaming experiences.
- Passkey Support: Secure biometric authentication using WebAuthn
- Stellar Wallet Integration: Built-in cryptocurrency wallet for each user
- Decentralized Identity: Self-sovereign identity management
- TikTok-style Interface: Swipe through games with smooth animations
- Play-to-Earn: Earn XLM and GAME tokens while playing
- Smart Contract Integration: Automated rewards and payments via Soroban
- NFT Support: Collect and trade in-game NFTs
- Stellar Network: Fast, low-cost transactions
- Launchtube Integration: Fee sponsorship for seamless UX
- Soroban Smart Contracts: Automated game logic and rewards
- Multi-token Support: XLM, GAME tokens, and custom game tokens
- Revenue Sharing: Transparent and instant payments
- Analytics Dashboard: Real-time game performance metrics
- Staking Pools: Earn passive income from game performance
- Flutter SDK 3.7.2 or higher
- Dart SDK 2.14.0 or higher
- Android Studio / Xcode for mobile development
- Stellar Testnet account for development
-
Clone the repository
git clone https://github.com/your-username/gamestagram-web3.git cd gamestagram-web3
-
Install dependencies
flutter pub get
-
Generate model files
flutter packages pub run build_runner build
-
Configure Web3 services
- Update Stellar network configuration in
lib/services/stellar_service.dart
- Configure Soroban smart contract addresses
- Set up Launchtube integration
- Update Stellar network configuration in
-
Run the application
flutter run
lib/
โโโ application/
โ โโโ view_models/
โ โโโ web3_auth_view_model.dart # Web3 authentication state
โ โโโ web3_game_view_model.dart # Game interactions state
โโโ data/
โ โโโ models/
โ โโโ user_model.dart # User with Web3 features
โ โโโ game_model.dart # Game with blockchain metadata
โโโ services/
โ โโโ stellar_service.dart # Stellar blockchain operations
โ โโโ soroban_service.dart # Smart contract interactions
โ โโโ passkey_service.dart # WebAuthn authentication
โ โโโ launchtube_service.dart # Fee sponsorship
โ โโโ web3_auth_service.dart # Combined Web3 auth
โ โโโ web3_game_service.dart # Web3 game operations
โโโ presentation/
โโโ screens/
โโโ web3_welcome_screen.dart # Web3 onboarding
โโโ web3_login_screen.dart # Passkey login
โโโ web3_registration_screen.dart # Web3 account creation
- Frontend: Flutter 3.7.2
- Blockchain: Stellar Network
- Smart Contracts: Soroban (Rust)
- Authentication: WebAuthn / Passkeys
- Fee Sponsorship: Launchtube
- State Management: Provider + ChangeNotifier
- Dependency Injection: GetIt
-
Testnet Configuration (Default)
static const String _networkUrl = 'https://horizon-testnet.stellar.org'; static const String _networkPassphrase = 'Test SDF Network ; September 2015';
-
Mainnet Configuration (Production)
static const String _networkUrl = 'https://horizon.stellar.org'; static const String _networkPassphrase = 'Public Global Stellar Network ; September 2015';
-
Deploy Game Rewards Contract
# Compile Soroban contract soroban contract build # Deploy to testnet soroban contract deploy --network testnet --source admin target/wasm32-unknown-unknown/release/game_rewards.wasm
-
Deploy Developer Payments Contract
soroban contract deploy --network testnet --source admin target/wasm32-unknown-unknown/release/developer_payments.wasm
Configure fee sponsorship in lib/services/launchtube_service.dart
:
static const String _launchtubeUrl = 'https://launchtube.stellar.org';
static const String _testnetUrl = 'https://launchtube-testnet.stellar.org';
-
Create Web3 Account
- Download the app
- Register with username and email
- Complete Passkey setup
- Receive Stellar wallet and recovery phrase
-
Start Gaming
- Swipe through available games
- Play games to earn XLM and GAME tokens
- Complete achievements for bonus rewards
- Trade NFTs in the marketplace
-
Manage Wallet
- View balances and transaction history
- Stake tokens in developer pools
- Withdraw earnings to external wallets
-
Publish Games
- Upload HTML5 games
- Configure smart contract parameters
- Set pricing and reward structures
-
Monitor Performance
- Track player engagement metrics
- View revenue analytics
- Manage staking pools
-
Earn Revenue
- Receive instant payments via smart contracts
- Earn from staking pools
- Collect platform fees
- Passkey Authentication: Biometric security with WebAuthn
- Secure Key Storage: Encrypted storage using Flutter Secure Storage
- Smart Contract Audits: All contracts audited for security
- Transaction Signing: Secure transaction signing with hardware wallets
- Fee Sponsorship: Launchtube integration prevents fee-related attacks
- Network URL: https://horizon-testnet.stellar.org
- Network Passphrase: Test SDF Network ; September 2015
- Faucet: https://laboratory.stellar.org/#account-creator
- RPC URL: https://soroban-testnet.stellar.org
- Network Passphrase: Test SDF Network ; September 2015
- iOS: 12.0+
- Android: API Level 21+
- Web: Chrome 67+, Firefox 60+, Safari 13+
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
- Follow Flutter best practices
- Write comprehensive tests
- Update documentation for new features
- Ensure Web3 security best practices
- Test on both testnet and mainnet
This project is licensed under the MIT License - see the LICENSE file for details.
- Stellar Development Foundation for the blockchain infrastructure
- Soroban Team for smart contract platform
- Launchtube for fee sponsorship service
- WebAuthn Community for authentication standards
- Documentation: Wiki
- Issues: GitHub Issues
- Discord: Community Server
- Email: support@gamestagram-web3.com
- โ Web3 authentication with Passkeys
- โ Stellar wallet integration
- โ Basic game marketplace
- โ Play-to-earn mechanics
- ๐ Advanced smart contracts
- ๐ NFT marketplace
- ๐ Developer analytics dashboard
- ๐ Cross-chain integration
- ๐ Multi-chain support
- ๐ Advanced staking mechanisms
- ๐ DAO governance
- ๐ Mobile SDK for developers
Built with โค๏ธ on the Stellar Network