SharePacks is a modern, interactive virtual vending machine platform for purchasing and collecting digital card shares. Built with React, TypeScript, and cutting-edge web technologies, it offers an immersive and engaging experience for collectors.
- Realistic mechanical arm simulation with physics-based movements
- Dynamic lighting system with ambient and spotlight effects
- Glass morphism design elements with realistic reflections
- Responsive animations and state transitions
- Real-time sound effects and haptic feedback
- Credit/Debit card payments via Stripe
- BSV cryptocurrency integration
- Real-time balance tracking
- Secure transaction processing
- Automatic payment verification
- Cinematic reveal animations
- Particle effects and dynamic lighting
- Custom sound effects
- Social sharing integration
- Achievement system
- Mobile-first approach
- Adaptive layouts
- Touch-friendly controls
- Cross-browser compatibility
- Performance optimized
- Node.js 18+
- npm or yarn
- Stripe account (for payments)
- BSV wallet (for crypto payments)
- Clone the repository:
git clone https://github.com/yourusername/sharepacks.git
cd sharepacks- Install dependencies:
npm install- Configure environment variables:
VITE_STRIPE_PUBLIC_KEY=your_stripe_public_key
VITE_BSV_ADDRESS=your_bsv_address
MONGODB_URI=your_mongodb_uri- Start the development server:
npm run dev-
Select a Pack
- Browse available pack options
- View pack details and pricing
- Select your desired pack
-
Add Funds
- Click "Add Funds" button
- Choose payment method (Card/BSV)
- Complete payment process
-
Purchase Process
- Click "Purchase" on selected pack
- Watch vending animation sequence
- Receive your SharePack
-
Card Reveal
- Experience cinematic reveal animation
- View your new cards
- Share on social media
- Track your collection
-
Accessing Admin
- Click admin icon
- Enter admin credentials
- Access management features
-
Managing Cards
- Upload card images
- Set card properties
- Manage inventory
- Track transactions
-
Pack Configuration
- Create new pack types
- Set pack contents
- Configure pricing
- Adjust drop rates
src/
โโโ components/ # React components
โโโ services/ # API and service layers
โโโ store/ # State management
โโโ hooks/ # Custom React hooks
โโโ effects/ # Animation effects
โโโ utils/ # Utility functions
โโโ types/ # TypeScript definitions
-
Frontend
- React 18
- TypeScript
- Framer Motion
- Tailwind CSS
- Stripe Elements
-
State Management
- Zustand
- React Query
-
Animations
- Framer Motion
- React Spring
- Three.js
-
Payments
- Stripe API
- BSV Integration
- Code splitting
- Lazy loading
- Asset optimization
- Caching strategies
- Preload animations
- Debounced actions
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
- Follow TypeScript best practices
- Maintain consistent code style
- Write unit tests
- Document new features
- Optimize for performance
This project is licensed under the MIT License - see the LICENSE file for details.
- Documentation: docs.mycardshares.com
- Discord: discord.gg/mycardshares
- Email: [email protected]
Built with โค๏ธ by MyCardShares Team